[redland-dev] [Redland librdf RDF API 0000543]: assertion in rasqal_query_results_next_triple called from librdf_query_rasqal_query_results_next_statement

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Apr 16 08:45:33 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=543 
====================================================================== 
Reported By:                mst
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   543
Category:                   query engine
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-16 12:45
Last Modified:              2013-04-16 12:45
====================================================================== 
Summary:                    assertion in rasqal_query_results_next_triple called
from librdf_query_rasqal_query_results_next_statement
Description: 
in a build with MSVC debug runtimes i got this assertion
about a NULL results pointer in rasqal_query_results_next_triple.

this is on a "CONSTRUCT" query with 1 result.

the client code basically calls librdf_stream_end,
librdf_stream_get_object, librdf_stream_next in a loop,

it seems to me that librdf_query_rasqal_query_results_next_statement
should just not call into rasqal if there is no "results".


Steps to Reproduce: 
can provide reproducer if required but i hope it's as obvious as it looks :)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-16 12:45 mst            New Issue                                    
2013-04-16 12:45 mst            File Added:
0001-avoid-an-assert-inside-rasqal_query_results_next_tri.patch                 
  
======================================================================



More information about the redland-dev mailing list