Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001390graphvizFdppublic2008-08-21 06:262011-04-28 04:03
ReporterJesus Romero de Pablos 
Assigned Toerg 
PrioritynormalSeveritycriticalReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOS*-Linux-RHEL 4.6OS Version
Summary0001390: fdp "Segment violation" when 2 edges begin at the same cluster.
Description
When I try to make 2 edges that begin at the same cluster the fdp command return the error: "Segment Violation".
Steps To Reproduce

This simple "dot" code compile normally:

<CD>
digraph G{
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 "cluster_1" -> "2.1";
 "cluster_2" -> "1.1";

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_2"{
  fontsize=45;
  fontcolor=mediumblue;
  label="2";
  style=bold;
  color=mediumblue;
  "2.1";
  "2.2";
 }
}
</CD>

This simple dot code have the error "Segment Violation", is the same code but i try to make 2 edges that begin from the cluster "cluster_1":

<CD>
digraph G{
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 "cluster_1" -> "2.1";
 "cluster_1" -> "2.2";
 "cluster_2" -> "1.1";

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_2"{
  fontsize=45;
  fontcolor=mediumblue;
  label="2";
  style=bold;
  color=mediumblue;
  "2.1";
  "2.2";
 }
}
</CD>

This simple dot code have the error "Segment Violation" too. In this case I make a new cluster and change de end of the second edge that begin in "cluster_1":

<CD>
digraph G{
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 "cluster_1" -> "2.1";
 "cluster_1" -> "3.1";
 "cluster_2" -> "1.1";

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_2"{
  fontsize=45;
  fontcolor=mediumblue;
  label="2";
  style=bold;
  color=mediumblue;
  "2.1";
  "2.2";
 }
 subgraph "cluster_3"{
  fontsize=45;
  fontcolor=mediumblue;
  label="2";
  style=bold;
  color=mediumblue;
  "3.1";
  "3.2";
 }

}
</CD>

This simple dot code compile normally. In this code I make the same test but using simple nodes not clusters.

<CD>
digraph G{
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 "1.1" -> "2.1";
 "1.1" -> "2.2";
 "1.2" -> "3.1";

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_2"{
  fontsize=45;
  fontcolor=mediumblue;
  label="2";
  style=bold;
  color=mediumblue;
  "2.1";
  "2.2";
 }

}
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1426
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1426.txt [^]
STATUS-COMMENT*
VERSION     2.20.2 (Thu Aug 21 01:45:13 UTC 2008)
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