ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 256 forks source link

[Dot] Assertion failure and crash of 'dot' #240

Open GadgetSteve opened 8 years ago

GadgetSteve commented 8 years ago

Ported Issue from Mantis Original ID: 2473 Attached file(s) mentioned may only be available on the Mantis Tracker. Reported By: artur

SEVERITY: IMPORTANT Submitted: 2014-07-29 13:22:10

OS: FEDORA

OS BUILD: 20

PLATFORM: X86_64

DESCRIPTION

When trying to generate a PDF of the attached broken.dot file with the 'dot' utility the program fails with an assertion failure and the following message:

newtrap: Trapezoid-table overflow 501 dot: trapezoid.c:88: newtrap: Assertion `0' failed. Aborted (core dumped)

This assertion is not triggered when commenting out line 16, containing: fetch_tarball [label="fetch source tarball"];

STEPS TO REPRODUCE

Copy the attached broken.dot file to a local directory and run the following command in that directory:

dot -Tpdf -o broken.pdf broken.dot

ADDITIONAL INFORMATION

A dump of the output from 'dot -v' is given below:

dot - graphviz version 2.34.0 (20140110.0949)
libdir = "/usr/lib64/graphviz"
Activated plugin library: libgvplugin_pango.so.6
Using textlayout: textlayout:cairo
Activated plugin library: libgvplugin_dot_layout.so.6
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core.so.6
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
        /usr/lib64/graphviz/config6
                was successfully loaded.
    render      :  cairo dot eps fig lasi map pic pov ps svg tk vml xdot
    layout      :  circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
    textlayout  :  textlayout
    device      :  bmp canon cmap cmapx cmapx_np dot eps fig gtk gv ico imap imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib
    loadimage   :  (lib) eps gif jpe jpeg jpg png ps svg
Andy1978 commented 7 years ago

looks like a duplicate of this issue https://github.com/ellson/graphviz/issues/56