Package: graphviz
Version: 2.26.3-12
Severity: normal

The attached input file, also copied below, crashed dot:

  $ dot < storyboard/dot-crashes-on-this.dot 
  Warning: DC was already in a rankset, ignored in cluster G
  Warning: A was already in a rankset, ignored in cluster G
  dot: position.c:136: dot_position: Assertion `rank(g, 2, nsiter2(g)) == 0' 
failed.
  Aborted (core dumped)

(Uncommenting the three commented-out lines turns the assertion failure
into a segmentation fault.)  I haven't managed to compile 2.28 to test
whether the newer dot also fails on this input.

The file:

digraph G {
  subgraph cluster_DC {
    DC;
  }

  subgraph cluster_A {
    2;
    3;
    A;
  }

  {rank=same;
          DC;
          A;
          S;
          PR;
          DA;
          PB;
          EC;
          SP;
          }

1 [label="dinner-\nparty\nrecipe"];
2 [label="infinite\nresistive\ngrid\n(horizontal)"];
3 [label="resistive\nladder"];
// 39 [label="P_human"];
1 -> PR ;
// S -> 39 ;
// A -> 3 ;
3 -> 2 ;
}

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages graphviz depends on:
ii  libc6       2.13-37
ii  libcdt4     2.26.3-12
ii  libcgraph5  2.26.3-12
ii  libexpat1   2.1.0-1
ii  libgd2-xpm  2.0.36~rc1~dfsg-6.1
ii  libgraph4   2.26.3-12
ii  libgvc5     2.26.3-12
ii  libgvpr1    2.26.3-12
ii  libx11-6    2:1.5.0-1
ii  libxaw7     2:1.0.10-2
ii  libxmu6     2:1.1.1-1
ii  libxt6      1:1.1.3-1

Versions of packages graphviz recommends:
ii  ttf-liberation  1.07.2-6

Versions of packages graphviz suggests:
ii  graphviz-doc  2.28.0-1
ii  gsfonts       1:8.11+urwcyr1.0.7~pre44-4.2

-- no debconf information

-- 
-Sanjoy

<http://savelongwharfpark.org/>
Save Long Wharf Park in Boston Harbor!

<http://streetfightingmath.com/>
Six reasoning tools to make hard problems easy.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to