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 ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
