Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002562graphvizDotpublic2015-07-26 15:182015-07-28 11:33
Reporter[email protected] 
Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformVirtualBox VMOSUbuntuOS Version3.13.0-32-generi
Summary0002562: Trouble in init_rank assertion
DescriptionWhen I try to render the attached graph I get:
 'Error: trouble in init_rank',

eventually followed by:

 'dot: maze.c:315: chkSgraph: Assertion `np->cells[1]' failed.'

Dot then dumps core from the unhandled assertion.
Steps To Reproducecat test2.dot | /usr/bin/dot -Tpdf -o test2.pdf
Additional InformationIf the 'rank=sink;' statement on line 170 is commented out, then this renders with no problem.

Is there some way to get around this issue, by some settings or something similar? If I comment out this line then the nodes within the block don't render nicely.

Also, my graphs in general are auto-generated so it would be desirable to have a general solution and not have to hand tune each one.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.36.0 (20140111.2315)
Attached Filesdot file icon test2.dot (Attachment missing)
dot file icon test3.dot (Attachment missing)

- Relationships

-  Notes
User avatar (0000957)
[email protected] (reporter)
2015-07-26 16:25

I found that if I add 'constraint="False" to all of the edges which reference the nodes in the block with 'rank=sink;' at line 170, then it doesn't crash.
User avatar (0000958)
north (administrator)
2015-07-28 11:33

I agree this is a bug, but it's very brave to mix concentrate=true, splines=ortho, packmode, ranksep, nodesep, and a bunch of other options we probably never tried in the lab.

I wish our code was more robust or did better self-checking.

Stephen

- Issue History
Date Modified Username Field Change
2015-07-26 15:18 [email protected] New Issue
2015-07-26 15:18 [email protected] File Added: test2.dot
2015-07-26 16:24 [email protected] File Added: test3.dot
2015-07-26 16:25 [email protected]nk.net Note Added: 0000957
2015-07-28 11:33 north Note Added: 0000958


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker