[CM] snd infinite recursion

Bill Schottstaedt bil at ccrma.Stanford.EDU
Thu Oct 23 11:51:53 PDT 2008

> The bug is still there. sorry for the bad news... ;-/ 

Hmm -- I wonder if sox wrote a messed up "wave" file -- you
mentioned that the mp3 original was 570 MBytes, and you translated
it with sox.  I tried a similar sequence and got a wave file with 
bogus data sizes -- the truncation sent my chunk seeker into
some random place in the file, it found a negative number for
the next chunk's size, and we're in another loop (sigh).  I added
more error checking to the header reader -- the current Snd
is worth another try.  

(wave file headers only accommodate 32 bits of bytes, so it's
easy to overflow).

More information about the Cmdist mailing list