Number: 167
Title: neato SIGFPE
Submitter: John Ellson
Date: Tue Jul 2 14:44:43 2002
Subsys: Neato
Version: CVS today
System: x86-Linux-
Severity: minor
Problem:
graphviz> dotneato/neato -Tpng ~/b124.dot | xv - caught SIGFPE 8
Input file: b124.dot
Comments:
This is the same input file as for bug # 124.

When the arrowhead code was merged, a test in neato for d > 0 was dropped before a division by d. d == 0 means a single point spline, which can happen in neato when nodes overlap. When this occurs, I believe the final drawing has the occasional stray arrowhead. We might want to change the output to ignore these edges.

This problem doesn't arrive on mips. mips has the floating point exception turned off and just generates an Inf, for which the ensuing code is fine.
Owner: erg
Status: Fixed (3 July 2002)