Number: 146
Title: Abort/Core dump in spline code
Submitter: jkw
Date: Wed May 8 13:55:12 2002
Subsys: Dot
Version:
System: *-*-*
Severity: major
Problem: dot aborts, with no warning, on the given input file.
Input:
digraph mygraph {
        label_foo [shape="record",label="<foo>foo"];
    label_foo:foo -> label_foo
}
Comments:
[erg] The problem arises because the beginpath and endpath routines create continguous boxes in this case. Actually, as a fix for another bug, beginpath extends its box in the y direction, so the two boxes actually overlap. These are then connected by a path of boxes by completeselfpath. Thus, the polygon created in routesplines from the path of boxes is self-intersecting and not simply connected. Since Pshortestpath relies on having a simple polygon, we get an abort when the triangulation fails.

If the port :foo is removed from label_foo:foo, there is no problem.
Owner: erg
Status: Fixed (9 Sept 2004)