[flext] ToOutList - EXC_BAD_ACCESS

Thomas Grill gr at grrrr.org
Thu Sep 1 16:48:42 CEST 2011


Hi Patrick,
looks fine so far! I would have a look at the problem if you want to
send the whole project code (can be in private mail).
gr~~~

2011/9/1 Patrick Gampp <hr824 at gmx.de>:
> 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
>
>
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>



-- 
Thomas Grill
http://grrrr.org


More information about the flext mailing list