Number: 809
Title: graphviz 2.6 and 2.7 crash in init_rank
Submitter: John Robinson
Date: Thu Oct 20 12:53:17 2005
Subsys: Dot
Version: dot version 2.7.20051020.0440 (Thu Oct 20 06:40:19 UTC 2005)
System: x86-Linux-2.6.12-1.1456_FC4 #1 Thu Sep 22 02:11:40 EDT 2005
Severity: minor
Problem:
The parameter [rank=max] in a subgraph of a DAG segfaults.

gsb stacktrace:


#0  0x00b95ffe in xml_string () from /usr/lib/graphviz/libgvc.so.2
#1  0x00b96016 in xml_string () from /usr/lib/graphviz/libgvc.so.2
#2  0x00b96016 in xml_string () from /usr/lib/graphviz/libgvc.so.2
#3  0x00b969da in rank () from /usr/lib/graphviz/libgvc.so.2
#4  0x0012ace8 in dot_rank ()
   from /usr/lib/graphviz/libgvplugin_dot_layout.so.2
#5  0x0012484a in dot_layout ()
   from /usr/lib/graphviz/libgvplugin_dot_layout.so.2
#6  0x00b8176b in gvLayoutJobs () from /usr/lib/graphviz/libgvc.so.2
#7  0x08048bf2 in ?? ()
#8  0x0049ed5f in __libc_start_main () from /lib/libc.so.6
#9  0x08048931 in ?? ()

Input:
 digraph G {
 graph [rankdir=BT]
 subgraph title { graph [rank=max]
  9999999 [label = " SITE INDEPENDENT ", shape=box]; };
 0[label = "Root", color = "green"];
 1[label = "ValExpNode", color = "green"];
 1->0 [label = "V",color = "black"];
 }
Comments: Observed the same problem once fedora RHN sent me versoin 2.6.
Fix: sorry, not a redhat developer yet...
Owner: north
Status: Fixed (26 Jan 2006)