Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002044graphvizDotpublic2011-02-07 08:422011-04-28 04:03
ReporterMax Keuken 
Assigned Togviz 
PlatformOSOther-OSX-snowleopardOS Version
Summary0002044: subgraph crash after updating graph, Mac specific

When I save my text file to update the edges graphviz crashes.

The code that seems to cause it is the following:

Pallidum[label = <
        <TD ROWSPAN="3" PORT="GPi">GPi</TD>
        <TD ROWSPAN="3" PORT="GPe">GPe</TD>
        <TD ROWSPAN="3" PORT="Ventral_Pallidum">Ventral Pallidum</TD>
    </TABLE>> ];

subgraph clusterBG { Striatum;
                     [label = "BG"]
It will not crash if I remove the "Pallidum" from the subgraph "clusterBG"

The file runs fine if a friend of mine runs it on a linux comp (version 2.27).

So first thought it was a version error and updated to 2.27 for mac but still got the same crash
Additional Information

The input graph is not legal dot. For example, you have
subgraph clusterBG { Striatum;
                        [label = "BG"]

Assuming the label is meant for the cluster, there shouldn't be
any square brackets around it.

If you run /usr/local/bin/dot on your graph, you'll get error messages,
but apparently the accepts this.

\<A HREF="b2130a.gv"\>Here\</A\> is a cleaned-up version.

To clarify, are you saying that you start on your graph,
then use File -> Export, and then the crash occurs?

When I try, using both the original graph and a corrected version,
everything is fine on Leopard, but on Snow Leopard, both cause
Graphviz to crash. However, /usr/local/bin/dot works fine on the
corrected input.

Hi Emden, for starters thanks for looking into it. Regarding you question, graphviz crashes when it tries to load the .gv file either via export or when it is alreadu open and i save the updated file via text editor. It also crashes when opening the .gv file via the finder.
About the label part, i doubt that that is really the problem since the other three subgraph clusters with a label work fine. Instead of it being something to do with the code it self it seems to be an issue of snowleopard and graphviz interacting.. Since the same code runs on linux and leopard without issues but crashes on two seperate computers bith running snowleopard.
Any other ideas are welcom!

I agree about the label, since I get the crash from a graph with correct
syntax. Unfortunately, running /usr/local/bin/dot on the graph works fine,
so I have no idea how to start debugging this. With luck, Glen will be
able to give it a look.
TagsNo tags attached.
VERSION     2.26
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1

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