Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dot] Dot crash on nested subgraph arrows (min test case) #391

Open
GadgetSteve opened this issue Jul 4, 2016 · 0 comments
Open

[Dot] Dot crash on nested subgraph arrows (min test case) #391

GadgetSteve opened this issue Jul 4, 2016 · 0 comments

Comments

@GadgetSteve
Copy link
Contributor

Ported Issue from Mantis
Original ID: 2288
Reported By: creidieki

SEVERITY: CRASH
Submitted: 2013-06-02 21:03:37

OS: OS X

OS BUILD: 10.8.3

PLATFORM: MAC

DESCRIPTION

dot 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 INFORMATION

I'm getting "Segmentation Fault: 11" on the command line when I run "dot bugtest.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 ()
#1 0x000000010009757c in newedge ()
#2 0x0000000100097add in agedge ()
#3 0x0000000100099e5f in newedge ()
#4 0x0000000100099da7 in edgerhs ()
#5 0x000000010009979e in aagparse ()
#6 0x0000000100099c30 in agread ()
#7 0x0000000100021d25 in gvNextInputGraph ()
#8 0x0000000100001c25 in main ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant