Re: [LAU] VocProc - vocal processing app

From: Gabriel M. Beddingfield <gabrbedd@email-addr-hidden>
Date: Mon Feb 01 2010 - 23:24:48 EET

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

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Feb 2 00:15:05 2010

This archive was generated by hypermail 2.1.8 : Tue Feb 02 2010 - 00:15:06 EET