On 11/10/13 21:18, Daniel Zebralla wrote:
I now solved the problem by putting all CyaSSL-related stuff and tests into
an individual thread:
> Is there some general rule of thumb, that one should not do
memory-intensive
> work in the 'main'-thread?
Did you by any chance put your RsaKey struct on the stack, as opposed to
static or malloced? Threads in eCos often have very small stacks; the
corruption you describe sounds typical of a stack overrun.
You can find the stack size for the default ("main") thread in the .ecc
file you're using.
Ross
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss