Skip to content

tests/kernel/mem_protect/stackprot fails on platform qemu_riscv32 #15280

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
wentongwu opened this issue Apr 9, 2019 · 0 comments
Closed

tests/kernel/mem_protect/stackprot fails on platform qemu_riscv32 #15280

wentongwu opened this issue Apr 9, 2019 · 0 comments
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@wentongwu
Copy link
Collaborator

wentongwu commented Apr 9, 2019

Describe the bug
tests/kernel/mem_protect/stackprot fails on platform qemu_riscv32

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -GNinja -DBOARD=qemu_riscv32 ..
  3. ninja
  4. See error

Screenshots or console output
***** Booting Zephyr OS v1.14.0-rc3-148-g318a98a7fb1f *****
Starts alternate_thread
alternate_thread: Input string is too long and stack overflowed!

Stack Check Fail!
Current thread ID = 0x80000114
Faulting instruction address = 0xdeadbaad
ra: 0xdeadbaad gp: 0xdeadbaad tp: 0xdeadbaad t0: 0xdeadbaad
t1: 0xdeadbaad t2: 0xdeadbaad t3: 0xdeadbaad t4: 0xdeadbaad
t5: 0xdeadbaad t6: 0xdeadbaad a0: 0xdeadbaad a1: 0xdeadbaad
a2: 0xdeadbaad a3: 0xdeadbaad a4: 0xdeadbaad a5: 0xdeadbaad
a6: 0xdeadbaad a7: 0xdeadbaad
Fatal fault in thread 0x80000114! Aborting

Running test suite stackprot

starting test - test_stackprot
Exception cause Illegal instruction (2)
Current thread ID = 0x80000194
Faulting instruction address = 0x80002000
ra: 0x0 gp: 0x0 tp: 0x0 t0: 0x0
t1: 0x0 t2: 0x0 t3: 0x0 t4: 0x15a0
t5: 0x0 t6: 0x0 a0: 0x2040274c a1: 0x204022f4
a2: 0x0 a3: 0x0 a4: 0x0 a5: 0x15a0
a6: 0x0 a7: 0x0
Fatal fault in thread 0x80000194! Aborting.

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used
@wentongwu wentongwu added the bug The issue is a bug, or the PR is fixing a bug label Apr 9, 2019
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
Projects
None yet
Development

No branches or pull requests

1 participant