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

Sparr <[email protected]> Tue, 25 Feb 2014 13:31:37 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <CANp3UNCnLtKkZsmXDDv9GhZs5Vnpez62aE7Y5es_91YbF9c8kw@mail.gmail.com>
On Tue, Feb 25, 2014 at 11:41 AM, John Ellson <[email protected]> wrote:
> On 02/25/2014 10:53 AM, John Ellson wrote:
>> However, if the problem is the number of open files, then the input format
>> won't matter either.

switching to jpg for the input files does not trigger the bug,
probably because it's using something other than cairo_loadimage.

> If you are building from source,  you could try changing
> MAX_USERSHAPE_FILES_OPEN to a lower number (currently 50),
> at:   lib/gvc/gvusershape.c:575

problem persists with MAX_USERSHAPE_FILES_OPEN = 1

> It does look like there should be a warning to stderr if there are problems
> opening these image files. Are you not seeing any?

no warning. in verbose mode the last output (to stdout) is as follows:

Using render: cairo:cairo
Using loadimage: png:cairo:cairo
Segmentation fault: 11

the segfault terminates execution, so if there should be a warning
afterwards then it never gets that far.

I am moving this to the issue tracker now.
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest