SDL 1.3 PlayWave will crash on this audio file

The file worked fine on SDL 1.2.x. The crash happens both on mac and windows, tested on 3 machines

a stack trace will show that the actual crash happens in load_wav -> convertaudio -> AtomicFetchThenIncrement, but I can’t figure out how to debug inside a DLL or Framework ('m not that experienced :slight_smile:

you can download the file here :

http://ppw.kuleuven.be/leerpsy/Shield.wav

it plays fine in Media Player and QT player

I’m not finding a call to AtomicFetchThenIncrement in any of the audio converters…

well… then my compiler is nuts :slight_smile:

here’s a screenshot :
http://ppw.kuleuven.be/leerpsy/dump2.png
http://ppw.kuleuven.be/leerpsy/dump1.png

i don’t really understand it either, as all other soundfiles run fine, and this one does NOT seem to crash any other audio player

i don’t really understand it either, as all other soundfiles run fine,
and this one does NOT seem to crash any other audio player

Can you make the audio file that crashes available to me?

–ryan.

sure : you can download it here :

http://ppw.kuleuven.be/leerpsy/Shield.wav

thanks for looking at this !