Plasma
2018-01-09 05:13:17 UTC
Sounds like it might be a relevant solution for other programs too.
I'd hesitate to call it a solution. It's a workaround at best.The real solution here is a Stable Release Update to the libsdl2
package in Artful.
--
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 libsdl2 package in Ubuntu:
Confirmed
Status in libsdl2-mixer package in Ubuntu:
Confirmed
Status in openarena package in Ubuntu:
New
Status in redeclipse package in Ubuntu:
New
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/libsdl2/+bug/1722060/+subscriptions