Chris Johns created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1138
Project:Branches: chris/rtems:chris/fix-rtems-timerserver-with-rtems-debug to rtems/rtos/rtems:main Author: Chris Johns Assignee: Chris Johns ## Summary Set the timer's chain node to off chain before appending. The timer's node is shared with the RB tree and before placing it on the timer server's chain the node needs to set to off chain or `RTEMS_DEBUG` may assert. I tripped over this running a LibBSD test on a Microzed with RTEMS built for SMP and debug: ``` *** BEGIN OF TEST LIBBSD RC.CONF 1 *** *** TEST VERSION: 7.0.0.70adad45f7e6d5262f7d248b6462706ab8b5b9e0 *** TEST STATE: EXPECTED_PASS *** TEST BUILD: RTEMS_DEBUG RTEMS_POSIX_API RTEMS_SMP *** TEST TOOLS: 15.2.0 20250808 (RTEMS 7, RSB fcedea2455bfea03ee00e7b6bc8d64395d25b59b, Newlib a7c61498) nexus0: <RTEMS Nexus device> assertion "_Chain_Is_node_off_chain( the_node )" failed: file "../../../cpukit/include/rtems/score/chainimpl.h", line 678, function: _Chain_Append_unprotected ``` This assert was the result of `RTEMS_DEBUG` changes merged in commit https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/69a9314281ed7cdc42f3454ac0bbdea000d8e5b0. ## Generative AI <!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!--Default settings, if it is a dropdown it will set after submission--> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1138 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
