Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001322graphvizDotpublic2008-05-12 18:102011-04-28 04:03
Reporteruser695 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOS*-*-OS Version
Summary0001322: flat edge bug
Description



This bug report from a Ubuntu
(https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/229516 [^])
with graphviz-2.16 user contains an unterminated graph.
But if I terminate the graph (attached) I can reproduce the problem
with graphviz-2.18.






Its a flat-edge problem.



Most of the virtual nodes in the rank are ok, but the pointer is corrupted to the one that results in the crash.



Not sure where these arrays of vnodes are created?



<CD>
(gdb) p r
$19 = 1
(gdb) p i
$20 = 3
(gdb) p g->u.rank[1].n
$21 = 7
(gdb) p g->u.rank[r].v[i]
$22 = (node_t *) 0x6ae0d0
(gdb) c
Continuing.



Breakpoint 1, flat_reorder (g=0x614a50) at mincross.c:981
981 MARK(GD_rank(g)[r].v[i]) = FALSE;
(gdb) p r
$23 = 1
(gdb) p i
$24 = 4
(gdb) p g->u.rank[r].v[i]
$25 = (node_t *) 0x1006ae320
(gdb) c
Continuing.



Program received signal SIGSEGV, Segmentation fault.
flat_reorder (g=0x614a50) at mincross.c:981
981 MARK(GD_rank(g)[r].v[i]) = FALSE;
(gdb) p g->u.minrank
$26 = 0
(gdb) p g->u.maxrank
$27 = 2
(gdb) p g->u.rank[r].n
$28 = 7
(gdb)
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1355
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.18
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