Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002327graphvizOther toolspublic2013-08-13 17:272013-08-22 21:57
Assigned Toerg 
Platformx86_64OSLinuxOS VersionDebian Sid
Summary0002327: gvpack crashes with cluster_* in cloneCluster()
DescriptionRunning gvpack on the attached file results in a SIGSEGV.

The backtrace is:

#0 0x00000000004029bd in cloneCluster (old=0x64f3b0, new=0x0) at gvpack.c:438
0000001 0x00000000004030f4 in cloneClusterTree (g=0x64f3b0, ng=0x0) at gvpack.c:733
0000002 0x000000000040371d in cloneGraph (gs=0x8341e0, cnt=9, gvc=0x606760) at gvpack.c:855
0000003 0x0000000000403b40 in main (argc=2, argv=0x7fffffffe618) at gvpack.c:1030

The input file causing the crash is attached. I got it by simplifying a real-world input file that I got via "unflatten -c 2 | ccomps -C -x | dot". Feeding it into gvpack caused the crash.

Renaming the subgraph so that it's not a cluster makes the crash go away.
Steps To ReproduceRun "gvpack". ( is attached to this report)
Additional Informationnot reproducible with gvpack from Debian Sid (2.26.3-15)
Tagssegmentation fault
VERSIONgit master 9bbbcc24b501f36094328a3de1d453d81b664408
Attached Filesdot file icon [^] (87 bytes) 2013-08-13 17:27

- Relationships

-  Notes
User avatar (0000436)
erg (administrator)
2013-08-22 21:57

The problem is that the input graph is empty. We now check for that.

- Issue History
Date Modified Username Field Change
2013-08-13 17:27 zub New Issue
2013-08-13 17:27 zub File Added:
2013-08-13 17:27 zub Tag Attached: segmentation fault
2013-08-22 21:57 erg Note Added: 0000436
2013-08-22 21:57 erg Assigned To => erg
2013-08-22 21:57 erg Status new => resolved
2013-08-22 21:57 erg Resolution open => fixed

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