Second check good, the non-lto build makes it work.

buntu@autopkgtest:~$ /usr/games/wesnoth-1.18 -m --controller 1:ai --controller 
2:ai --nogui
Battle for Wesnoth v1.18.3 x86_64
Started on Mon Dec  2 12:48:04 2024


Data directory:               /usr/share/games/wesnoth/1.18
User configuration directory: /home/USER/.config/wesnoth-1.18
User data directory:          /home/USER/.config/wesnoth-1.18
Cache directory:              /home/USER/.config/wesnoth-1.18/cache


*** buffer overflow detected ***: terminated
Aborted (core dumped)

ubuntu@autopkgtest:~$ dpkg -l | grep -i sdl
ii  libsdl2-2.0-0:amd64                  2.30.9+dfsg-1build1               
amd64        Simple DirectMedia Layer
ii  libsdl2-image-2.0-0:amd64            2.8.2+dfsg-1build2                
amd64        Image loading library for Simple DirectMedia Layer 2, libraries
ii  libsdl2-mixer-2.0-0:amd64            2.8.0+dfsg-1build3                
amd64        Mixer library for Simple DirectMedia Layer 2, libraries
ubuntu@autopkgtest:~$ apt policy libsdl2-2.0-0
libsdl2-2.0-0:
  Installed: 2.30.9+dfsg-1build1
  Candidate: 2.30.9+dfsg-1build1
  Version table:
     2.30.9+dfsg-1ubunturepronolto1~pluckyppa1 500
        500 
https://ppa.launchpadcontent.net/paelzer/lp-2089779-libsdl-rebuild-2.30.9/ubuntu
 plucky/main amd64 Packages
 *** 2.30.9+dfsg-1build1 995
        100 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.30.6+dfsg-1 500
        500 http://archive.ubuntu.com/ubuntu plucky/main amd64 Packages


ubuntu@autopkgtest:~$ apt install libsdl2-2.0-0
Error: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: 
Permission denied)
Error: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), 
are you root?
ubuntu@autopkgtest:~$ sudo apt install libsdl2-2.0-0
libsdl2-2.0-0 is already the newest version (2.30.9+dfsg-1build1).
libsdl2-2.0-0 set to manually installed.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
ubuntu@autopkgtest:~$ sudo apt install 
libsdl2-2.0-0=2.30.9+dfsg-1ubunturepronolto1~pluckyppa1
Upgrading:                      
  libsdl2-2.0-0

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
  Download size: 905 kB
  Freed space: 81.9 kB

Get:1 
https://ppa.launchpadcontent.net/paelzer/lp-2089779-libsdl-rebuild-2.30.9/ubuntu
 plucky/main amd64 libsdl2-2.0-0 amd64 
2.30.9+dfsg-1ubunturepronolto1~pluckyppa1 [905 kB]
Fetched 905 kB in 1s (1030 kB/s)       
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
79, <STDIN> line 1.)
debconf: falling back to frontend: Readline
(Reading database ... 81227 files and directories currently installed.)
Preparing to unpack 
.../libsdl2-2.0-0_2.30.9+dfsg-1ubunturepronolto1~pluckyppa1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.30.9+dfsg-1ubunturepronolto1~pluckyppa1) over 
(2.30.9+dfsg-1build1) ...
Setting up libsdl2-2.0-0:amd64 (2.30.9+dfsg-1ubunturepronolto1~pluckyppa1) ...
Processing triggers for libc-bin (2.40-1ubuntu3) ...


ubuntu@autopkgtest:~$ ldd /usr/games/wesnoth-1.18 | grep -i sdl
        libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 
(0x0000770c8615b000)
        libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 
(0x0000770c84c00000)
        libSDL2_mixer-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0 
(0x0000770c84e8d000)


ubuntu@autopkgtest:~$ apt policy libsdl2-2.0-0
libsdl2-2.0-0:
  Installed: 2.30.9+dfsg-1ubunturepronolto1~pluckyppa1
  Candidate: 2.30.9+dfsg-1ubunturepronolto1~pluckyppa1
  Version table:
 *** 2.30.9+dfsg-1ubunturepronolto1~pluckyppa1 500
        500 
https://ppa.launchpadcontent.net/paelzer/lp-2089779-libsdl-rebuild-2.30.9/ubuntu
 plucky/main amd64 Packages
        100 /var/lib/dpkg/status
     2.30.9+dfsg-1build1 995
        100 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Packages
     2.30.6+dfsg-1 500
        500 http://archive.ubuntu.com/ubuntu plucky/main amd64 Packages


ubuntu@autopkgtest:~$ /usr/games/wesnoth-1.18 -m --controller 1:ai --controller 
2:ai --nogui
Battle for Wesnoth v1.18.3 x86_64
Started on Mon Dec  2 12:49:13 2024


Data directory:               /usr/share/games/wesnoth/1.18
User configuration directory: /home/USER/.config/wesnoth-1.18
User data directory:          /home/USER/.config/wesnoth-1.18
Cache directory:              /home/USER/.config/wesnoth-1.18/cache

=> works

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089779

Title:
  Buffer overflow in autopkgtest of wesnoth

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.83/+bug/2089779/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to