Hi everyone,
my application suddenly runs into OS_Error() with Error Code: 128 (OS_ERR_INV_TASK) at startup.
The call stack does not give much information. The first entry I see is [OS_EXCEPTION + 0x21].
This only happens if I compile with debug settings, not with release settings (optimization turned on). Since the problem only occured recently and the memory is running low, I suspect the issue in that area.
When I run into this breakpoint the stack sizes seem to be ok, no sign of an overflow.
It could be a problem with dynamic memory allocation. I'll look into that next but first I'd like to know more about this error and possible scenarios that could trigger this error.
Any help would be greatly appretiated.
Thanks,
Florian
my application suddenly runs into OS_Error() with Error Code: 128 (OS_ERR_INV_TASK) at startup.
The call stack does not give much information. The first entry I see is [OS_EXCEPTION + 0x21].
This only happens if I compile with debug settings, not with release settings (optimization turned on). Since the problem only occured recently and the memory is running low, I suspect the issue in that area.
When I run into this breakpoint the stack sizes seem to be ok, no sign of an overflow.
It could be a problem with dynamic memory allocation. I'll look into that next but first I'd like to know more about this error and possible scenarios that could trigger this error.
Any help would be greatly appretiated.
Thanks,
Florian