#383261 Segmentation fault in dot_concentrate() from libgvplugin_dot_layout.so.2

Package:
graphviz
Source:
graphviz
Description:
rich set of graph drawing tools
Submitter:
Max
Date:
2021-06-23 15:03:02 UTC
Severity:
important
Tags:
#383261#5
Date:
2006-08-16 00:37:17 UTC
From:
To:
graphviz segfauls on a valid input file.
That file can be downloaded at ftp://weird.da.ru/bugs/h.dot.bz2

====
$ dot -v -Tpng -oh.png h.dot
The plugin configuration file:
        /usr/lib/graphviz/config
                was successfully loaded.
    render      :  canon cmap cmapx dia dot fig gd gd2 gif hpgl imap
ismap jpeg jpg mif mp pcl pic plain plain-ext png ps ps2 svg svgz vrml
vtx wbmp xdot
    layout      :  circo dot fdp neato nop nop1 nop2 twopi
    textlayout  :
    device      :
    usershape   :  png-gd
dot: fontname=Times-Roman
fontpath=/var/lib/defoma/fontconfig.d/N/NimbusRomNo9L-Regu.pfm
network simplex: 19053 nodes 19354 edges 0 iter 8.82 sec
network simplex: 13 nodes 12 edges 0 iter 0.00 sec
Segmentation fault
====

#383261#10
Date:
2007-04-26 13:29:36 UTC
From:
To:
Max <relf@os2.ru> (15/08/2006):

Hi Max,

thanks for your report. I'm able to reproduce on 2.8-2.6 and 2.12-1
(currently in NEW, but available on[1] if you want to have a look).
I'll enable debug symbol and report it back to upstream once I've got
some clues. I don't know whether it could be related to the size of your
file (as in: the number of lines).

 1. http://kibi.sysif.net/pub/packages/graphviz-2.12/

Cheers,

#383261#15
Date:
2007-05-10 22:55:43 UTC
From:
To:
forwarded 383261 http://graphviz.org/bugs/b998.html
thanks

Max <relf@os2.ru> (15/08/2006):

Still occurs with 2.12-2, unfortunately (libgvplugin_dot_layout.so.3).
Upstream is aware of this, this has been forwarded some time ago, but
there's no solution yet.

Cheers,

#383261#26
Date:
2021-06-23 15:02:06 UTC
From:
To:
This bug is still present in 2.42.2-5.

I have a very short dot file with which it can be reproduced:

digraph {
	graph [concentrate=true]
	n1 -> n2
	n1 -> n3
	n1 -> n5
	n1 -> n5
	n4 -> n2
	n4 -> n3
	n2 -> n5
	n5 -> n1
}