Number: 271
Title: dot hangs generating image file
Submitter: Jeremy Slade
Date: Fri Mar 7 12:18:16 2003
Subsys: Dot
Version: 1.8.8
System: Other-Unix-hpux 11.0
Severity: critical
Problem:
Whenever I run dot to create an image file (gif, png, jpg), it hangs forever, taking full cpu. Writing to other output formats (ps, ps2, svg, hpgl, fig, ...) works fine. When run with -v option, here's what I get:

network simplex: 5 nodes 5 edges 0 iter 0.00 sec network simplex: 9 nodes 8 edges 0 iter 0.00 sec mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0 mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0 mincross test123: 0 crossings, 0.00 secs. network simplex: 61 nodes 74 edges 15 iter 0.00 sec routesplines: 14 edges, 138 boxes, 0 splines 0.01 sec dot: allocating a 509K GD image

If I hit Ctrl-C, I get the last line (allocating GD image) repeated again, then another Ctrl-C actually kills it.

I'm using binaries built from exptools.
Input:

digraph test {
  a;
}
Comments:
[erg] This must be a problem with how dot was build. The output should be at most 7K.
Owner: *
Status: Fixed