[redland-dev] [Raptor RDF Syntax Library 0000433]: Backtrace "double free or corruption (out)" while parsing huge TriG file

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Mar 15 11:48:16 CET 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=433 
====================================================================== 
Reported By:                micmos
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   433
Category:                   utilities
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2011-03-15 10:48
Last Modified:              2011-03-15 10:48
====================================================================== 
Summary:                    Backtrace "double free or corruption (out)" while
parsing huge TriG file
Description: 
Parsing a trig file of 1.2GB size with Rapper produces backtrace and failure.

Steps to Reproduce: 
rapper -i trig -c  part-m-00049
rapper: Parsing URI file:///data1/tmp/part-m-00049 with parser trig
*** glibc detected *** rapper: double free or corruption (out):
0x0000000000b326f0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ad6)[0x7f698762aad6]
/lib/libc.so.6(cfree+0x6c)[0x7f698762f84c]
/usr/local/lib/libraptor2.so.0(raptor_free_stringbuffer+0x29)[0x7f6987938809]
/usr/local/lib/libraptor2.so.0(turtle_lexer_lex+0x4aa)[0x7f698794556a]
/usr/local/lib/libraptor2.so.0(turtle_parser_parse+0x584)[0x7f69879471b4]
/usr/local/lib/libraptor2.so.0(+0x2df3e)[0x7f6987947f3e]
/usr/local/lib/libraptor2.so.0(raptor_parser_parse_file_stream+0xbd)[0x7f698792e37d]
/usr/local/lib/libraptor2.so.0(raptor_parser_parse_file+0xb3)[0x7f698792e453]
rapper[0x402b75]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f69875d7c4d]
rapper[0x401ef9]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:01 24674                             
/usr/local/bin/rapper
00605000-00606000 rw-p 00005000 08:01 24674                             
/usr/local/bin/rapper
00b18000-00b93000 rw-p 00000000 00:00 0                                  [heap]
7f68b8000000-7f68b8021000 rw-p 00000000 00:00 0 
7f68b8021000-7f68bc000000 ---p 00000000 00:00 0 
7f68bec96000-7f690903c000 rw-p 00000000 00:00 0 
7f690903c000-7f69533e2000 rw-p 00000000 00:00 0 
7f6984225000-7f698423b000 r-xp 00000000 08:01 285                       
/lib/libgcc_s.so.1
7f698423b000-7f698443a000 ---p 00016000 08:01 285                       
/lib/libgcc_s.so.1
7f698443a000-7f698443b000 rw-p 00015000 08:01 285                       
/lib/libgcc_s.so.1
7f698443b000-7f698443e000 r-xp 00000000 08:01 13245                     
/usr/lib/libgpg-error.so.0.4.0
7f698443e000-7f698463d000 ---p 00003000 08:01 13245                     
/usr/lib/libgpg-error.so.0.4.0
7f698463d000-7f698463e000 rw-p 00002000 08:01 13245                     
/usr/lib/libgpg-error.so.0.4.0
7f698463e000-7f698464e000 r-xp 00000000 08:01 8271                      
/usr/lib/libtasn1.so.3.1.9
7f698464e000-7f698484d000 ---p 00010000 08:01 8271                      
/usr/lib/libtasn1.so.3.1.9
7f698484d000-7f698484e000 rw-p 0000f000 08:01 8271                      
/usr/lib/libtasn1.so.3.1.9
7f698484e000-7f6984850000 r-xp 00000000 08:01 13379                     
/lib/libkeyutils.so.1.3
7f6984850000-7f6984a4f000 ---p 00002000 08:01 13379                     
/lib/libkeyutils.so.1.3
7f6984a4f000-7f6984a50000 rw-p 00001000 08:01 13379                     
/lib/libkeyutils.so.1.3
7f6984a50000-7f6984a57000 r-xp 00000000 08:01 5288                      
/usr/lib/libkrb5support.so.0.1
7f6984a57000-7f6984c57000 ---p 00007000 08:01 5288                      
/usr/lib/libkrb5support.so.0.1
7f6984c57000-7f6984c58000 rw-p 00007000 08:01 5288                      
/usr/lib/libkrb5support.so.0.1
7f6984c58000-7f6984c5b000 r-xp 00000000 08:01 5264                      
/lib/libcom_err.so.2.1
7f6984c5b000-7f6984e5a000 ---p 00003000 08:01 5264                      
/lib/libcom_err.so.2.1
7f6984e5a000-7f6984e5b000 rw-p 00002000 08:01 5264                      
/lib/libcom_err.so.2.1
7f6984e5b000-7f6984e80000 r-xp 00000000 08:01 157                       
/usr/lib/libk5crypto.so.3.1
7f6984e80000-7f698507f000 ---p 00025000 08:01 157                       
/usr/lib/libk5crypto.so.3.1
7f698507f000-7f6985081000 rw-p 00024000 08:01 157                       
/usr/lib/libk5crypto.so.3.1
7f6985081000-7f698513f000 r-xp 00000000 08:01 5272                      
/usr/lib/libkrb5.so.3.3
7f698513f000-7f698533e000 ---p 000be000 08:01 5272                      
/usr/lib/libkrb5.so.3.3
7f698533e000-7f6985349000 rw-p 000bd000 08:01 5272                      
/usr/lib/libkrb5.so.3.3
7f6985349000-7f6985360000 r-xp 00000000 08:01 3979                      
/lib/libpthread-2.11.2.so
7f6985360000-7f698555f000 ---p 00017000 08:01 3979                      
/lib/libpthread-2.11.2.so
7f698555f000-7f6985560000 r--p 00016000 08:01 3979                      
/lib/libpthread-2.11.2.so
7f6985560000-7f6985561000 rw-p 00017000 08:01 3979                      
/lib/libpthread-2.11.2.so
7f6985561000-7f6985565000 rw-p 00000000 00:00 0 
7f6985565000-7f698557e000 r-xp 00000000 08:01 16692                     
/usr/lib/libsasl2.so.2.0.23
7f698557e000-7f698577d000 ---p 00019000 08:01 16692                     
/usr/lib/libsasl2.so.2.0.23
7f698577d000-7f698577e000 rw-p 00018000 08:01 16692                     
/usr/lib/libsasl2.so.2.0.23
7f698577e000-7f6985791000 r-xp 00000000 08:01 2972                      
/lib/libresolv-2.11.2.so
7f6985791000-7f6985990000 ---p 00013000 08:01 2972                      
/lib/libresolv-2.11.2.so
7f6985990000-7f6985991000 r--p 00012000 08:01 2972                      
/lib/libresolv-2.11.2.so
7f6985991000-7f6985992000 rw-p 00013000 08:01 2972                      
/lib/libresolv-2.11.2.so
7f6985992000-7f6985994000 rw-p 00000000 00:00 0 
7f6985994000-7f6985996000 r-xp 00000000 08:01 3971                      
/lib/libdl-2.11.2.so
7f6985996000-7f6985b96000 ---p 00002000 08:01 3971                      
/lib/libdl-2.11.2.so
7f6985b96000-7f6985b97000 r--p 00002000 08:01 3971                      
/lib/libdl-2.11.2.so
7f6985b97000-7f6985b98000 rw-p 00003000 08:01 3971                      
/lib/libdl-2.11.2.so
7f6985b98000-7f6985c0c000 r-xp 00000000 08:01 13264                     
/usr/lib/libgcrypt.so.11.5.3
7f6985c0c000-7f6985e0c000 ---p 00074000 08:01 13264                     
/usr/lib/libgcrypt.so.11.5.3
7f6985e0c000-7f6985e10000 rw-p 00074000 08:01 13264                     
/usr/lib/libgcrypt.so.11.5.3
7f6985e10000-7f6985eac000 r-xp 00000000 08:01 13274                     
/usr/lib/libgnutls.so.26.14.12
7f6985eac000-7f69860ac000 ---p 0009c000 08:01 13274                     
/usr/lib/libgnutls.so.26.14.12
7f69860ac000-7f69860b3000 rw-p 0009c000 08:01 13274                     
/usr/lib/libgnutls.so.26.14.12
7f69860b3000-7f69860ca000 r-xp 00000000 08:01 2637                      
/usr/lib/libz.so.1.2.3.4
7f69860ca000-7f69862c9000 ---p 00017000 08:01 2637                      
/usr/lib/libz.so.1.2.3.4
7f69862c9000-7f69862ca000 rw-p 00016000 08:01 2637                      
/usr/lib/libz.so.1.2.3.4
7f69862ca000-7f69862fd000 r-xp 00000000 08:01 5236                      
/usr/lib/libgssapi_krb5.so.2.2
7f69862fd000-7f69864fd000 ---p 00033000 08:01 5236                      
/usr/lib/libgssapi_krb5.so.2.2
7f69864fd000-7f69864ff000 rw-p 00033000 08:01 5236                      
/usr/lib/libgssapi_krb5.so.2.2
7f69864ff000-7f6986506000 r-xp 00000000 08:01 4020                      
/lib/librt-2.11.2.soAborted

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-15 10:48 micmos         New Issue                                    
======================================================================



More information about the redland-dev mailing list