nuttx: Problems with priority inheritance.
Priority inheritance seems broken again.
After the recent fixes, I run ostest on my board, and worked correctly.
I decided to enable CONFIG_PRIORITY_INHERITANCE again.
Since then, I occasionally get a failed assertion in sem_holder.c, line 105.
The message is: "ERROR: Insufficient pre-allocated holders".
This is however impossible in my case.
I have set CONFIG_SEM_PREALLOCHOLDERS to 8, but at the time of the failure 8 tasks do not even exist in my system, let alone wait for a semaphore!
Somehow the list of the holders is miss-treated, and the assertion fires erroneously.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 28 (28 by maintainers)
I’ve been using and testing priority inheritance after the recent changes, and everything seems OK.
I haven’t witnessed any other issues.
I think this can be closed for the moment.
Yes. I need to spend more time on that change and create ostest for that specific issue.