Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001367graphvizDotpublic2008-07-28 17:492011-04-28 04:03
ReporterAleksey Nogin 
Assigned Togviz 
PrioritynormalSeveritycriticalReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-RHEL 5.2OS Version
Summary0001367: Crash in dot when using "corner" ports.
Description



The following crashes dot.
<CD>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208367424 (LWP 27778)]
makeFlatEnd (sp=0xbfdfa8b8, P=0x85c9348, n=0x8599b58, e=0x8599cd0, endp=0xbfdf5e5c, isBegin=0 '\0')
    at dotsplines.c:982
982 b.UR.y = endp->boxes[endp->boxn - 1].UR.y;
(gdb) bt
#0 makeFlatEnd (sp=0xbfdfa8b8, P=0x85c9348, n=0x8599b58, e=0x8599cd0, endp=0xbfdf5e5c, isBegin=0 '\0')
    at dotsplines.c:982
0000001 0x00ed71de in make_flat_edge (sp=0xbfdfa8b8, P=0x85c9348, edges=0x85cac00, ind=1, cnt=1, et=8)
    at dotsplines.c:1217
0000002 0x00ed5c52 in _dot_splines (g=0x85986f8, normalize=1) at dotsplines.c:393
0000003 0x00eca9d6 in dot_layout (g=0x85986f8) at dotinit.c:212
0000004 0x0030be18 in gvLayoutJobs (gvc=0x858d428, g=0x85986f8) at gvlayout.c:69
0000005 0x08048992 in main (argc=2, argv=Cannot access memory at address 0x8e
) at dot.c:180
0000006 0x00ae6dec in __libc_start_main () from /lib/libc.so.6
0000007 0x08048801 in _start ()
</CD>
Steps To Reproduce

strict digraph G {
   edge [constraint = false];
   Node1 -> Node2; Node1:sw -> Node3:ne;
};
Additional Information

If I use "s" in place of "sw" _or_ "n" in place of "ne", it does not
crash. This might be related to bugs 1370, 1372.

[erg] Works okay in 2.12.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1401
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.21.20080727.0445
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