[Bug 2089779] Re: Buffer overflow in autopkgtest of wesnoth
Christian Ehrhardt
2089779 at bugs.launchpad.net
Mon Dec 2 12:45:18 UTC 2024
I could now, knowing that it is O3+LTO also reproduce it with upstream
git :-)
I checked the former 2.30.6 which would also behave the same way if LTO
and O3 are enabled, so at the end it wasn't the new version of libsdl2
at all.
I submitted it to upstream for their awareness.
Reproducible builds:
- https://github.com/libsdl-org/SDL/issues/11565
- https://github.com/libsdl-org/SDL/pull/11566
LTO+O3 crash:
- https://github.com/libsdl-org/SDL/issues/11567
The options now are fixing it (if upstream wants and can) or disabling LTO or O3.
I've asked Foundations/Doko which they prefer.
Once we know which way we should fix this, we can try and upload with
that.
** Bug watch added: github.com/libsdl-org/SDL/issues #11565
https://github.com/libsdl-org/SDL/issues/11565
** Bug watch added: github.com/libsdl-org/SDL/issues #11567
https://github.com/libsdl-org/SDL/issues/11567
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/2089779
Title:
Buffer overflow in autopkgtest of wesnoth
Status in boost1.83 package in Ubuntu:
Fix Released
Status in libsdl2 package in Ubuntu:
Confirmed
Status in python3-defaults package in Ubuntu:
Fix Released
Status in wesnoth package in Ubuntu:
Triaged
Status in wesnoth-1.18 package in Ubuntu:
Triaged
Bug description:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
plucky/plucky/amd64/w/wesnoth-1.18/20241127_064901_ac814@/log.gz
Repeats on reruns triggered by others.
Blocks multiple migrations, atm
- libsdl2
- python3-defaults
- boost1.83
Unblocking all of these is surely worth it :-)
I'll have a look tomorrow.
229s autopkgtest [06:48:46]: test command1: /usr/games/wesnoth-1.18 -m --controller 1:ai --controller 2:ai --nogui
229s autopkgtest [06:48:46]: test command1: [-----------------------
229s Battle for Wesnoth v1.18.3 x86_64
229s Started on Wed Nov 27 06:48:46 2024
229s
229s Automatically found a possible data directory at: /tmp/autopkgtest.kgIWzV/build.Cyz/src
229s
229s Data directory: /tmp/autopkgtest.kgIWzV/build.Cyz/src
229s User configuration directory: /home/USER/.config/wesnoth-1.18
229s User data directory: /home/USER/.config/wesnoth-1.18
229s Cache directory: /home/USER/.config/wesnoth-1.18/cache
229s
229s
229s error: XDG_RUNTIME_DIR is invalid or not set in the environment.
229s *** buffer overflow detected ***: terminated
230s Aborted (core dumped)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.83/+bug/2089779/+subscriptions
More information about the foundations-bugs
mailing list