RTEMS | SMP: Race condition in thread priority changes (#5159)

Sebastian Huber (@sebhub) gitlab at rtems.org
Wed Nov 20 01:11:32 UTC 2024



Sebastian Huber created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5159

Assignee: Sebastian Huber

## Summary

In SMP configurations, explicit thread priority changes (for example rtems_task_set_priority()) and thread priority changes carried out by thread queues (locking protocols such as priority inheritance) are not properly serialized. This leads to a data corruption of the thread control blocks and unpredictable system behaviour.

## Steps to reproduce

Applications using the POSIX sporadic server and priority inheritance mutexes have a higher probability to observe the faulty system behaviour.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5159
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241120/531ff98f/attachment-0001.htm>


More information about the bugs mailing list