[SDL] Crash in SDL_mixer post-mixing callback on x86 Mac running XP
James Haley
haleyjd at hotmail.com
Sun Apr 8 21:09:52 PDT 2007
The sound code of my Doom port, the Eternity Engine, is crashing
for one of my users who is running XP on an x86 Mac machine. When
compiled using SDL 1.2.10 and SDL_mixer 1.2.7, the program suffers
a crash at a seemingly arbitrary point within the post-mix callback
function. The game actually remains playable, but the standard
Windows error report dialog appears over the screen and the sound
begins to constantly repeat the last bytes of sound played. When
compiled with SDL 1.2.11, the main game thread also locks up.
The application error reported is 0xc0000005 (a memory access error
according to MSDN).
Here is a screenshot of the error happening:
http://sl4.dmclub.org/ee_error.png
And in this folder are some shots of the error report:
http://sl4.dmclub.org/wads/ee-error/
The error seems to occur within the function I_SDLUpdateSound
(this is the closest symbol to the crash address found in the map file
generated by Visual C++). That function can be found in this file:
http://eternity.mancubus.net/svn/trunk/eternity/source/i_sound.c
I cannot make any inroads against this problem, since the crash is
only occurring for this particular user. Literally thousands of man hours
of play testing have gone into the game without this error ever
occuring elsewhere, so I'm hesitant to blame my own code. If
anyone has any clues as to what could cause this, I'd be highly
appreciative.
Yours,
James Haley
_________________________________________________________________
Need a break? Find your escape route with Live Search Maps.
http://maps.live.com/?icid=hmtag3
More information about the SDL
mailing list