wavofdeath, a sound file which will crash many media players


While trying to write a program to produce WAV files, we discovered the following anomaly.

A 16 Bit PCM File with exactly 22250 samples will cause a lot of troubles for many media players:

Adding or removing just a single sample fixed the problem.

This is our first attempt to write a WAV file, so the header might be wrong, but we strongly believe the media players should not crash when asked to play an invalid file ...

If you find an error in the file, we would like to hear from you.

Yes, we tried to get the attention of microsoft, by mailing to "secure" and by posting to "microsoft answers", but got no useful reaction. Therefore we decided to post it to the internet.

Download the file and try it yourself