Re: [Audacity-devel] Buffer overrun in ChangePitch?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Vaughan J. <vjo...@co...> - 2003-05-26 17:25:00
|
Vaughan Johnson wrote: > Tino Meinen wrote: > >> Op ma 26-05-2003, om 09:55 schreef Dominic Mazzoni: >> >> >>> Matt Brubeck wrote: >>> >>> >>>> Current CVS segfaults reliably on PowerPC with the following steps: >>>> >>>> 1. Start Audacity. >>>> 2. Generate Silence. >>>> 3. Select the entire 30-sec silent track. >>>> 4. Choose the "Change Pitch..." effect. >>>> >>> >> >> I get a consistent segfault on my i386 box when I change the pitch by >> *more* than 65.9 % (using the slider). >> Below that, everything's OK. >> > Confirmed, although the cutoff for me is a little lower. 61.0% works, > but 64.0% doesn't. Didn't zero in any more than that. > > The access violation consistently happens for me way down in the > SoundTouch code, at line 138 (dest[i] = temp / SCALE;) in > RateTransposer.cc, in method RateTransposer::transposeMono. This is > after the first chunk of progress indicator is done (long after > DeduceFrequencies). Dominic, can you spare time to figure this one out > or should I try? I'm guessing the i index for dest[i] is out of > bounds, but I haven't stepped through to see why. PS. This is only for silence. Change Pitch by 87% (for example) works fine for actual non-zero audio. -Vaughan |