chevents _unhandle_exception

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

chevents _unhandle_exception

Post 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.
Attachments
Lockup Screen Shot
Lockup Screen Shot
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: chevents _unhandle_exception

Post 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
Post Reply