RTEMS | smpmrsp01 intermittent failures (#5577)
Gedare Bloom (@gedare)
gitlab at rtems.org
Sat May 16 01:41:00 UTC 2026
Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5577
## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->
I get random assert() failures on smpmrsp01.exe using risc-v with s-mode on Qemu. It happens maybe 15-20% of the time at:
```
test MrsP various block and unblock
../../../testsuites/smptests/smpmrsp01/init.c: 1376 !ctx->low_run[ 0 ]
```
I suspect the issue has to do with tick timing. I have observed other bugs related to ticks, for example !1247
The crashes stop if I change `CONFIGURE_MICROSECONDS_PER_TICK` from `1000` to `10000`.
Is the `CONFIGURE_MICROSECONDS_PER_TICK` setting of 1000 important to the test or can we increase it?
Should we perhaps add a BSP minimum microseconds per tick?
## Steps to reproduce
`qemu-system-riscv64 -M virt -icount shift=5,align=off -nographic -kernel build/riscv/rv64imafdc_s_smp/testsuites/smptests/smpmrsp01.exe -smp 4`
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5577
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/20260516/3bb2b770/attachment-0001.htm>
More information about the bugs
mailing list