I checked if O3->O2 alone would also fix the issue - it does.

Julian had a great suggestion:
"""
I'd argue disable -O3; but it may also be fruitful to look where it crashes and 
force -O2 for that function using `attribute((optimize(2))` (re @paelzer: Hi, 
if LTO+O3 ...)
"""

Before the debugging refused to be nice, even with debuginfod fetching all the 
symbols it was not generating helpful stack traces. Now that we can build and 
trigger from local git it might be worth a try.
If it can be found, try that.
If it refuses still, change it to use O2 globally.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to