Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406739

Summary: media-libs/sdl-mixer-1.2.12: crash on double free if loading WAV file failed
Product: Gentoo Linux Reporter: Nikos Chantziaras <realnc>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.