[redland-dev] Redland 1.0.1 Segfault

Danny Ayers danny.ayers at gmail.com
Tue May 31 08:17:43 BST 2005


I've been getting segfaults too on queries (through Python), but I
suspected the problem was in my install (I'm still learning the Linux
system). They were happening with the code from cvs from a couple of
weeks ago, but yesterday I stripped all that out and installed the new
Redland+Bindings releases.

I don't have any repeatable examples (I'll try the source below in a
minute) or traces yet,  I'm running the queries through mod_python -
all I can see right now is one line in Apache's error log.

Cheers,
Danny.

On 5/31/05, Christopher Schmidt <crschmidt at crschmidt.net> wrote:
> List -
> 
> I just compiled the new Redland (1.0.1) and Redland Bindings (1.0.1.1).
> I attempted to run julie on this new setup, and ran into a Segfault on
> a query:
> 
> #1  0x40649473 in librdf_free_stream (stream=0x82295f8) at rdf_stream.c:123
> #2  0x4064d178 in rasqal_redland_finish_triples_match (rtm=0x0,
>     user_data=0x8229518) at rdf_query_rasqal.c:424
> #3  0x4066e2a6 in rasqal_free_triples_match (rtm=0x82165a0)
>     at rasqal_engine.c:465
> 
> Another example script:
> 
> import wrapper as w
> m = w.get_model()
> import RDF
> for i in m.find_statements(RDF.Statement(None, None, RDF.Node("crschmidt"))):
>     print i
> 
> crashes with a simpler backtrace:
> #0  0x00000000 in ?? ()
> #1  0x40599473 in librdf_free_stream (stream=0x81e4a80) at
> rdf_stream.c:123
> #2  0x405728ea in _wrap_librdf_free_stream (self=0x0, args=0x0)
>     at Redland_wrap.c:6733
> 
> I checked the lines, and they all seem to match up to the new code.
> Additionally, errors like these are confirmed by kasei on his machine.
> I'm not sure exactly what the problem is here: I'm running against
> Rasqal 0.9.9 and Raptor 1.4.6. Any pointers to things I may be messing
> up would be helpful.
> 
> --
> Christopher Schmidt
> 
> 
> BodyID:447917027.2.n.logpart (stored separately)
> 
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.gnomehack.com/mailman/listinfo/redland-dev
> 
> 
> 


-- 

http://dannyayers.com


More information about the redland-dev mailing list