MOTHBALLED-graphviz
MOTHBALLED-graphviz copied to clipboard
[Dot] dot crashes when label empty
Ported Issue from Mantis Original ID: 2421 Attached file(s) only currently available from Mantis* Reported By: tischda
SEVERITY: CRASH Submitted: 2014-02-09 10:46:56
OS: WIN AND MAC
PLATFORM: WIN AND MAC
DESCRIPTION
The attached file crashes dot (tested on 2.30, 2.36 and recent 2.37 on Win and Mac). It seems to be a combination of two conditions when the offending line appears twice and the label is empty. Add something in the label and it works again:
diff test.dot.crash test.dot.ok
71c71
< c353:p -> c345:p [taillabel="", label="", headlabel="*", fontname="Helvetica", fontcolor="black", fontsize=10.0, color="black", arrowhead=open];
---
> c353:p -> c345:p [taillabel="", label="a", headlabel="*", fontname="Helvetica", fontcolor="black", fontsize=10.0, color="black", arrowhead=open];
STEPS TO REPRODUCE
dot test.dot.crash
ADDITIONAL INFORMATION
dot file generated by UMLGraph