Skip to content

tests/kernel/mem_protect/stackprot/kernel.memory_protection fails on nsim_em #17899

@andrewboie

Description

@andrewboie
Scanning dependencies of target run
Console now belongs to UART, hit CRTL-] to return to simulator.
***** Booting Zephyr OS build zephyr-v1.14.0-2730-g63af2e08fb33 *****
Running test suite stackprot
===================================================================
starting test - test_create_alt_thread
Starts alternate_thread
alternate_thread: Input string is too long and stack overflowed!

FATAL: ***** Exception vector: 0x7, cause code: 0x0, parameter 0x0
FATAL: Address 0x829a
FATAL: EV_PrivilegeV
FATAL: Privilege violation
FATAL: Faulting instruction address = 0x829a
FATAL: >>> ZEPHYR FATAL ERROR 0: CPU exception
FATAL: Current thread: 0x80001000 (unknown)

    Assertion failed at ZEPHYR_BASE/tests/kernel/mem_protect/stackprot/src/main.c:20: k_sys_fatal_error_handler: (reason not equal to K_ERR_STACK_CHK_FAIL)
wrong error type
FAIL - test_create_alt_thread
===================================================================
starting test - test_stackprot
test_stackprot: Stack ok
test_stackprot: Stack ok
test_stackprot: Stack ok
test_stackprot: Stack ok
test_stackprot: Stack ok
test_stackprot: Stack ok
PASS - test_stackprot
===================================================================
Test suite stackprot failed.
===================================================================
PROJECT EXECUTION FAILED

Metadata

Metadata

Assignees

Labels

area: ARCARC ArchitecturebugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions