Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001067graphvizDotpublic2006-02-27 09:402011-04-28 04:03
ReporterGuillaume POIRIER 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0001067: Dot segfaults when some nodes are used as source, doesn't with others
Description



command:
dot -Tps -o $psfile $dotfile



The problem lies here:
_0x82d71f0 -> _0x82d8d68[ color="green",fontcolor="green" style="dotted" label="war"]
if "_0x82d71f0" is replace by "_0x82d4e88" for example, it doesn't segfault.



Is that a known problem?
Steps To Reproduce

digraph Tree{
    node [fontsize=10 shape=record,style=filled];
    _0x82d4e88 [color="lightblue2",label = "{T3[0]\nld\noffset = 0\nstride = 1\ntype = 0\nlatency = 8\nunroll = 0\nstep = 1\n|{<dst0>data|<dst1>addr}}"];
     _0x82d4e88:dst0 -> _0x82d71f0:src1[fontsize=10 label="vr204" color="red",fontcolor="red"]
     _0x82d4e88:dst0 -> _0x82d8d68:src0:src1[fontsize=10 label="vr204" color="red",fontcolor="red"]
     _0x82d4e88:dst0 -> _0x82d8d68:src0:src1[fontsize=10 label="vr204" color="red",fontcolor="red"]
    _0x82d71f0 [color="lightyellow1",label = "{{<src0>0|<src1>1}|binop\nop = add\narg = 136451544\noffset = 136451632\nstride = 136451808\ntype = 2\nlatency = 0\nunroll = 0\nstep = 2\n}"];
     _0x82d71f0 -> _0x82d71f0:src0[fontsize=10 label="vr202" color="red",fontcolor="red"]
     _0x82d71f0 -> _0x82cfaa0[fontsize=10 label="vr202" color="red",fontcolor="red"]
    _0x82cfaa0 [label = "{acc\nop = add\narg = 997\nstride = 999\ntype = 2\nlatency = 0\nunroll = 0\nstep = 3\n}"];
    _0x82d8d68 [color="lightyellow1",label = "{{<src0>0|<src1>1}|binop\nop = mul\narg = 577135986\noffset = 1887007753\nstride = 577921384\ntype = 3\nlatency = 0\nunroll = 0\nstep = 2\n}"];
     _0x82d8d68 -> _0x82d9b30:src1[fontsize=10 label="vr204" color="red",fontcolor="red"]
    _0x82d9b30 [color="lightyellow1",label = "{{<src0>0|<src1>1}|binop\nop = add\narg = 0\noffset = 0\nstride = 0\ntype = 2\nlatency = 0\nunroll = 0\nstep = 3\n}"];
     _0x82d9b30 -> _0x82d9b30:src0[fontsize=10 label="vr206" color="red",fontcolor="red"]
     _0x82d9b30 -> _0x82da928[fontsize=10 label="vr206" color="red",fontcolor="red"]
    _0x82da928 [label = "{acc\nop = add\narg = 0\noffset = 0\nstride = 0\ntype = 2\nlatency = 0\nunroll = 0\nstep = 4\n}"];
    _0x82cb888 [label = "{br\ntype = 12\nunroll = 0\n}"];
    { node [shape=plaintext, fontsize=12] 1 -> 2 -> 3 -> 4; }
    { rank=same; 1; _0x82d4e88 }
    { rank=same; 2; _0x82d71f0; _0x82d8d68 }
    { rank=same; 3; _0x82cfaa0; _0x82d9b30 }
    { rank=same; 4; _0x82da928 }
    _0x82d71f0 -> _0x82d8d68[ color="green",fontcolor="green" style="dotted" label="war"]
}
Additional Information

[ellson] I can't reproduce the segfault with graphviz-2.8, so it seems the problem has been fixed.

I do get two warnings from your graph though:
<CD>
   $ dot -Tps tree.dot >tree.ps
   Warning: node _0x82d8d68, port src0, unrecognized compass point 'src1' - ignored
   Warning: node _0x82d8d68, port src0, unrecognized compass point 'src1' - ignored
</CD>

[poirierg] Yes, Indeed. I downloaded and compiled an updated version, and it
works like a charm.
Sorry for the false alarm.

Too bad Debian doesn't have any version more rencent than 2.2 as I
kept hitting lotsa bugs with 2.2. I hope that now that I've got 2.8 it
will be okay.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID889
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     dot version 2.2.1 (Fri Sep 30 13:22:44 UTC 2005)
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 => user695


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