Public bug reported: 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) ** Affects: libsdl2 (Ubuntu) Importance: Undecided Status: New ** Affects: libsdl2-mixer (Ubuntu) Importance: Undecided Status: New ** Affects: widelands (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful regression-release wayland-session ** Also affects: widelands (Ubuntu) Importance: Undecided Status: New ** Also affects: libsdl2-mixer (Ubuntu) Importance: Undecided Status: New ** Description changed: - (details coming) + 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) ** Tags added: regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722060 Title: Some programs (e.g. Widelands) crash when playing sounds with sdl2 2.0.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1722060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs