Page 1 of 1

chevents _unhandle_exception

Posted: Wed Feb 17, 2016 3:43 pm
by Tabulous
Hi every so often can be quite random, i get a _unhandle_exception, see attached screen shot.

The source of this is the Serial VectorBO interrupt. But one can see the error occurs up the chain when a event is flagged.


Is there currently a know issue around events in version 3 of the OS ?

if not how can one track this issue down ?

Also the fact that elp is 0x0000000, do think this is correct.

Re: chevents _unhandle_exception

Posted: Wed Feb 17, 2016 4:00 pm
by Giovanni
Hi,

I am not aware of any problem with events.

It is a pretty deep stack trace, i think this could be related to an exceptions stack overflow. It is intermittent because it only happens when the serial interrupt preempts some other ISR.

Try increasing the exception stack depth. It must be proportional to the USED priority levels. FPU increases the required stack. No compiler optimizations also increase the stack usage.

Giovanni