-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nucleo_f103rb: samples/posix/eventfd/ failed since "retargetable locking" addition #38601
Comments
@stephanosio Would you mind having a look? |
@erwango Could you post the console output? What exactly is the failure message? |
@stephanosio There is no console output. We're getting a hard fault at the first printf occurence:
|
@erwango Could you set
Looking at the debug log, it looks like the If you enable
This is because there is very little leftover SRAM, which the newlib uses for its heap, for
|
From #38044 (comment):
Due to how Zephyr-to-newlib integration is implemented, there is no easy way for the twister to filter out/skip these boards/tests -- this will be fixed eventually in the next release as noted in the comment referenced above. For now, we should identify all the failing sample-board combos (mostly the boards with very small SRAM and the samples with very high SRAM usage) and add |
Thanks for the help @stephanosio
Unfortunately, we don't get messages even with asserts enabled and even in debugger we don't reach
To save some time for others, I'll use |
This test makes use of dynamic RAM allocation done on the leftover SRAM. Similarly to test/posix/eventfd, limit this test execution on platforms with at least 32K of RAM available. Fixes zephyrproject-rtos#38601 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This test makes use of dynamic RAM allocation done on the leftover SRAM. Similarly to test/posix/eventfd, limit this test execution on platforms with at least 32K of RAM available. Fixes #38601 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This test makes use of dynamic RAM allocation done on the leftover SRAM. Similarly to test/posix/eventfd, limit this test execution on platforms with at least 32K of RAM available. Fixes zephyrproject-rtos#38601 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Describe the bug
Sample
samples/posix/eventfd
is failed since 43b8002To Reproduce
twister --ninja --runtime-artifact-cleanup -s samples/posix/eventfd/sample.posix.eventfd -p nucleo_f103rb --device-testing --device-serial /dev/ttyACM0
Expected behavior
Test should pass
Additional input
EDIT: According to bench history, it is possible that
nucleo_l073rz
was also impacted by same commit on same testThe text was updated successfully, but these errors were encountered: