Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002443graphvizDotpublic2014-04-22 19:592014-04-24 17:38
Reporterdewtell 
Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformOSWindowsOS VersionWindows 7 Pro
Summary0002443: Segfault laying out graph with 7 subgraphs - affects dot, gvedit, layout library
Descriptiondot (and gvedit, and the layout library) crash when trying to lay out the attached dot file, which includes 7 small cluster subgraphs. If I manually delete the seven clusters from the file, it lays out fine. Other graphs using this general approach (only put the cluster nodes explicitly in the subgraph, put all arcs at top level) lay out fine.

Deleting only the last cluster crashes the same way as the original file.
Deleting the final 2 clusters (leaving 5) creates a layout, but produces the message
Warning: Unable to reclaim box space in spline routing for edge "PARTNER_FOO" -> "L1_IN". Something is probably seriously wrong.

Deleting the final 3 clusters (leaving 4) crashes with a "reclaim box space" message; deleting 4 clusters (leaving 3) runs but produces 2 "reclaim box space" messages; leaving 2 clusters runs without complaint; leaving 1 cluster crashes with 2 "reclaim box space" messages; leaving 0 clusters runs without complaint.
Steps To Reproduce$ dot -Tpdf -o temp.pdf foo_interaction.dot
Error: trouble in init_rank
        %0 6
        %0 6
        %0 8
        %0 4
...
        DSP_WRN 1
        %0 1
        HB_RDN 1
        %0 1
        HB_WRN 1
libpath/.\shortest.c:324: triangulation failed
libpath/.\shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Segmentation fault
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.38
Attached Filesdot file icon foo_interaction.dot (Attachment missing)

- Relationships

-  Notes
User avatar (0000732)
dewtell (reporter)
2014-04-22 20:47

Related to bug 0002382.
User avatar (0000733)
erg (administrator)
2014-04-24 09:02

One workaround is to use newrank=true when running dot.
User avatar (0000734)
dewtell (reporter)
2014-04-24 17:38

Thanks - newrank=true does seem to avoid the crashes I've observed so far.

- Issue History
Date Modified Username Field Change
2014-04-22 19:59 dewtell New Issue
2014-04-22 19:59 dewtell File Added: foo_interaction.dot
2014-04-22 20:47 dewtell Note Added: 0000732
2014-04-24 09:02 erg Note Added: 0000733
2014-04-24 17:38 dewtell Note Added: 0000734


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