RTEMS | testsuites: Two tests which size the init task wrong (#5748)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Sep 3 02:36:22 UTC 2026
Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5748
`run_test()` of `flashdev01` holds a buffer of 2048 bytes and takes a frame of
2496 bytes. The init task runs on the minimum stack, which is 4096 bytes on
SPARC. The frame reaches below the stack and overwrites the first block of the
heap. The gr740 SMP configuration takes a data access exception in
`_Heap_Iterate()` and the gr740 debug configuration loops there without an end.
`after_drivers()` of `smpmulticast01` calls `T_run_initialize()` during system
initialization. This makes the idle thread of the boot processor the runner.
Every report of the init task goes into the output buffer, which this test
leaves empty. The test suite prints no result line, so a run counts the test as
a failure.
Found while running the test suite of the SMP and debug configurations. This
description was created with Claude Code assistance.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5748
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-dfm3rumlrvip1jzaj1hs5u1wu-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260903/e386920f/attachment.htm>
More information about the bugs
mailing list