Bug#1119070: Undefined Behavior in Armagetron Advanced Code
Manuel Moos
manuel at moosnet.de
Sun Oct 26 15:06:53 GMT 2025
Package: armagetronad
Version: 0.2.9.1.1-1
Upstream developer here. I can't report any actual errors, I am not
regularly using Debian. But in the source version you are using, there
is Undefined Behavior in our linked list management. As these things go,
it has been without consequence for twenty years, but recently, on
Ubuntu and Fedora, compiler advancements have lead to the release of the
corresponding nasal demons.
Namely: In Fedora 39, it caused the online browser to enter an endless
loop: https://gitlab.com/armagetronad/armagetronad/-/issues/145
In Ubuntu 25.10, it caused crashes on startup:
https://bugs.launchpad.net/ubuntu/+source/armagetronad/+bug/2127929
The circumstance to reproduce the startup crash on Ubuntu was the use of
GCC 15.2 and the compiler options CXXFLAGS="-flto=auto -ffat-lto-objects".
Both bug database links contain links to minimal patches that can be
applied to the 0.2.9.1.1 source to fix the UB. In our upstream source
version 0.2.9.2.X, the bug is also fixed.
I would suggest upgrading the source (but wait a bit, I may have a good
handle on the startup bug #905865) for the next release, before problems
appear. Apply the patch if problems are already affecting current builds.
More information about the Pkg-games-devel
mailing list