Re: [graphviz-interest] pseudo-random segfault when using raster image renderers

Sparr <[email protected]> Mon, 24 Feb 2014 22:18:50 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <CANp3UNB2eHnaAGF1zjERarOCkFEEZUjnZD=+cytT=s85Hb8SWA@mail.gmail.com>
Progress!

lib/common/shapes.c:2887

name = ND_shape(n)->name;

This returns a filename 99.9% of the time and all is well. It
occasionally returns an empty string, which cascades down through the
later function calls leading to a null pointer (specifically
gvusershape_find returns a usershape_t with the file field equal to
zero instead of a valid file pointer) and later to a dereference of
that pointer in flockfile.

However, at this point I'm stuck. Trying to follow the data structures
behind Agnode_s and Agobj_t and the ND_shape macro have left me
confused and lost. I am hopeful that someone on this list might be
able to give me a nudge in the right direction from here.
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest