Number: 337
Title: trouble with dot in init_rank + segfault
Submitter: Lilian Janin
Date: 7th august 2003
Subsys: dot
Version: graphviz version 1.10
System: Mac OS X
Severity: critical (segfault)
Problem:
When run with the command "dot -Tps example.dot > tmp.ps" (same behaviour without the -Tps), the attached example generates a "trouble in init_rank" warning followed by a list of "virtual..." messages. And then, an error message:


Error: in checkpath, box 2 has LL coord > UR coord
edge 3 from comp17389488 to comp17376704
5 boxes:
0 (-464, 396), (-410, 414)
1 (-464, 414), (-401, 432)
2 (-500, 432), (-1346, 450)
3 (-1445, 414), (-1382, 432)
4 (-1436, 396), (-1382, 414)
start port: (-437, 396), tangent angle: 0.000, not constrained
end port: (-1409, 396), tangent angle: 0.000, not constrained
Abort trap

By changing an edge in the description (any edge near the end of the file seems to produce this effect), the error is removed (the init_rank warning is still here, but the generation completes successfully).
Input file: b337.dot
Comments: Is my description wrong or is this a bug in dot?
Owner: *
Status: *