Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002596graphvizDotpublic2016-04-08 08:192016-04-11 09:42
Reporterahonorat 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSMint 17 and Fedora 21OS Version
Summary0002596: Segmentation Fault with ports if duplicated transitions
DescriptionWhen having some identical not labelled transitions with ports, dot crashes with a segmentation fault (tried with version 2.36 on Mint 17 and 2.38 on Fedora 21).

Steps To ReproduceThe following MWE produces a segmentation fault:

digraph G {

// c594 [label=<<table title="algos.common_data_rep.WeaklyConnectedComponent" port="p">
// <tr><td> WeaklyConnectedComponent </td></tr> </table>>];
// c595 [label=<<table title="algos.common_data_rep.Actor" port="p">
// <tr><td> Actor </td></tr> </table>>];
// c604 [label=<<table title="algos.ars.GraphPartitioning" port="p">
// <tr><td> GraphPartitioning </td></tr> </table>>];

node [shape=record];
c594 [label="

WeaklyConnectedComponent"];
c595 [label="

Actor"];
c604 [label="

GraphPartitioning"];

c594:p -> c595:p ;
c604:p -> c595:p ; //[label="tata"];
c604:p -> c595:p ; //[label="tata"];
c604:p -> c594:p ;

}

(content of test.dot)

The problem is the same if the ports are declared with <..> syntax or with an HTML node attribute. Adding non empty label to the duplicated transitions corrects the issue.

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.36 & 2.38
Attached Filesdot file icon test.dot (Attachment missing)

- Relationships

-  Notes
User avatar (0001048)
ahonorat (reporter)
2016-04-11 09:42
edited on: 2016-04-13 04:40

I have tried again to repoduce the bug, this time with the last version available on the github repository. It "seems" to have been fixed in version 2.39.

I say "seems" because I actually cannot build correctly dot, so the export in jpg or png is not available and graphviz/config6 file contains related errors :
#FAILS png:vrml 1
#FAILS gif:vrml 1
#FAILS jpeg:vrml 1
#FAILS jpe:vrml 1
#FAILS jpg:vrml 1
Also I've had some trouble with edgepaint binary, I had to remove "-lstdc++" from cmd/edgepaint/Makefile.in (note that I use g++-5.3, which is only available in tests repositories with Mint 17).

But in any cases, the described bug was reproductible on version 2.38 even without exporting the result to an image.


- Issue History
Date Modified Username Field Change
2016-04-08 08:19 ahonorat New Issue
2016-04-08 08:19 ahonorat File Added: test.dot
2016-04-11 09:42 ahonorat Note Added: 0001048
2016-04-13 04:40 ahonorat Note Edited: 0001048 View Revisions


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