Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002033graphvizDotpublic2011-01-26 17:472011-04-28 04:03
ReporterBen Smith 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-Fedora 12OS Version
Summary0002033: cluster and rank causes abort
Description



A dot file I'm using works under 2.20.3 but causes "Aborted (core dumped)"
on 2.26.3.



I noticed that changing the number of letters in the A_1 record label or
removing the rank changes whether dot crashes or not.
Steps To Reproduce

digraph G
{
    A_1:a -> A_2:a;

    subgraph clusterA
    {
        A_1 [shape=record,label="{<a>AAAAAA|CCC}"];
        A_2 [shape=record,label="{<a>A|BB}"];

        {rank=same; A_1; A_2;}
    }
}
Additional Information

Here's a version of the graph that does not crash:
<CD>
digraph G
{
    A_1:a -> A_2:a;

    subgraph clusterA
    {
        A_1 [shape=record,label="{<a>AAAA|CCC}"];
        A_2 [shape=record,label="{<a>A|BB}"];

        {rank=same; A_1; A_2;}
    }
}
</CD>

<additional_information><![CDATA[

[erg] This doesn't abort on osx but the output is still wrong.
The problem appears to pre-date 2.24.

A workaround to consider is to use HTML-like labels. For example,
<CD>
   A_1 [shape=none,label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD port="a">AAAAAA</TD></TR>
<TR><TD>CCC</TD></TR></TABLE>>]
</CD>
Being XML-based, it is not as elegant as the record syntax, but it is more extensible.

[ben]
Thanks for responding to my bug report so quickly. That works great and forced me to try out the HTML labels, which I now understand the power of.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2118
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.26.3
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