RTEMS | Fatal error INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL on smpmrsp01 test (#5517)

Ivy Zhuang (@purple-affogato) gitlab at rtems.org
Wed Mar 11 08:48:15 UTC 2026




Ivy Zhuang commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5517#note_144973


<span dir="">Update on the debugging efforts: ran `git bisect` to find the latest commit that caused the error and the result was </span>[<span dir="">this commit</span>](https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/ddd6f3d962dd96c1ac62d06d8aef05af5d60c674)<span dir="">. Seems that when rewriting the logic of </span>`_Thread_Dispatch_unnest`, a decrement was turned into an increment. Ran another test where I changed the +1 into a -1, and smpmrsp01 ran with no fatal errors.

I'm good to open an MR with the fix anytime as it's a quick one. :thumbsup:

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5517#note_144973
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/20260311/f7d19a5d/attachment.htm>


More information about the bugs mailing list