Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002487graphvizDotpublic2014-09-10 19:052014-09-17 15:12
ReporterAntonW 
Assigned Toerg 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformWindows 7 and Mac 10.9.4OSOS Version
Summary0002487: dot (2.38) crashes on valid input file on mac and windows
DescriptionIn using dot to render some data structure visualizations, I seem to have discovered a crashing bug in the 2.38 version. The issue was reproduced on both Mac and Windows. My Ubuntu installation (dot version 2.26.2) rendered an approximate graph but the placement of the nodes in the clusters were wrong. Interesting the javascript (viz.js) version renders it correctly.
Steps To ReproduceRender the included dot input file as svg from the command line:
 dot -Tsvg -v -o btree03.svg btree03.dot
Additional InformationIt appears that the cross-compiled (javascript) version isn't effected, take the input file below and throw it in: http://mdaines.github.io/viz.js/form.html [^] and you'll see the expected output.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.38
Attached Filesdot file icon btree03.dot (Attachment missing)
dot file icon btree04.dot (Attachment missing)

- Relationships

-  Notes
User avatar (0000816)
erg (administrator)
2014-09-11 10:44

I cannot reproduce the problem on either Windows or Macs. If you leave off the -T flag, do you still get a crash? Please attach the output you get from -v when dot crashes. Thanks.
User avatar (0000817)
AntonW (reporter)
2014-09-11 11:17

If I leave off the -Tsvg I still get the crash. If it makes any difference I'm using the 2.38 version of graphviz from MacPorts. I'll attach an additional file to this ticket (btree04.dot) which is a larger and also crashes. When I try the 2 level btree example graphviz seems to work fine - but the 3 and 4 level btree examples crash.

Thanks for investigating this! I'll post the output from the dot execution of btree03.dot below.

-Anton

[email protected][489]: dot -v btree03.dot
dot - graphviz version 2.38.0 (20140413.2041)
libdir = "/opt/local/lib/graphviz"
Activated plugin library: libgvplugin_dot_layout.6.dylib
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core.6.dylib
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
    /opt/local/lib/graphviz/config6
        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
pack info:
  mode undefined
  size 0
  flags 0
  margin 8
pack info:
  mode node
  size 0
  flags 0
fontname: "serif" resolved to: (PangoCairoFcFont) "Bitstream Vera Serif, Roman" /usr/X11/lib/X11/fonts/TTF/VeraSe.ttf
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 15 nodes 14 edges maxiter=2147483647 balance=0
network simplex: 15 nodes 14 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 1 nodes 0 edges maxiter=2147483647 balance=1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
network simplex: 61 nodes 60 edges maxiter=2147483647 balance=0
network simplex: 61 nodes 60 edges 0 iter 0.00 sec
Maxrank = 44, minrank = 0
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
merge2: graph btree_ex03, rank 0 has only 1 < 9 nodes
merge2: graph btree_ex03, rank 1 has only 1 < 9 nodes
merge2: graph btree_ex03, rank 33 has only 5 < 45 nodes
merge2: graph btree_ex03, rank 34 has only 5 < 45 nodes
merge2: graph btree_ex03, rank 44 has only 25 < 175 nodes
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 2 iter 0 trying 0 cur_cross 0 best_cross 0
mincross btree_ex03: 0 crossings, 0.00 secs.
network simplex: 1251 nodes 2353 edges maxiter=2147483647 balance=2
network simplex: 100 200 300 400 500
network simplex: 1251 nodes 2353 edges 570 iter 0.03 sec
routesplines: 54 edges, 162 boxes 0.00 sec
Segmentation fault: 11
User avatar (0000820)
AntonW (reporter)
2014-09-16 19:01

I downloaded the dev version for windows (2.39.20140916) and both files worked - so please close this ticket out as it looks like the problem has been fixed in 2.39. Sorry for the trouble!
User avatar (0000821)
erg (administrator)
2014-09-17 15:12

Thanks for reporting this. And always glad to find a bug has already been fixed, though I would have liked to been able to replicate it with 2.38 on my mac. Please reopen the bug if it appears again.

- Issue History
Date Modified Username Field Change
2014-09-10 19:05 AntonW New Issue
2014-09-10 19:05 AntonW File Added: btree03.dot
2014-09-11 10:44 erg Note Added: 0000816
2014-09-11 11:17 AntonW Note Added: 0000817
2014-09-11 11:23 AntonW File Added: btree04.dot
2014-09-16 19:01 AntonW Note Added: 0000820
2014-09-17 15:12 erg Note Added: 0000821
2014-09-17 15:12 erg Assigned To => erg
2014-09-17 15:12 erg Status new => resolved
2014-09-17 15:12 erg Resolution open => fixed


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