[Pkg-games-ubuntu] [Bug 1722060] Re: Some programs (e.g. Widelands) crash when playing sounds with sdl2 2.0.6
Launchpad Bug Tracker
1722060 at bugs.launchpad.net
Mon Mar 26 15:53:45 UTC 2018
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: openarena (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to openarena in Ubuntu.
https://bugs.launchpad.net/bugs/1722060
Title:
Some programs (e.g. Widelands) crash when playing sounds with sdl2
2.0.6
Status in ioquake3 package in Ubuntu:
Confirmed
Status in libsdl2 package in Ubuntu:
Triaged
Status in libsdl2-mixer package in Ubuntu:
Triaged
Status in openarena package in Ubuntu:
Confirmed
Status in redeclipse package in Ubuntu:
Confirmed
Status in widelands package in Ubuntu:
Confirmed
Status in libsdl2 package in Debian:
Fix Released
Bug description:
After the upload of libsdl2-2.0-0 2.0.6+dfsg1-2ubuntu1, it looks like
some programs (like Widelands) crash when they try to play sounds.
Based on the SDL2 upstream discussion
(https://discourse.libsdl.org/t/sdl-2-0-6-released/23109) it seems to
be a bug with the new version if libsdl2 and libsdl2-mixer.
Steps to reproduce:
(Install Widelands as an example which uses sdl2 and sdl2-mixer)
1. Run widelands
2. From the main menu, select Single player
3. Select New game
4. Pick any map and click Ok.
5. Click start game.
Expected
The game starts
Actual
It crashes, with a segmentation fault. (See bug 1720819 for example output and backtrace)
This was originally reported upstream in Widelands and tracked down to a bug in sdl2 version 2.0.6, see bug 1720819 for more details. In particular the following comments:
https://bugs.launchpad.net/widelands/+bug/1720819/comments/14
https://bugs.launchpad.net/widelands/+bug/1720819/comments/16 (which contains a possible patch for SDL-mixer)
Known workarounds
As mentioned in the commenst https://discourse.libsdl.org/t/sdl-2-0-6-released/23109, it seems to be related to the sound and sdl_mixer.
In the case of Widelands, it is possible to run `widelands --nosound` which will mute all sound. With this option, the crash doesn't occur.
Possibly other programs are affected by this as well.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libsdl2-2.0-0 2.0.6+dfsg1-2ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Oct 8 12:50:42 2017
InstallationDate: Installed on 2017-06-10 (119 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170609)
SourcePackage: libsdl2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ioquake3/+bug/1722060/+subscriptions
More information about the Pkg-games-ubuntu
mailing list