[redland-dev] Segfault with rdf_hash.c
Danny Ayers
danny.ayers at gmail.com
Mon Jun 13 16:39:04 BST 2005
On 6/13/05, Danny Ayers <danny.ayers at gmail.com> wrote:
> On 6/13/05, Dave Beckett <dave.beckett at bristol.ac.uk> wrote:
>
> > > > if(context->key)
> > > > context->key->data=NULL;
> >
> > Could you give an example of causing that? Otherwise I'm tempted to
> > add an assertion block that causes the program to die when it happens next,
> > for finding out :)
>
> I haven't pinpointed the direct cause - it was happening somewhere
> iterating on model.find_statements(Statement(s, None, None)). It's
> very likely that I've got nulls where they shouldn't be in the Python,
> maybe a variant of Node(null). I'll see if I can get closer.
Trying to serialise to rdfxml-abbrev I just got:
raptor_serialize_rdfxmla.c:243:raptor_new_qname_from_resource: fatal
error: Node must be a resource
I've still not got the hang of Python's typing ;-)
--
http://dannyayers.com
More information about the redland-dev
mailing list