Thanks everyone for your help!
It turned out to be a simple stack overflow.
Apologies for missing such a basic issue — I should’ve checked the stack usage more carefully.
The explanation about undefined behavior causing the task to enter the eSuspended state makes sense. That clears up my confusion.
I won’t dig further into the exact corruption, since the root cause is now resolved.
Really appreciate all your input — marking this as closed.
Thanks again! ![]()