-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: Test FrameworkIssues related not to a particular test, but to the framework insteadIssues related not to a particular test, but to the framework insteadarea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Milestone
Description
Describe the bug
ASSERTION FAIL [(options & ((1UL << (2)))) == 0] @ ZEPHYR_BASE/kernel/thread.c:581
Platform is capable of user mode, and test thread created with K_USER option, but neither CONFIG_TEST_USERSPACE nor CONFIG_USERSPACE is set
To Reproduce
Steps to reproduce the behavior:
- mkdir build; cd build
- cmake -DBOARD=frdm_k64f ..
- make
- make flash
- see log
Expected behavior
runs sucessfully
Impact
test coverage
Screenshots or console output
***** Booting Zephyr OS version 2.1.0-rc1 *****
Running test suite test_c_lib_dynamic_memalloc
===================================================================
starting test - test_malloc
ASSERTION FAIL [(options & ((1UL << (2)))) == 0] @ ZEPHYR_BASE/kernel/thread.c:581
Platform is capable of user mode, and test thread created with K_USER option, but neither CONFIG_TEST_USERSPACE nor CONFIG_USERSPACE is set
E: r0/a1: 0x00000004 r1/a2: 0x00000245 r2/a3: 0x00800000
E: r3/a4: 0x600095d2 r12/ip: 0x150b0000 r14/lr: 0x60006cd5
E: xpsr: 0x61000000
E: Faulting instruction address (r15/pc): 0x60007732
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x2000017c (main)
E: Halting system
Environment (please complete the following information):
- OS: (Linux)
- Toolchain (Zephyr SDK, ...)
- Commit SHA or Version used: v2.1.0-rc1
Metadata
Metadata
Assignees
Labels
area: Test FrameworkIssues related not to a particular test, but to the framework insteadIssues related not to a particular test, but to the framework insteadarea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug