Number: 906
Title: Graph which crashes neato
Submitter: Ian Barnard
Date: 16 March 2006
Subsys: neato
Version: 2.8
System: *-*-*
Severity: major
Problem:
The following graph reliably crashes neato:

On Windows XP SP2, Graphviz versions 2.6 and 2.8.

Taking the / out of the labels seems to stop the crash, as does removing the overlap setting, but I really want both these to stay as the graph is being automatically generated.

Does anyone have suggestions for anything I'm doing wrong?
Input:

digraph G {
overlap=false;
  "00000661";
  "000006c0" [shape=record,label="ats/UserRequirements"];
  "000006c1"
[shape=record,label="/EasyStart/Requirements/SystemRequirements"];
   "00000661" -> "000006c0";
   "000006c0" -> "000006c1";
   "000006c0" -> "000006c0";
}
Comments:
[erg] I believe the problem is related to a strange bug in the Voronoi code. In any case, running neato -n on this input causes a SIGFPE on linux. The reason the problem doesn't occur originally on Linux is that it starts with a different layout (due to the RNG), so the exact values needed aren't there. The crash in Windows occurs later, but Windows uses non-trapping semantics on floating point exceptions, so it's only later when things fall apart.
Owner: *
Status: *