[redland-dev] Redland MySQL double free()

Christopher Schmidt crschmidt at crschmidt.net
Sun Dec 19 13:32:53 PST 2004


On Sun, Dec 19, 2004 at 09:12:39PM +0000, Dave Beckett wrote:

> Please try this with the latest redland 0.9.19 released 2004-11-01
> which includes rasqal 0.9.4, not 0.9.2 that you are using here.

New backtrace, with 0.9.19, 0.9.4:

#0  0x401c6271 in kill () from /lib/libc.so.6
#1  0x40129131 in pthread_kill () from /lib/libpthread.so.0
#2  0x401294ab in raise () from /lib/libpthread.so.0
#3  0x401c6004 in raise () from /lib/libc.so.6
#4  0x401c74cd in abort () from /lib/libc.so.6
#5  0x40201d50 in mallopt () from /lib/libc.so.6
#6  0x402009c9 in mallopt () from /lib/libc.so.6
#7  0x401ff6bf in free () from /lib/libc.so.6
#8  0x406db1d2 in my_no_flags_free () from /usr/lib/libmysqlclient.so.12
#9  0x406d55aa in mysql_free_result () from 
/usr/lib/libmysqlclient.so.12
#10 0x4035a3bb in 
librdf_storage_mysql_find_statements_in_context_finished (
    context=0x80b8058) at rdf_storage_mysql.c:1741
#11 0x4034f518 in librdf_free_stream (stream=0x80b8440) at 
rdf_stream.c:123
#12 0x403528db in rasqal_redland_finish_triples_match (rtm=0x0, 
    user_data=0x80b7e30) at rdf_query_rasqal.c:407
#13 0x4082a2e6 in rasqal_free_triples_match (rtm=0x80b7ab8)
    at rasqal_engine.c:460
#14 0x4082a735 in rasqal_engine_get_next_result (query=0x80b4938)
    at rasqal_engine.c:639
#15 0x408296a8 in rasqal_query_results_next (query_results=0x4012eff4)
    at rasqal_query.c:819
#16 0x408292a6 in rasqal_query_execute (query=0x80b4938) at 
rasqal_query.c:680
#17 0x40352b2f in librdf_query_rasqal_execute (query=0x80b0ab8, 
model=0x0)
    at rdf_query_rasqal.c:525
#18 0x403517f8 in librdf_query_execute (query=0x80b0ab8, model=0x0)
    at rdf_query.c:425
#19 0x40027401 in _wrap_librdf_query_execute (self=0x0, args=0x0)
    at Redland_wrap.c:2718

New error message is slightly different:

*** glibc detected *** double free or corruption (!prev): 0x080b7f58 ***


-- 
Christopher Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20041219/c4448044/attachment.pgp


More information about the redland-dev mailing list