[flext] ToOutList - EXC_BAD_ACCESS
Patrick Gampp
hr824 at gmx.de
Thu Sep 1 16:30:14 CEST 2011
Hi,
I ported an external, which works on Windows to Mac. The external can be created, but when pd computes audio, it crashes.
I debugged the program and when I comment one line of code, the program does not crash anymore.
1) I define a AtomList: AtomLIst list;
2) set the list size: list(TMAT_XDIM-2);
3) Fill the AtomList with values: SetFloat( list[NUM_BAND], value )
4) Send the list to output 4: ToOutList(3, list); (This is the line, I commented)
When I debug the external, I end in the file flcontainers.h in the method of class FifoCell:
inline FifoCell *Get() { return this->dequeue(); }
Xcode says 'Thread 1: Program received signal: "EXC_BAD_ACCESS". The debugger writes:
"Single stepping until exit from function _ZN8lockfree14intrusive_fifoI8FifoCellE7dequeueEv,
which has no line number information."
As I wrote, the program runs on Windows, but not on Mac. Do you have any suggestions, how I can avoid this error, or what causes this error?
Thanks,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110901/b2fd4bd4/attachment.htm>
More information about the flext
mailing list