Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000144graphvizDotpublic2001-05-31 09:312011-04-28 04:02
ReporterBob LIed 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000144: core dump for "rank = min"
Description



dot dumps core on some graphs where rank=min
is specified. Tracked this to a wrong null
pointer check in dotneato/dotgen/dot.c, minmax_edges().



See below for the patch I used



Sorry for the length of the example
Steps To Reproduce

digraph G {
        rankdir=LR;
node [shape=box];
        size = "7.5,10.0";
ratio = "fill";
center =1;

        /* Node Definitions */


        dc1 [shape=plaintext,label="DC 1"];
        dc10 [shape=plaintext,label="DC 10"];
        dc100 [shape=plaintext,label="DC 100"];

        { rank = same; "dc1"; "dc10"; "dc100"; }

        /* Link Definitions */

        /* Marking Unused Dialing Plans */

        no_dc [shape=plaintext,label="NOTHING"];
        { rank = min; "no_dc"; }
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
dotneato/dotgen/rank.c in function minmax_edges()
<CD>
    srclen = sinklen = 0;
    if ((g->u.maxset == NULL) && (g->u.minset == NULL)) return;
#ifdef RL_2001_05_30_BUGFIX
    /* We returned for both pointers NULL, but not if either one. */
    g->u.mi
FORMER-ID22
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.7.6
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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