Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406739 - media-libs/sdl-mixer-1.2.12: crash on double free if loading WAV file failed
Summary: media-libs/sdl-mixer-1.2.12: crash on double free if loading WAV file failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 08:13 UTC by Nikos Chantziaras
Modified: 2012-03-04 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2012-03-03 08:13:39 UTC
There's a bug in the current version of SDL_mixer where failing to load a WAV sample will result in freeing a resource twice, resulting in an application crash.  There is an upstream fix for this:

http://hg.libsdl.org/SDL_mixer/rev/ea53a85853dd

Upstream bug: http://bugzilla.libsdl.org/show_bug.cgi?id=1418

Since SDL_mixer releases are very rare, this probably needs to be included in portage (could be years until upstream makes another release.)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-03-04 05:52:16 UTC
in portage.  thanks for the bug report.
Comment 2 Nikos Chantziaras 2012-03-04 18:00:59 UTC
This needs a revbump, btw.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2012-03-04 18:35:44 UTC
nah, it's a ~ package and a rare condition.  Re-emerge if it affects you somehow.