Skip to content
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

tests: arch: arm: arm_interrupt: arch.interrupt.no_optimizations Wrong crash type got 2 expected 0 #48999

Closed
nordic-piks opened this issue Aug 12, 2022 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@nordic-piks
Copy link
Collaborator

nordic-piks commented Aug 12, 2022

Describe the bug
The tests/arch/arm/arm_interrupt/arch.interrupt.no_optimizations fails

Observed for

  • nrf9160dk_nrf9160
  • nrf5340dk_nrf5340_cpuapp
  • nrf5340dk_nrf5340_cpunet

To Reproduce
Steps to reproduce the behavior:

  1. have nrf9160dk connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/arch/arm/arm_interrupt -p nrf9160dk_nrf9160 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
  4. See console output with error

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

[2022-08-11T22:59:48.365Z] ERROR   - *** Booting Zephyr OS build zephyr-v3.1.0-3361-gb076aa373a63  ***
[2022-08-11T22:59:48.365Z] Running TESTSUITE arm_interrupt
[2022-08-11T22:59:48.365Z] ===================================================================
[2022-08-11T22:59:48.365Z] START - test_arm_esf_collection
[2022-08-11T22:59:48.365Z] E: ***** USAGE FAULT *****
[2022-08-11T22:59:48.365Z] E:   Stack overflow (context area not valid)
[2022-08-11T22:59:48.365Z] E: r0/a1:  0x00000428  r1/a2:  0xa1000000  r2/a3:  0xffd7efe8
[2022-08-11T22:59:48.365Z] E: r3/a4:  0x2d23e934 r12/ip:  0xafbfed75 r14/lr:  0xf0549929
[2022-08-11T22:59:48.365Z] E:  xpsr:  0xb0113200
[2022-08-11T22:59:48.365Z] E: Faulting instruction address (r15/pc): 0x5feff6bf
[2022-08-11T22:59:48.365Z] E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[2022-08-11T22:59:48.365Z] E: Current thread: 0x200000d8 (test_arm_esf_collection)
[2022-08-11T22:59:48.365Z] Caught system error -- reason 2
[2022-08-11T22:59:48.365Z] Wrong crash type got 2 expected 0

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.14.1
  • Commit SHA or Version used: v3.1.0-3361-gb076aa373a63
@nordic-piks nordic-piks added the bug The issue is a bug, or the PR is fixing a bug label Aug 12, 2022
@henrikbrixandersen henrikbrixandersen added the platform: nRF Nordic nRFx label Aug 15, 2022
@mmahadevan108 mmahadevan108 added the priority: low Low impact/importance bug label Aug 16, 2022
@anangl
Copy link
Member

anangl commented Aug 18, 2022

This has already been fixed by #48876.

@anangl anangl closed this as completed Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants