MOTHBALLED-graphviz
MOTHBALLED-graphviz copied to clipboard
[Dot] Crash due to triangulation error
Ported Issue from Mantis Original ID: 2471 Reported By: perlindgren
SEVERITY: CRASH Submitted: 2014-07-23 20:17:14
OS: OSX MAVERICS/ UBUNTU 12.04
PLATFORM: OSX/LINUX
DESCRIPTION
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Error: lost R2_task2 R1_R2_task2 edge
Segmentation fault: 11
STEPS TO REPRODUCE
dot -Tpdf out.dot -o out.pdf
ADDITIONAL INFORMATION
if adding:
digraph RTFM {
P1 [shape=plaintext, label = "Priority/Ceiling 1\n[R1], [R2], Task task2, Task task1"]
P1[dir=none]
....
graph[splines=X]
....
}
graph[splines=curved]
-> passes without crash, but lines are doubled, not OK. (This is definitely an error).
graph[splines=ortho]
-> passes without crash, but lines do not start and end at correct positions. (This seem just to be a an unimplemented feature, right?)
However, most importantly it should work with the default splines setting (true), this is what I and everybody really need/want.
If setting the node spacing large enough it passes compilation but start and endpoints of the splines are incorrect, so there is definitely something severely wrong with "dot".
Best regards, Per Lindgren
same here