I previously posted this problem to the Cocoa-Div List but haven't gotten any replies.
While debugging, I've experienced an intermitent error, "gdb could not unwind past this frame".
When an error occurs I usually get: "Error from Debugger:Previous frame inner to this frame (gdb could not unwind past this frame)" though occasionally I've gotten: "gdb received signal EXC BAD ACCESS".
I've isolated this error to calls from a conventional for( ) loop to a specific C function. - This happens almost every time when a breakpoint is not set within the loop, - perhaps 25-50% of the time when a breakpoint is set within the loop, and - sometimes after a restart ( the loop having performed properly before the restart).
The C function, vRawFFT( ), int vRawFFT( void *in0, void *out0, void *fftSetup, unsigned int fftSize, BOOL fwdFlag, BOOL realFlag, BOOL floatFlag ) provides a common calling routine to the vDSP functions: vDSP_fft_zip, vDSP_fft_zipD, vDSP_fft_zrip, and vDSP_fft_zripD. It's been working as expected, and without difficulty, elsewhere in my project for several years now.
I'm stumped and new some advice. And is there any good reference outlining causes and strategies to avoid this error (I've searched but haven't found any).
Thanks, Don Thompson |