Number: 1199
Title: arithmetic overflows in layout
Submitter: Neil Bird
Date: Fri Sep 28 06:58:37 2007
Subsys: Dot
Version: 2.15
System: *-*-
Severity: major
Problem:
I have to admit that I'm not using graphviz first-hand, this is when running doxygen. I hope it's not out of protocol to post an offending dot file, either!

I had been running graphviz 2.12 (Fedora 7), and when I went to run doxygen for the first time in a while I saw loads of segfaults from dot. I tried to diagnose the problem there, but it seemed to be due to some extreme image size making it down into cairo, and I couldn't really follow it.

So, I've compiled up 2.14 from the website, and while it's not crashing now, I'm getting zero-sized png files. I also tried SVG, but it seems to generate a monstrously wide polygon and I can't see anything else.

A glance through an example dot file in question (snaffled from the crashing version which left it behind) doesn't make me immediately suspicious of anything. Indeed, I've removed a few lines off the bottom in an attempt to pin down the offending one, but there doesn't seem to be one line in particular that's causing the problem.
Input file: b1199.dot
Comments:
[ellson] If all edges are removed then the nodes render just fine. If all nodes are removed, then the graph renders just fine with the empty nodes.

[erg] This is our hold friend bug 456 again.
Owner: erg
Status: Fixed (11 Oct 2007)