Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002380graphvizDotpublic2013-10-07 19:322013-10-30 14:35
Reporterdrdozer 
Assigned To 
PrioritynormalSeverityimportantReproducibilityalways
StatusnewResolutionopen 
PlatformlinuxOSubnutnOS Version
Summary0002380: Getting 'double free or corruption' error
DescriptionI have a dot file with 3 subgraphs and a bunch of directed links. Attempting to run dot on it crashes out with:

$ dot problem.gvz
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Warning: Unable to reclaim box space in spline routing for edge "Hidden 3" -> "Alt (BTC) buy volume". Something is probably seriously wrong.
Warning: Unable to reclaim box space in spline routing for edge "Alt (BTC) buy volume" -> "Hidden 3". Something is probably seriously wrong.
*** Error in `dot': double free or corruption (!prev): 0x0000000000880ec0 ***
*** Error in `dot': malloc(): memory corruption: 0x0000000000880f70 ***
^C^C^C^C^C^C^C^C^[[C

Terminated

I have to kill the process manually as it seems to hang and ignore input.
Steps To Reproduce$ dot problem.gvz

The input file looks like this:

trict digraph "FTC/BTC" {
subgraph cluster_Inputs {
"Base (FTC) holding"
"Alt (BTC) holding"
"Base amount (FTC)"
"Price in alt (BTC)"
}

subgraph cluster_Hidden {
"Hidden 1"
"Hidden 2"
"Hidden 3"
"Hidden 4"
"Hidden 5"
}

subgraph cluster_Outputs {
"Base (FTC) buy volume"
"Base (FTC) buy alt price"
"Base (FTC) buy confidence"
"Alt (BTC) buy volume"
"Alt (BTC) buy alt price"
"Alt (BTC) buy confidence"
}

"Base (FTC) holding" -> "Hidden 5" [ label = 0.0 ]
"Alt (BTC) holding" -> "Hidden 5" [ label = 0.0 ]
"Base amount (FTC)" -> "Hidden 5" [ label = 0.0 ]
"Price in alt (BTC)" -> "Hidden 5" [ label = 0.0 ]
"Base (FTC) holding" -> "Hidden 3" [ label = 0.0 ]
"Alt (BTC) holding" -> "Hidden 3" [ label = 0.0 ]
"Base amount (FTC)" -> "Hidden 3" [ label = 0.0 ]
"Price in alt (BTC)" -> "Hidden 3" [ label = 0.0 ]
"Base (FTC) holding" -> "Hidden 1" [ label = 0.0 ]
"Alt (BTC) holding" -> "Hidden 1" [ label = 0.0 ]
"Base amount (FTC)" -> "Hidden 1" [ label = 0.0 ]
"Price in alt (BTC)" -> "Hidden 1" [ label = 0.0 ]
"Base (FTC) holding" -> "Hidden 2" [ label = 0.0 ]
"Alt (BTC) holding" -> "Hidden 2" [ label = 0.0 ]
"Base amount (FTC)" -> "Hidden 2" [ label = 0.0 ]
"Price in alt (BTC)" -> "Hidden 2" [ label = 0.0 ]
"Base (FTC) holding" -> "Hidden 4" [ label = 0.0 ]
"Alt (BTC) holding" -> "Hidden 4" [ label = 0.0 ]
"Base amount (FTC)" -> "Hidden 4" [ label = 0.0 ]
"Price in alt (BTC)" -> "Hidden 4" [ label = 0.0 ]
"Hidden 5" -> "Hidden 5" [ label = 0.0 ]
"Hidden 3" -> "Hidden 5" [ label = 0.0 ]
"Hidden 1" -> "Hidden 5" [ label = 0.0 ]
"Hidden 2" -> "Hidden 5" [ label = 0.0 ]
"Hidden 4" -> "Hidden 5" [ label = 0.0 ]
"Hidden 5" -> "Hidden 3" [ label = 0.0 ]
"Hidden 3" -> "Hidden 3" [ label = 0.0 ]
"Hidden 1" -> "Hidden 3" [ label = 0.0 ]
"Hidden 2" -> "Hidden 3" [ label = 0.0 ]
"Hidden 4" -> "Hidden 3" [ label = 0.0 ]
"Hidden 5" -> "Hidden 1" [ label = 0.0 ]
"Hidden 3" -> "Hidden 1" [ label = 0.0 ]
"Hidden 1" -> "Hidden 1" [ label = 0.0 ]
"Hidden 2" -> "Hidden 1" [ label = 0.0 ]
"Hidden 4" -> "Hidden 1" [ label = 0.0 ]
"Hidden 5" -> "Hidden 2" [ label = 0.0 ]
"Hidden 3" -> "Hidden 2" [ label = 0.0 ]
"Hidden 1" -> "Hidden 2" [ label = 0.0 ]
"Hidden 2" -> "Hidden 2" [ label = 0.0 ]
"Hidden 4" -> "Hidden 2" [ label = 0.0 ]
"Hidden 5" -> "Hidden 4" [ label = 0.0 ]
"Hidden 3" -> "Hidden 4" [ label = 0.0 ]
"Hidden 1" -> "Hidden 4" [ label = 0.0 ]
"Hidden 2" -> "Hidden 4" [ label = 0.0 ]
"Hidden 4" -> "Hidden 4" [ label = 0.0 ]
"Hidden 5" -> "Alt (BTC) buy alt price" [ label = 0.0 ]
"Hidden 3" -> "Alt (BTC) buy alt price" [ label = 0.0 ]
"Hidden 1" -> "Alt (BTC) buy alt price" [ label = 0.0 ]
"Hidden 2" -> "Alt (BTC) buy alt price" [ label = 0.0 ]
"Hidden 4" -> "Alt (BTC) buy alt price" [ label = 0.0 ]
"Hidden 5" -> "Base (FTC) buy confidence" [ label = 0.0 ]
"Hidden 3" -> "Base (FTC) buy confidence" [ label = 0.0 ]
"Hidden 1" -> "Base (FTC) buy confidence" [ label = 0.0 ]
"Hidden 2" -> "Base (FTC) buy confidence" [ label = 0.0 ]
"Hidden 4" -> "Base (FTC) buy confidence" [ label = 0.0 ]
"Hidden 5" -> "Base (FTC) buy volume" [ label = 0.0 ]
"Hidden 3" -> "Base (FTC) buy volume" [ label = 0.0 ]
"Hidden 1" -> "Base (FTC) buy volume" [ label = 0.0 ]
"Hidden 2" -> "Base (FTC) buy volume" [ label = 0.0 ]
"Hidden 4" -> "Base (FTC) buy volume" [ label = 0.0 ]
"Hidden 5" -> "Alt (BTC) buy confidence" [ label = 0.0 ]
"Hidden 3" -> "Alt (BTC) buy confidence" [ label = 0.0 ]
"Hidden 1" -> "Alt (BTC) buy confidence" [ label = 0.0 ]
"Hidden 2" -> "Alt (BTC) buy confidence" [ label = 0.0 ]
"Hidden 4" -> "Alt (BTC) buy confidence" [ label = 0.0 ]
"Hidden 5" -> "Base (FTC) buy alt price" [ label = 0.0 ]
"Hidden 3" -> "Base (FTC) buy alt price" [ label = 0.0 ]
"Hidden 1" -> "Base (FTC) buy alt price" [ label = 0.0 ]
"Hidden 2" -> "Base (FTC) buy alt price" [ label = 0.0 ]
"Hidden 4" -> "Base (FTC) buy alt price" [ label = 0.0 ]
"Hidden 5" -> "Alt (BTC) buy volume" [ label = 0.0 ]
"Hidden 3" -> "Alt (BTC) buy volume" [ label = 0.0 ]
"Hidden 1" -> "Alt (BTC) buy volume" [ label = 0.0 ]
"Hidden 2" -> "Alt (BTC) buy volume" [ label = 0.0 ]
"Hidden 4" -> "Alt (BTC) buy volume" [ label = 0.0 ]
"Alt (BTC) buy alt price" -> "Hidden 5" [ label = 0.0 ]
"Base (FTC) buy confidence" -> "Hidden 5" [ label = 0.0 ]
"Base (FTC) buy volume" -> "Hidden 5" [ label = 0.0 ]
"Alt (BTC) buy confidence" -> "Hidden 5" [ label = 0.0 ]
"Base (FTC) buy alt price" -> "Hidden 5" [ label = 0.0 ]
"Alt (BTC) buy volume" -> "Hidden 5" [ label = 0.0 ]
"Alt (BTC) buy alt price" -> "Hidden 3" [ label = 0.0 ]
"Base (FTC) buy confidence" -> "Hidden 3" [ label = 0.0 ]
"Base (FTC) buy volume" -> "Hidden 3" [ label = 0.0 ]
"Alt (BTC) buy confidence" -> "Hidden 3" [ label = 0.0 ]
"Base (FTC) buy alt price" -> "Hidden 3" [ label = 0.0 ]
"Alt (BTC) buy volume" -> "Hidden 3" [ label = 0.0 ]
"Alt (BTC) buy alt price" -> "Hidden 1" [ label = 0.0 ]
"Base (FTC) buy confidence" -> "Hidden 1" [ label = 0.0 ]
"Base (FTC) buy volume" -> "Hidden 1" [ label = 0.0 ]
"Alt (BTC) buy confidence" -> "Hidden 1" [ label = 0.0 ]
"Base (FTC) buy alt price" -> "Hidden 1" [ label = 0.0 ]
"Alt (BTC) buy volume" -> "Hidden 1" [ label = 0.0 ]
"Alt (BTC) buy alt price" -> "Hidden 2" [ label = 0.0 ]
"Base (FTC) buy confidence" -> "Hidden 2" [ label = 0.0 ]
"Base (FTC) buy volume" -> "Hidden 2" [ label = 0.0 ]
"Alt (BTC) buy confidence" -> "Hidden 2" [ label = 0.0 ]
"Base (FTC) buy alt price" -> "Hidden 2" [ label = 0.0 ]
"Alt (BTC) buy volume" -> "Hidden 2" [ label = 0.0 ]
"Alt (BTC) buy alt price" -> "Hidden 4" [ label = 0.0 ]
"Base (FTC) buy confidence" -> "Hidden 4" [ label = 0.0 ]
"Base (FTC) buy volume" -> "Hidden 4" [ label = 0.0 ]
"Alt (BTC) buy confidence" -> "Hidden 4" [ label = 0.0 ]
"Base (FTC) buy alt price" -> "Hidden 4" [ label = 0.0 ]
"Alt (BTC) buy volume" -> "Hidden 4" [ label = 0.0 ]
}
Additional Information$ dot -version
dot - graphviz version 2.31.20130127.0545 (20130127.0545)
libdir = "/usr/lib/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/lib/graphviz/config6
                was successfully loaded.
    render : cairo dot fig gd map pic pov ps svg tk vml vrml 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 gd gd2 gif 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 vrml wbmp x11 xdot xlib
    loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.31.20130127.0545 (20130127.0545)
Attached Files? file icon problem2.gvz [^] (5,794 bytes) 2013-10-08 06:52
? file icon problem2.1.gvz [^] (5,688 bytes) 2013-10-08 06:53

- Relationships

-  Notes
User avatar (0000562)
drdozer (reporter)
2013-10-08 06:54

The file problem2.gsv crashes dot in the same way. problem2.1.gsv succeeds. I deleted the two lines in the warning messages from it. Deleting just one retained the crash.
User avatar (0000592)
erg (administrator)
2013-10-30 14:35

As a workaround, trying using newrank=true. This should also create a more readable layout.

- Issue History
Date Modified Username Field Change
2013-10-07 19:32 drdozer New Issue
2013-10-08 06:52 drdozer File Added: problem2.gvz
2013-10-08 06:53 drdozer File Added: problem2.1.gvz
2013-10-08 06:54 drdozer Note Added: 0000562
2013-10-30 14:35 erg Note Added: 0000592


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