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/syscalls failed on iotdk board. #23544

Closed
chen-png opened this issue Mar 18, 2020 · 1 comment
Closed

tests/kernel/mem_protect/syscalls failed on iotdk board. #23544

chen-png opened this issue Mar 18, 2020 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@chen-png
Copy link
Collaborator

To Reproduce
Steps to reproduce the behavior:

  1. west build -b iotdk -p auto tests/kernel/mem_protect/syscalls
  2. west flash
  3. See error

Screenshots or console output
*** Booting Zephyr OS build zephyr-v2.2.0-375-ge13205b25657 ***
Running test suite syscalls

starting test - test_string_nlen
PASS - test_string_nlen

starting test - test_string_nlen
E: syscall z_vrfy_string_nlen failed check: Memory region 0x80000ff4 (size 24) read access denied
PASS - test_string_nlen

starting test - test_to_copy
E: syscall user_copy failed check: Memory region 0x80000fd4 (size 32) write access denied
PASS - test_to_copy

starting test - test_user_string_copy
E: string too long 0x2000bebc (32)
E: syscall user_copy failed check: Memory region 0x80000ff4 (size 24) read access denied
PASS - test_user_string_copy

starting test - test_user_string_alloc_copy
E: string too long 0x2000bebc (32)
E: syscall z_user_alloc_from_copy failed check: Memory region 0x80000ff4 (size 24) read access denied
PASS - test_user_string_alloc_copy

starting test - test_arg64
PASS - test_arg64

starting test - test_syscall_torture
Running syscall torture test with 4 threads on 1 cpu(s)
E: ***** Exception vector: 0x6, cause code: 0x2, parameter 0x2
E: Address 0x80004fb8
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x80000bec (unknown)
E: Halting system

Environment (please complete the following information):

  • OS: fedora 28
  • Toolchain : zephyr-sdk-0.11.1
  • Commit ID: e13205b
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Mar 18, 2020
@andrewboie andrewboie added the priority: medium Medium impact/importance bug label Mar 18, 2020
@vonhust
Copy link

vonhust commented Apr 27, 2020

Fixed by #24284

@vonhust vonhust closed this as completed Apr 27, 2020
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 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants