[LAU] VocProc - vocal processing app
Gabriel M. Beddingfield
gabrbedd at gmail.com
Mon Feb 1 16:24:48 EST 2010
On Mon, 1 Feb 2010, Giorgio - Audiophilo wrote:
> Hi,
> I'm running Ubuntustudio KK 9.10, i've compiled VocProc without any problem
> but as soon as i run it (./VocProc) it crashes and i get this from the
> terminal:
>
> $ ./VocProc
> loaded "chromatic"...
> loaded "full"...
> loaded "pentatonic"...
> loaded "harmonic E minor"...
> the sample rate is now 44100/sec
> zombified - calling shutdown handler
I think that this is probably the cause:
vproc_dsp_process.cpp:281
// FFTW
double *fftTmpR=(double*)malloc(sizeof(double)*fftFrameSize);
fftw_complex *fftTmpC=(fftw_complex*)fftw_malloc(sizeof(fftw_complex)*fftFr\
ameSize);
fftw_complex *fftOldC=(fftw_complex*)fftw_malloc(sizeof(fftw_complex)*fftFr\
ameSize);
fftw_plan fftPlan;
This is in mydsp::compute()... which is being called from
the JACK process callback.
Per the JACK docs, you must not allocate memory in this
callback. If the system takes too long to allocate the
memory, you will get the 'zombification error.'
The user can sometimes work around the issue by setting a
larger frames-per-period setting (the -p parameter for most
jack audio drivers).
-gabriel
More information about the Linux-audio-user
mailing list