Skip to content

tests/arch/arm/arm_interrupt failed on sam_e70_xplained board. #20202

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

Closed
chen-png opened this issue Oct 29, 2019 · 1 comment · Fixed by #20215
Closed

tests/arch/arm/arm_interrupt failed on sam_e70_xplained board. #20202

chen-png opened this issue Oct 29, 2019 · 1 comment · Fixed by #20215
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) priority: low Low impact/importance bug

Comments

@chen-png
Copy link
Collaborator

Describe
Test case arch.interrupt.no.optimizations in tests/arch/arm/arm_interrupt failed on sam_e70_xplained.

To Reproduce
Steps to reproduce the behavior:

  1. west build -b=sam_e70_xplained tests/arch/arm/arm_interrupt
    -DCONFIG_NO_OPTIMIZATIONS=y -DCONFIG_IDLE_STACK_SIZE=512
  2. west flash
  3. See error

Screenshots or console output
***** Booting Zephyr OS build zephyr-v2.0.0-1567-gaefe941396c6 *****
Running test suite arm_interrupt

starting test - test_arm_interrupt
E: ***** MPU FAULT *****
E: Stacking error (context area might be not valid)
E: Data Access Violation
E: MMFAR Address: 0x20400e9c
E: r0/a1: 0x20400e80 r1/a2: 0xfffffffd r2/a3: 0x00000000
E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000
E: xpsr: 0x00000000
E: Faulting instruction address (r15/pc): 0x00000000
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow
E: Current thread: 0x204000d4 (main)
Caught system error -- reason 2
Was not expecting a crash

Environment (please complete the following information):

  • OS: fedora28
  • Toolchain: zephyr-sdk-0.10.3
  • Commit ID: aefe941
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Oct 29, 2019
@pabigot pabigot self-assigned this Oct 29, 2019
@aurel32 aurel32 added the platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) label Oct 29, 2019
@pabigot
Copy link
Collaborator

pabigot commented Oct 29, 2019

Also on nrf52840_pca10056.

@pabigot pabigot added the has-pr label Oct 29, 2019
@ioannisg ioannisg added the priority: low Low impact/importance bug label Oct 30, 2019
pabigot added a commit to pabigot/zephyr that referenced this issue Nov 1, 2019
Tests fail with the default 512 byte main stack size.  Increase it
just as the idle stack size has been increased over default.

Closes zephyrproject-rtos#20202

Signed-off-by: Peter Bigot <[email protected]>
MaureenHelm pushed a commit that referenced this issue Nov 5, 2019
Tests fail with the default 512 byte main stack size.  Increase it
just as the idle stack size has been increased over default.

Closes #20202

Signed-off-by: Peter Bigot <[email protected]>
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: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants