Hi Giovanni,
when calling chThdRelease() without CH_CFG_USE_DYNAMIC, chSysUnlock() will be called twice and thus result in a panic with SV#5.
See https://github.com/ChibiOS/ChibiOS/blob ... ads.c#L451
"return;" has to be moved out of the
#if CH_CFG_USE_DYNAMIC == TRUE
block.
Cheers
Vinz
Bug in chThdRelease()
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Bug in chThdRelease()
Thanks, is this on trunk right? still working on dynamic stuff, lot of changes there.
Giovanni
Giovanni