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/kernel/mem_protect/mem_protect failed with arcmwdt toolchain #36466

Closed
IRISZZW opened this issue Jun 23, 2021 · 0 comments · Fixed by #36536
Closed

tests/kernel/mem_protect/mem_protect failed with arcmwdt toolchain #36466

IRISZZW opened this issue Jun 23, 2021 · 0 comments · Fixed by #36536
Assignees
Labels
area: ARC ARC Architecture area: Toolchains Toolchains bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@IRISZZW
Copy link
Contributor

IRISZZW commented Jun 23, 2021

Describe the bug
tests/kernel/mem_protect/mem_protect failed with arcmwdt toolchain

To Reproduce
Steps to reproduce the behavior:

  1. west build -b nsim_em -d build tests/kernel/mem_protect/mem_protect
  2. west flash
  3. See error

Logs and console output

*** Booting Zephyr OS build zephyr-v2.6.0-474-gb4faf7fe6320  ***
Running test suite memory_protection_test_suite
===================================================================
START - test_permission_inheritance
E: ***** Exception vector: 0x6, cause code: 0x1, parameter 0x4
E: Address 0x8000cb48
E: EV_ProtV
E: Memory read protection violation (MPU)
E:  r0: 0x8000cb48  r1: 0xa5  r2: 0x0  r3: 0x0
E:  r4: 0x0  r5: 0x0  r6: 0x8f  r7: 0x0
E:  r8: 0x0  r9: 0x0 r10: 0x0 r11: 0x0
E: r12: 0x4 r13: 0x0  pc: 0xda
E:  blink: 0xca status32: 0x80186886
E: lp_end: 0x62fc lp_start: 0x627c lp_count: 0x0
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x8000ca00 (unknown)
Caught system error -- reason 0 1
fatal error expected as part of test case
 PASS - test_permission_inheritance in 0.12 seconds

......

===================================================================
START - test_mem_part_assign_bss_vars_zero

    Assertion failed at /SCRATCH2/Watson/zephyrproject/zephyr/tests/kernel/mem_protect/mem_protect/src/mem_partition.c:33: test_mem_part_assign_bss_vars_zero: zeroed_var == 0 is false

 FAIL - test_mem_part_assign_bss_vars_zero in 0.8 seconds
===================================================================
START - test_mem_part_auto_determ_size
 PASS - test_mem_part_auto_determ_size in 0.2 seconds
===================================================================

......

===================================================================
Test suite memory_protection_test_suite failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: (Linux)
  • Toolchain (arcmwdt)
  • Commit SHA: b4faf7f
@IRISZZW IRISZZW added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug area: Toolchains Toolchains area: ARC ARC Architecture labels Jun 23, 2021
@IRISZZW IRISZZW self-assigned this Jun 23, 2021
@IRISZZW IRISZZW linked a pull request Jul 9, 2021 that will close this issue
@IRISZZW IRISZZW closed this as completed Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture area: Toolchains Toolchains bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant