[redland-dev] [Rasqal RDF Query Library 0000406]: Python API one-liner segfaults
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Thu Dec 16 01:35:29 CET 2010
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=406
======================================================================
Reported By: presbrey
Assigned To:
======================================================================
Project: Rasqal RDF Query Library
Issue ID: 406
Category: api
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Query Language:
======================================================================
Date Submitted: 2010-12-16 00:35
Last Modified: 2010-12-16 00:35
======================================================================
Summary: Python API one-liner segfaults
Description:
~]$ python -c "import RDF; print RDF.SPARQLQuery('SELECT * WHERE { ?s ?p ?o }
LIMIT 1').execute(RDF.Model(RDF.Storage(storage_name='uri',
name='http://test.data.fm/abc', options_string=''))).to_string()"
Segmentation fault
Program received signal SIGSEGV, Segmentation fault.
0x0000003210217494 in librdf_model_storage_find_statements (model=0x6ba130,
statement=0x6e95c0) at rdf_model_storage.c:268
268 return librdf_storage_find_statements(context->storage, statement);
Additional Information:
<dajobe> presbrey: I get that crash too
<dajobe> seems to be in the python bindings, it works from C
<dajobe> rdfproc -s uri http://test.data.fm/abc query sparql - 'SELECT * WHERE
{ ?s ?p ?o } LIMIT 1'
<dajobe> looks like python destroyed the model object before the query ran
<dajobe> since there was only 1 use
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-12-16 00:35 presbrey New Issue
======================================================================
More information about the redland-dev
mailing list