Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000579graphvizDotpublic2002-02-09 21:222011-04-28 04:02
ReporterCocea, Laurentiu 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-RedHat 6.2 + UpdatesOS Version
Summary0000579: Dot crash with low complexity graph
Description



Minor changes to the file below, as shown in the "Dot input causing the
bug " section, result in dot terminating with the following error
message:



Error: segment [(125,38),(122,46)] does not intersect box ll=(70,8),ur=(146,46)
dot: compound.c:93: boxIntersect: Assertion `0' failed.



The differences between the two files consist in the lines :
<CD>
    node [style=filled,color=paleturquoise];
    node [shape=ellipse];
    A_CYTO [label="A"];
    node [style=filled,color=paleturquoise];
    node [shape=ellipse];
    C_CYTO [label="C"];
</CD>



and :



<CD>
  edge [style=solid,color=red,arrowhead=normal,arrowtail=none];
  A_CYTO -> C_CYTO;
</CD>



present only in the input causing the bug.



Any helpful suggestion would be graetly appreciated.



<CD>
// input that is displayed correctly
digraph "map9.dsml" {
  node [fontname=cour,fontsize=10,width=0.1,height=0.1];
  compound = true;
  subgraph cluster_CYTO {
    label = "CYTO";
    color = lightgray;
    fontname = cour;
    fontsize = 12;
    node [style=filled,color=palegoldenrod];
    node [shape=record];
    X_CYTOY_CYTO [label = "{ X | Y }"];
    subgraph cluster_M_CYTON_CYTO {
      label = "";
      color = black;
      node [style=filled,color=lightpink];
      node [shape=ellipse];
      M_CYTON_CYTOM_CYTO [label="M"];
      M_CYTON_CYTON_CYTO [label="N"];
    }
  }
  subgraph cluster_NUCL {
    label = "NUCL";
    color = lightgray;
    fontname = cour;
    fontsize = 12;
    node [style=filled,color=palegoldenrod];
    node [shape=record];
    X_NUCLY_NUCL [label = "{ X | Y }"];
    subgraph cluster_M_NUCLN_NUCL {
      label = "";
      color = black;
      node [style=filled,color=lightpink];
      node [shape=ellipse];
      M_NUCLN_NUCLM_NUCL [label="M"];
      M_NUCLN_NUCLN_NUCL [label="N"];
    }
  }
  edge [style=dashed,color=black,arrowhead=normal,arrowtail=none];
  X_CYTOY_CYTO -> X_NUCLY_NUCL;
  M_CYTON_CYTOM_CYTO -> M_NUCLN_NUCLM_NUCL [ltail=cluster_M_CYTON_CYTO,lhead=cluster_M_NUCLN_NUCL];
</CD>
}
Steps To Reproduce

// input that causes a bug
digraph "map9.dsml" {
  node [fontname=cour,fontsize=10,width=0.1,height=0.1];
  compound = true;
  subgraph cluster_CYTO {
    label = "CYTO";
    color = lightgray;
    fontname = cour;
    fontsize = 12;
    node [style=filled,color=paleturquoise];
    node [shape=ellipse];
    A_CYTO [label="A"];
    node [style=filled,color=paleturquoise];
    node [shape=ellipse];
    C_CYTO [label="C"];
    node [style=filled,color=palegoldenrod];
    node [shape=record];
    X_CYTOY_CYTO [label = "{ X | Y }"];
    subgraph cluster_M_CYTON_CYTO {
      label = "";
      color = black;
      node [style=filled,color=lightpink];
      node [shape=ellipse];
      M_CYTON_CYTOM_CYTO [label="M"];
      M_CYTON_CYTON_CYTO [label="N"];
    }
  }
  edge [style=solid,color=red,arrowhead=normal,arrowtail=none];
  A_CYTO -> C_CYTO;
  subgraph cluster_NUCL {
    label = "NUCL";
    color = lightgray;
    fontname = cour;
    fontsize = 12;
    node [style=filled,color=palegoldenrod];
    node [shape=record];
    X_NUCLY_NUCL [label = "{ X | Y }"];
    subgraph cluster_M_NUCLN_NUCL {
      label = "";
      color = black;
      node [style=filled,color=lightpink];
      node [shape=ellipse];
      M_NUCLN_NUCLM_NUCL [label="M"];
      M_NUCLN_NUCLN_NUCL [label="N"];
    }
  }
  edge [style=dashed,color=black,arrowhead=normal,arrowtail=none];
  X_CYTOY_CYTO -> X_NUCLY_NUCL;
  M_CYTON_CYTOM_CYTO -> M_NUCLN_NUCLM_NUCL [ltail=cluster_M_CYTON_CYTO,lhead=cluster_M_NUCLN_NUCL];
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID83
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.7.16-0
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => erg


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