Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002440graphvizFdppublic2014-04-12 17:342014-04-14 09:01
Assigned To 
PlatformMacintoshOSMac OSOS Version10.9.2
Summary0002440: Assertion failed: (bz.size % 3 == 1), function bezier_bb, file emit.c, line 3866.
DescriptionThe .dot file:

    graph { a -- b; a [ label="" ]; b [ label="" ] }

compiles (under `fdp -Tpdf`) without any trouble. However, the .dot file:

    graph { a -- b }

hangs indefinitely. When interrupted with CTRL-C, it prints:

    Assertion failed: (bz.size % 3 == 1), function bezier_bb, file emit.c, line 3866.
Steps To ReproduceRun

    fdp -Tpdf <<GRAPH
        graph { a -- b }
Additional InformationI am using the MacPorts port of graphviz. Here is the output of `fdp -v`:

    fdp - graphviz version 2.36.0 (20140111.2315)
    libdir = "$MACPORTS_ROOT/lib/graphviz"
    Activated plugin library: libgvplugin_neato_layout.6.dylib
    Using layout: fdp:neato_layout
    Activated plugin library: libgvplugin_core.6.dylib
    Using render: dot:core
    Using device: dot:dot:core
    The plugin configuration file:
        was successfully loaded.
    render : cairo dot fig gd lasi map pic pov ps quartz svg tk vml vrml xdot
    layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
    textlayout : textlayout
    device : bmp canon cgimage cmap cmapx cmapx_np dot eps exr fig gd gd2 gif gv icns ico imap imap_np ismap jp2 jpe jpeg jpg pct pdf pic pict plain plain-ext png pov ps ps2 psd sgi svg svgz tga tif tiff tk vml vmlz vrml wbmp webp x11 xdot xdot1.2 xdot1.4 xlib
    loadimage : (lib) bmp eps gd gd2 gif jpe jpeg jpg pdf png ps svg webp xbm
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0000726)
erg (administrator)
2014-04-14 09:01

Unfortunately, I can't replicate this, on either snow leopard or maverick.
The assert problem is a red herring; it hits this because the ^C interrupts the processing, which means the data is in a strange state. Based on the output of -v, it appears it hangs before it even resolves the font used. The next line after the info on loadimage should be something like:
fontname: "Times-Roman" resolved to: (ps:pango Times, REGULAR) (PangoCairoCoreTextFont) "Times"
I also find it odd that you have the unresolved $MACPORTS_ROOT in the path names; one would expect to see something like libdir = "/opt/local/lib/graphviz"

- Issue History
Date Modified Username Field Change
2014-04-12 17:34 JadeNB New Issue
2014-04-14 09:01 erg Note Added: 0000726

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker