Discussion:
[Pkg-games-ubuntu] [Bug 1722060] Re: Some programs (e.g. Widelands) crash when playing sounds with sdl2 2.0.6
Plasma
2018-01-09 05:13:17 UTC
Permalink
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
Quin
2018-01-09 06:13:23 UTC
Permalink
I wholeheartedly agree that libsdl2 should be updated, but from the
standpoint of an individual project it is bad publicity to have your
program crash on startup (and why we're all kind of mad that SDL did
this rewrite for a minor patch release). People often don't investigate
or understand that it isn't the fault of the project, but an underlying
library they know nothing about.
--
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
Plasma
2018-01-15 04:35:38 UTC
Permalink
** Also affects: ioquake3 (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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/ioquake3/+bug/1722060/+subscriptions
Hans Joachim Desserud
2018-01-28 19:00:41 UTC
Permalink
Post by Plasma
I'd hesitate to call it a solution. It's a workaround at best.
Ah... yes, I only thought of it as a possible workaround. I could have
been clearer. :)
--
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:
New
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/ioquake3/+bug/1722060/+subscriptions
Vej
2018-03-04 10:19:44 UTC
Permalink
** Changed in: libsdl2 (Ubuntu)
Status: Confirmed => Triaged

** Changed in: libsdl2-mixer (Ubuntu)
Status: Confirmed => Triaged

** Changed in: libsdl2 (Ubuntu)
Importance: Undecided => High

** Changed in: libsdl2-mixer (Ubuntu)
Importance: Undecided => High
--
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:
New
Status in libsdl2 package in Ubuntu:
Triaged
Status in libsdl2-mixer package in Ubuntu:
Triaged
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/ioquake3/+bug/1722060/+subscriptions
Thomas Leavitt
2018-03-20 02:49:27 UTC
Permalink
This also affects the 1.0 release of Flare (www.flarerpg.org) when
compiled from source. I ran into this a couple of days ago.
--
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:
New
Status in libsdl2 package in Ubuntu:
Triaged
Status in libsdl2-mixer package in Ubuntu:
Triaged
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/ioquake3/+bug/1722060/+subscriptions
Loading...