#605993 corrupted PostScript output from neato

Package:
graphviz
Source:
graphviz
Description:
rich set of graph drawing tools
Submitter:
Ian Jackson
Date:
2010-12-06 00:00:03 UTC
Severity:
normal
#605993#5
Date:
2010-12-05 12:07:15 UTC
From:
To:
When I run this command

 neato -Gsize=7.5,7.5 -Gcenter=1 -Tps <bug.neato >bug.ps

on the attached input file, the output Postscript file contains
unwanted high-bit-set characters where a pair of coordinates ought to
be.  See line 1943 of the attached output file.

Ian.

#605993#10
Date:
2010-12-05 23:57:30 UTC
From:
To:
Hi Ian,

Yes, confirmed in a lenny chroot.  The problem looks like some sort of
numeric overflow caused when neato tries to position the label of a
particular edge.  Take a look at the raw output (without a -T option),
this is line 161:

	n83O -> n53O [label="91+:PB8:143.81", pos="e,541,617 538,607 538,607
538,607 538,607", lp="-2147483640,-2147483648"];

This problem does not seem to occur in the latest 2.26.3-5 release which
will ship with Squeeze.  Are you able to give this version a try?

Alternatively removing the label from this edge (line 107 of the input
file) seems to work around the issue.

Cheers,

	David.