You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on graphviz current HEAD, it doesn't segfault (on Ubuntu 16.04), but does issue the following:
$ dot -Tjpg -O test.dot
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Error: lost A X edge
and generates a viable (correct?), but not interesting image.
0.2, 0.3, and 0.4 produce viable images, with no messages for me. However, with your test as supplied:
$ dot -Tpng -O test.dot
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Segmentation fault (core dumped)
$ dot -Tsvg -O segfault.dot
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Segmentation fault (core dumped)
Also dumping core:
-Tdot
-Teps
-Tjson
-Tpdf
... and many others;
Producing, w/ errors:
-Tbmp
-Ttiff
None of the above core-dumping invocations showed any trouble (produced viable output, no core) with nodesep=0.2.
Roughly, the problem is arises because of the small size of the nodes and the small separation. There is an error in the code that generates the polygon that is used for routing the edge. The polygon is self-intersecting, hence the triangulation algorithm fails.
The following graph gives a segfault when doing a dot layout. (tested with windows 7)
When increasing the
nodesep
to0.4
, the following messages appear.According to http://www.graphviz.org/doc/info/attrs.html#a:nodesep, the minimum value is only
0.2
.The text was updated successfully, but these errors were encountered: