[opus] Stack Overflow
Fezin E T
fezinet at tataelxsi.co.in
Mon May 27 05:36:14 PDT 2013
Program stack is getting overflowed when I create and destroy encoder instance continuously for around 30 times. How can I ensure stack is completely freed when I destroy the encoder instance? I tried with VAR_ARRAYS. But Its giving me errors while I try to compile. I suppose VAR_ARRAYS allocates local variables as arrays so that they could go on to stack and finally when we leave the function, the stack is freed.
when I use VAR_ARRAYS, I get this error " declarations may not appear after an executable statement in the block". Is there any changes need to be done in stack_alloc.h ? Have you guys faced same trouble or any fix is already done on this issue?
My platform is TI C6424, CCS and windows.
Fezin E T
Senior Engineer - Systems Business Unit | Design And Development
Technopark Campus Trivandrum 695 581 India
Tel +91 471 666 1117
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opus