Hi,
My program doesn't crash with bios_5_41_07_24 (CCS4.2.1) but does crash with bios_6_33_04_39 (CCS5). After a call of Task_delete the crash happens in my exit handler I registered in my .cfg file as hooks.deleteFxn. The reported crash message is "stack overflow".
The problem is that my cleanup calls fdCloseSession there. After analysing it turns out that my code accesses the stack, but now with SysBIOS 6 the stack has been already deleted when hooks.deleteFxn is called. This means the crash message "stack overflow" is just a subsequent error. The whole thing works with SysBIOS 5 because it releases the stack later after hooks.deleteFxn.
How can I fix this problem?