Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Trevor Stone
Tue, 27 Oct 2026 01:40
Bug#1152240: graphviz: gvpr limited to 32 bit numbers
Author: Trevor Stone
Date: Tue, 27 Oct 2026 01:40
Date: Tue, 27 Oct 2026 01:40
75 lines
3877 bytes
3877 bytes
Package: graphviz
Version: 2.42.4-3
Severity: normal
X-Debbugs-Cc: debian@trevorstone.org
Dear Maintainer,
The gvpr graphviz scripting language is limited to 32-bit integers on
Debian trixie. This is a regression from bookworm, which correctly
handled 64-bit integers. An easy repro example:
gvpr 'BEG_G {
for (i = 1; i <= 8; i = i * 2)
printf("%d %d\n", i * 1024*1024*1024-1, i * 1024*1024*1024)
}' <<<'graph { a -- b }'
On Ubuntu 24.04 (graphviz 2.42.2-9ubuntu0.1) this correctly shows
numbers exceeding 2^31:
1073741823 1073741824
2147483647 2147483648
4294967295 4294967296
8589934591 8589934592
On Debian trixie (graphviz 2.42.4-3) this wraps after 2^32-1:
1073741823 1073741824
2147483647 -2147483648
-1 0
-1 0
I didn't test this particular program on bookworm (2.42.2 series) before
upgrading to trixie, but I do know I successfully ran gvpr scripts with
64-bit integer values on bookworm on the same computer (Acer ChromeOS
laptop), https://github.com/flwyd/adventofcode/blob/main/2025/day11/day11.zsh
with my actual input (which is private, but I can share if needed).
-- System Information:
Debian Release: 13.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.6.143-09589-gf9e106250941 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages graphviz depends on:
ii libann0 1.1.2+doc-9+b1
ii libc6 2.41-12+deb13u4
ii libcdt5 2.42.4-3
ii libcgraph6 2.42.4-3
ii libexpat1 2.8.3-1~deb13u1
ii libgcc-s1 14.2.0-19
ii libgd3 2.3.3-14~deb13u1
ii libglib2.0-0t64 2.84.4-3~deb13u5
ii libgts-0.7-5t64 0.7.6+darcs121130-5.2+b1
ii libgvc6 2.42.4-3
ii libgvpr2 2.42.4-3
ii liblab-gamut1 2.42.4-3
ii libstdc++6 14.2.0-19
ii libx11-6 2:1.8.12-1
ii libxaw7 2:1.0.16-1
ii libxmu6 2:1.1.3-3+b4
ii libxt6t64 1:1.2.1-1.2+b2
Versions of packages graphviz recommends:
ii fonts-liberation 1:2.1.5-3
Versions of packages graphviz suggests:
ii graphviz-doc 2.42.4-3
pn gsfonts <none>
-- no debconf information
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads