Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002288graphvizDotpublic2013-06-02 16:032013-08-26 21:40
Assigned To 
PlatformMacOSOS XOS Version10.8.3
Summary0002288: Dot crash on nested subgraph arrows (min test case)
Descriptiondot crashes when run on the attached file. Basically, putting "A -> {B -> C}" into the body of the digraph leads to a crash.

From the dot language specification, I *think* this is valid.
"B -> C" is an edge_stmt, thus stmt, thus stmt_list
"{B -> C}" is a subgraph
"-> {B -> C}" is an edgeRHS
"A -> {B -> C}" is an edge_stmt, etc.
Additional InformationI'm getting "Segmentation Fault: 11" on the command line when I run "dot". I'm not great with gdb on the Mac, the information I could get was:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000040
0x000000010009806a in installedge ()
(gdb) bt
#0 0x000000010009806a in installedge ()
0000001 0x000000010009757c in newedge ()
0000002 0x0000000100097add in agedge ()
0000003 0x0000000100099e5f in newedge ()
0000004 0x0000000100099da7 in edgerhs ()
0000005 0x000000010009979e in aagparse ()
0000006 0x0000000100099c30 in agread ()
0000007 0x0000000100021d25 in gvNextInputGraph ()
0000008 0x0000000100001c25 in main ()
TagsNo tags attached.
VERSION2.31.20130525.0447 (20130525.0447)
Attached Filesdot file icon [^] (108 bytes) 2013-06-02 16:03

- Relationships

-  Notes
User avatar (0000361)
ryandesign (reporter)
2013-06-13 17:25

The attached file cannot be downloaded. There appears to be a configuration error in this issue tracker. The downloaded file says:

<p style="color:red">SYSTEM WARNING: readfile(../mantisbt_bug_files/df784dce9647b5a81f15081835c5e7b6) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: Permission denied

User avatar (0000397)
creidieki (reporter)
2013-07-23 09:40

I don't know what happened to the attachment. Anyway, the entire body of the file that crashes dot is:

digraph G {
A -> { B -> C }
User avatar (0000449)
erg (administrator)
2013-08-26 21:40

This input is valid. We've been having some parsing problems with subgraphs recently. We think everything is back working now. Please try 2.33 and see if the problem is gone. If not, let us know. Thanks.

- Issue History
Date Modified Username Field Change
2013-06-02 16:03 creidieki New Issue
2013-06-02 16:03 creidieki File Added:
2013-06-13 17:25 ryandesign Note Added: 0000361
2013-07-23 09:40 creidieki Note Added: 0000397
2013-08-26 21:40 erg Note Added: 0000449

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