Skip to content

setting pack attributes can cause dot to crash

Steps to reproduce

[all three examples use the bevy.gv file that is referenced in #2475]

dot bevy.gv -Tsvg -Gpackmode=array_t99999
dot bevy.gv -Tsvg -Gpackmode=graph
dot bevy.gv -Tsvg -Gpack=true

Expected Behaviour

Successful, rapid completion of dot.

Actual Behaviour

dot bevy.gv -Tsvg -Gpackmode=array_t99999
dot: ccomps.c:410: mapClust: Assertion `op' failed.

dot bevy.gv  -Gpackmode=graph
dot: ccomps.c:410: mapClust: Assertion `op' failed.

dot bevy.gv  -Gpack=true
dot: ccomps.c:410: mapClust: Assertion `op' failed

OS Version

Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Graphviz Version

dot - graphviz version 12.0.0~dev.20240604.2316 (20240604.2316)

Additional info

dot XXX.gv -Tsvg -Gpackmode=array_t99999 does not fail for other inputs