graphviz segfauls on a valid input file.
That file can be downloaded at ftp://weird.da.ru/bugs/h.dot.bz2
====
$ dot -v -Tpng -oh.png h.dot
The plugin configuration file:
/usr/lib/graphviz/config
was successfully loaded.
render : canon cmap cmapx dia dot fig gd gd2 gif hpgl imap
ismap jpeg jpg mif mp pcl pic plain plain-ext png ps ps2 svg svgz vrml
vtx wbmp xdot
layout : circo dot fdp neato nop nop1 nop2 twopi
textlayout :
device :
usershape : png-gd
dot: fontname=Times-Roman
fontpath=/var/lib/defoma/fontconfig.d/N/NimbusRomNo9L-Regu.pfm
network simplex: 19053 nodes 19354 edges 0 iter 8.82 sec
network simplex: 13 nodes 12 edges 0 iter 0.00 sec
Segmentation fault
====
Max <relf@os2.ru> (15/08/2006): Hi Max, thanks for your report. I'm able to reproduce on 2.8-2.6 and 2.12-1 (currently in NEW, but available on[1] if you want to have a look). I'll enable debug symbol and report it back to upstream once I've got some clues. I don't know whether it could be related to the size of your file (as in: the number of lines). 1. http://kibi.sysif.net/pub/packages/graphviz-2.12/ Cheers,
forwarded 383261 http://graphviz.org/bugs/b998.html thanks Max <relf@os2.ru> (15/08/2006): Still occurs with 2.12-2, unfortunately (libgvplugin_dot_layout.so.3). Upstream is aware of this, this has been forwarded some time ago, but there's no solution yet. Cheers,
This bug is still present in 2.42.2-5.
I have a very short dot file with which it can be reproduced:
digraph {
graph [concentrate=true]
n1 -> n2
n1 -> n3
n1 -> n5
n1 -> n5
n4 -> n2
n4 -> n3
n2 -> n5
n5 -> n1
}