[redland-dev] Re: Rasqal segfault

Danny Ayers danny.ayers at gmail.com
Thu Jun 9 21:26:47 BST 2005


This (as suggested on the site ;-) appears to have done the trick,
on Redland itself:

make clean
rm -f config.cache

then reconfiguring etc.
I hit the exact same problem on both my local and remote servers (deb
unstable), but that's not such a surprise, they're set up nearly
identically...

ORDER BY! Fun time!

Cheers,
Danny.

On 6/9/05, Danny Ayers <danny.ayers at gmail.com> wrote:
> I spoke too soon - I had applied the last patch.
> 
> I'd got Redland (R&R internal) plus bindings latest versions, so did
> make uninstall on those before configure, make, make install latest
> Raptor, Rasqal, Redland, bindings. I don't /think/ the version wires
> have got crossed.
> 
> Here's what I got:
> 
> #1  0x40523463 in rasqal_new_triples_match (query=0x8240248,
> user_data=0x823a178,
>     m=0x8201f80, t=0x8201f80) at rasqal_engine.c:463
> #2  0x4052399a in rasqal_graph_pattern_get_next_match
> (query=0x8240248, gp=0x823a1e8)
>     at rasqal_engine.c:666
> #3  0x40523d2d in rasqal_engine_do_step (query=0x8240248,
> outergp=0x81e99b8, gp=0x823a1e8)
>     at rasqal_engine.c:943
> #4  0x4052410d in rasqal_engine_get_next_result (query=0x8240248) at
> rasqal_engine.c:1209
> #5  0x405209d8 in rasqal_query_results_next (query_results=0x8240248)
> at rasqal_query.c:1451
> #6  0x405203cf in rasqal_query_execute (query=0x8240248) at rasqal_query.c:1200
> #7  0x40298944 in librdf_query_rasqal_execute (query=0x823b5a0, model=0x822d560)
>     at rdf_query_rasqal.c:537
> #8  0x4029699b in librdf_query_execute (query=0x823b5a0,
> model=0x822d560) at rdf_query.c:430
> #9  0x40266a7d in _wrap_librdf_query_execute (self=0x0, args=0x408e760c)
>     at Redland_wrap.c:5759
> #10 0x080fde6a in PyCFunction_Call ()
> 
> 
> import RDF
> from store import Store
> 
> m = Store().get_model("sparqlsphere")
> 
> for i in m.find_statements(RDF.Statement(None, None, RDF.Node("Asemantics"))):
>    print i
> 
> print "Find statements done."
> 
> query_string="""PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> 
> 
> PREFIX rss: <http://purl.org/rss/1.0/>
> 
> 
> SELECT ?title, ?content  WHERE
> 
> { ?item rdf:type rss:item .
>   ?item rss:title ?title .
>  }
> """
> 
> query = RDF.Query(query_string, None,"sparql", None)
> print query.execute(m)
> 
> print "SPARQL query done."
> 
> 
> --
> 
> http://dannyayers.com
> 


-- 

http://dannyayers.com


More information about the redland-dev mailing list