Hi Carlos,
Please find the attached project file.
Note that the problem appears sporadically. I can't specify when it happens and I can't reproduce.
Another stability issue I encounter is that sometimes the application gets stuck at lwmemget_next_block_internal in lwmem.c.
SW is looping forever since block_ptr->BLOCKSIZE equals 0.
The call stack is:
Thread #1 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap)
lwmemget_next_block_internal() at lwmem.c:2,002 0x31f84
taskdestroy_internal() at task.c:938 0x2ceae
taskdestroy() at task.c:1,090 0x2d0c4
taskexit_function_internal() at task.c:3,119 0x2d722
lwsempost() at lwsem.c:579 0x3042c
I've found reference to a known issue in lwmem allocation and have taken the fix but it doesn't seem to help.
Thanks,
Ariela