Number: 256
Title: Windows core dump using -Gpack with neato
Submitter: Guang Yao
Date: Mon, 10 Feb 2003 10:03:22
Subsys: neato
Version: 1.9
System: windows
Severity: minor
Problem:
I noticed that the feature -Gpack has been added to the new release of GraphViz. Gpack is a great feature, I really enjoy the more compact layout that it produces. However, I found from time to time by using -Gpack, neato reports error (I'm using Windows XP Pro): "neato.exe has encountered a problem and needs to close. We are sorry for the inconvenience. ..."

Attached please find a sample file that incurred such problem. BTW, I was calling neato in a Perl script, and the system call was:


neato -Gpack -Gmaxiter=50000 -Tsvg path$time.txt -o core_network$time.tmp
I found that by using a much larger -Gepsilon, say -Gepsilon=16, the error can be avoided. However, the layout is somewhat ugly.
Input file: b256.dot
Comments:
[erg] The error appears to be an access violation. The -Gpack flag is necessary, but any single additional -G flag causes the problem. Also, I could replicate this on mswindows, but not on a different machine.

The problem appears related to the number of subgraphs. Removing even one of the anonymous subgraphs fixes the problem. More generally, a workaround would be to not use anonymous subgraphs to attach attributes, but attach the attributes directly to the nodes.
Owner: *
Status: *