You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are seeing a lot of MPU Fault with mps2_an385 when attempting to get code coverage data
To Reproduce
Steps to reproduce the behavior:
# To generate the errors
scripts/sanitycheck --coverage
--coverage-platform mps2_an385 -p mps2_an385
--coverage-platform qemu_x86 -p qemu_x86
--coverage-platform qemu_x86_nommu -p qemu_x86_nommu -
-gcov-tool /opt/zephyr-sdk-0.10.0/i586-zephyr-elf/bin/i586-zephyr-elf-gcov \
-T tests/kernel -T tests/subsys/logging | tee output.log
# Open all log files referenced to when something went wrong
# the majority of them will have this fault. For list of file see Section
# "Affected log files" later
grep sanity-out output.log/mps2_an385 | cut -d : -f 2 | xargs -I{} -t gedit {}
Impact
Low codecoverage percentage
Screenshots or console output
Examples:
***** MPU FAULT *****
Data Access Violation
MMFAR Address: 0x2001601c
***** Hardware exception *****
Current thread ID = 0x20014348
Faulting instruction address = 0x4822
Fatal fault in essential thread! Spinning...
***** MPU FAULT *****
Stacking error (context area might be not valid)
Data Access Violation
MMFAR Address: 0x2001601c
***** Hardware exception *****
Current thread ID = 0x20014348
Faulting instruction address = 0x4822
Fatal fault in essential thread! Spinning...
***** MPU FAULT *****
Stacking error (context area might be not valid)
Data Access Violation
MMFAR Address: 0x20020014
***** Stack Check Fail! *****
Current thread ID = 0x200142c4
Faulting instruction address = 0x0
***** MPU FAULT *****
Stacking error (context area might be not valid)
Data Access Violation
MMFAR Address: 0x2001801c
***** Stack Check Fail! *****
Current thread ID = 0x20014c58
Faulting instruction address = 0x0
Fatal fault in thread 0x20014c58! Aborting.
ASSERTION FAIL [z_spin_lock_valid(l)] @ /home/cinlyooi/tests/zephyrproject/zephyr/include/spinlock.h:78
Recursive spinlock
***** HARD FAULT *****
Fault escalation (see below)
***** Hardware exception *****
Current thread ID = 0x20014c58
Faulting instruction address = 0x9092
Fatal fault in ISR! Spinning...
Environment (please complete the following information):
Note1: tests/kernel/mem_protect/syscalls/kernel.memory_protection.syscalls/handler.log has "Bus Fault" as well. See below
***** Booting Zephyr OS v1.14.0-rc3-76-g0734b4fcaaea *****
Running test suite syscalls
===================================================================
starting test - test_string_nlen
***** BUS FAULT *****
Precise data bus error
BFAR Address: 0xfffffff0
PASS - test_string_nlen
===================================================================
starting test - test_string_nlen
***** MPU FAULT *****
Stacking error (context area might be not valid)
Data Access Violation
MMFAR Address: 0x20020000
***** Stack Check Fail! *****
Current thread ID = 0x200142f4
Faulting instruction address = 0x0
Fatal fault in thread 0x200142f4! Aborting.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
We are seeing a lot of MPU Fault with mps2_an385 when attempting to get code coverage data
To Reproduce
Steps to reproduce the behavior:
Impact
Low codecoverage percentage
Screenshots or console output
Examples:
Environment (please complete the following information):
Affected log files
sanity-out/mps2_an385/
Note1:
tests/kernel/mem_protect/syscalls/kernel.memory_protection.syscalls/handler.log
has "Bus Fault" as well. See belowThe text was updated successfully, but these errors were encountered: