[redland-dev] [Rasqal RDF Query Library 0000437]: Parser error in TriG parser causes Raptor to scribble on memory
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Mon Apr 4 17:50:52 CEST 2011
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=437
======================================================================
Reported By: swh
Assigned To:
======================================================================
Project: Rasqal RDF Query Library
Issue ID: 437
Category: api
Reproducibility: always
Severity: crash
Priority: high
Status: new
Query Language: TriG
======================================================================
Date Submitted: 2011-04-04 15:50
Last Modified: 2011-04-04 15:50
======================================================================
Summary: Parser error in TriG parser causes Raptor to
scribble on memory
Description:
rapper: Parsing URI file:///private/tmp/foo.trig with parser trig
rapper: Error - URI file:///private/tmp/foo.trig:7 - syntax error
==41276== Invalid read of size 4
==41276== at 0x100030F71: raptor_free_term (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x1000403C0: raptor_turtle_parse_terminate (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x10002754F: raptor_free_parser (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100001B25: main (in /usr/local/bin/rapper)
==41276== Address 0x101521428 is 8 bytes inside a block of size 56 free'd
==41276== at 0x1000138CC: free (vg_replace_malloc.c:325)
==41276== by 0x100040DB6: turtle_parser_parse (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100041E62: raptor_turtle_parse_chunk (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100027952: raptor_parser_parse_file_stream (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100027A25: raptor_parser_parse_file (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100001B15: main (in /usr/local/bin/rapper)
==41276==
==41276== Invalid write of size 4
==41276== at 0x100030F76: raptor_free_term (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x1000403C0: raptor_turtle_parse_terminate (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x10002754F: raptor_free_parser (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100001B25: main (in /usr/local/bin/rapper)
==41276== Address 0x101521428 is 8 bytes inside a block of size 56 free'd
==41276== at 0x1000138CC: free (vg_replace_malloc.c:325)
==41276== by 0x100040DB6: turtle_parser_parse (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100041E62: raptor_turtle_parse_chunk (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100027952: raptor_parser_parse_file_stream (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100027A25: raptor_parser_parse_file (in
/usr/local/lib/libraptor2.0.dylib)
==41276== by 0x100001B15: main (in /usr/local/bin/rapper)
==41276==
rapper: Parsing returned 6 triples
==41276==
Steps to Reproduce:
valgrind rapper -c -i trig foo.trig
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-04-04 15:50 swh New Issue
2011-04-04 15:50 swh File Added: foo.trig
======================================================================
More information about the redland-dev
mailing list