Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000756graphvizCircopublic2007-08-14 04:462011-04-28 04:03
ReporterLi Long 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-2.6.10-1.770_FC3OS Version
Summary0000756: circo has "Segmentation fault" when processing more than 1 graphs
Description



There seems to be a bug in gvFreeLayout in graphviz 2.14 for circo.
It doesn't seem to be specific to OS/architecture.



It's a major problem when using graphviz as drawing libs.



After compile/install graphviz-2.14 on Linux (plain configure/make w/o
setting any specific options), run circo (using examples
in graphs/{directed, undirected} from distribution:
<CD>
bash-3.00$ gdb circo
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
..gdb info...
(gdb) run -Tpng -Kcirco -oll_test.png graphs/directed/clust1.dot graphs/directed/jcctree.dot
Starting program: /home/vital-it/lilong/bin/graphviz-2.14/bin/circo -Tpng -Kcirco -oll_test.png graphs/directed/clust1.dot graphs/directed/jcctree.dot



Program received signal SIGSEGV, Segmentation fault.
0x00a35255 in agfstnode (g=0x90) at node.c:92
92 return (Agnode_t *) dtfirst(g->nodes);
(gdb) where
#0 0x00a35255 in agfstnode (g=0x90) at node.c:92
0000001 0x0013b48f in circo_cleanup (g=0x8b47c80) at circularinit.c:220
0000002 0x00385c56 in gvFreeLayout (gvc=0x8b40428, g=0x8b47c80) at gvlayout.c:86
0000003 0x08048a10 in main (argc=6, argv=0xbff49074) at dot.c:177
(gdb) run -Tpng -Kcirco -oll_test.png graphs/undirected/Petersen.dot graphs/undirected/process.dot
The program being debugged has been started already.
Start it from the beginning? (y or n) y



Starting program: /home/vital-it/lilong/bin/graphviz-2.14/bin/circo -Tpng -Kcirco -oll_test.png graphs/undirected/Petersen.dot graphs/undirected/process.dot



Program received signal SIGSEGV, Segmentation fault.
0x002f0260 in agfstnode (g=0x0) at node.c:92
92 return (Agnode_t *) dtfirst(g->nodes);
(gdb) where
#0 0x002f0260 in agfstnode (g=0x0) at node.c:92
0000001 0x00df548f in circo_cleanup (g=0x87e6c80) at circularinit.c:220
0000002 0x00e0fc56 in gvFreeLayout (gvc=0x87df428, g=0x87e6c80) at gvlayout.c:86
0000003 0x08048a10 in main (argc=6, argv=0xbff78824) at dot.c:177
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1167
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (14 Aug 2007)
VERSION     2.14
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 => erg


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