Excerpts from Igor Brkic's message of 2010-02-01 23:34:45 +0100:
On Mon, Feb 1, 2010 at 10:24 PM, Gabriel M.
Beddingfield
<gabrbedd(a)gmail.com> wrote:
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).
Thank You! Thank You! Thank You!
I totally forgot about that.
New version uploaded to site and can be downloaded on this link:
http://hyperglitch.com/files/VocProc-0.12.tar.gz
Regards,
Igor
Hi Igor,
I just attempted to build a package for Arch Linux (AUR) but with the current build system
it seems to be a non-trivial task.
I guess it's no easier for other distributions.
main.cpp: In function ‘int main(int, char**)’:
main.cpp:133: warning: ‘jack_client_t* jack_client_new(const char*)’ is deprecated
(declared at /usr/include/jack/jack.h:99)
vproc_dsp_process.cpp: In member function ‘void mydsp::setPitchFactor(float)’:
vproc_dsp_process.cpp:200: warning: ‘curr’ may be used uninitialized in this function
Regards,
Philipp