-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
If you run the following test on nrf52_blenano2 (and possibly any nrf52832) it will fail with a hardware exception in a seemingly random pattern.
Painful repeated bisection leads me to this commit:
03f007e
To Reproduce
Steps to reproduce the behavior:
- cd tests/kernel/mem_slab/mslab_threadsafe
- mkdir build; cd build
- cmake -DBOARD=nrf52_blenano2 ..
- make flash
- 1 in say 6-7 tries (sometimes a lot more) see hardware exception
Expected behavior
Pass this test
Impact
CI fails in random ways when testing on real HW
Screenshots or console output
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
***** Booting Zephyr OS v1.14.0-rc1-330-gb71e1f941f *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
***** MPU FAULT *****
Data Access Violation
MMFAR Address: 0x0
***** Hardware exception *****
Current thread ID = 0x20000114
Faulting instruction address = 0x4436
Fatal fault in ISR! Spinning...
Environment (please complete the following information):
- OS: Arch Linux
- Toolchain: Zephyr SDK
- Master as of today (SHA: b71e1f9)
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug