Skip to content

tests/kernel/mem_pool/mem_pool_api#test_mpool_alloc_timeout crashes on qemu_riscv32 #10635

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
spoorthik opened this issue Oct 16, 2018 · 2 comments
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@spoorthik
Copy link
Contributor

The test case test_mpool_alloc_timeout faults on qemu_riscv32.

Execution log:

***** Booting Zephyr OS zephyr-v1.13.0-1017-gc0a6801 *****
Running test suite mpool_api
===================================================================
starting test - test_mpool_alloc_free_thread
PASS - test_mpool_alloc_free_thread
===================================================================
starting test - test_mpool_alloc_free_isr
PASS - test_mpool_alloc_free_isr
===================================================================
starting test - test_mpool_kdefine_extern
PASS - test_mpool_kdefine_extern
===================================================================
starting test - test_mpool_alloc_size
PASS - test_mpool_alloc_size
===================================================================
starting test - test_mpool_alloc_timeout
Exception cause Illegal instruction (2)
Current thread ID = 0x800049dc
Faulting instruction address = 0x8
  ra: 0x0  gp: 0x0  tp: 0x0  t0: 0x0
  t1: 0x0  t2: 0x0  t3: 0x0  t4: 0x0
  t5: 0x0  t6: 0x0  a0: 0x80002158  a1: 0x80004ac8
  a2: 0x0  a3: 0x0  a4: 0x0  a5: 0x80001158
  a6: 0x80  a7: 0x20
Fatal fault in essential thread! Spinning...
PASS - test_mpool_alloc_timeout
===================================================================
starting test - test_sys_heap_mem_pool_assign
PASS - test_sys_heap_mem_pool_assign
===================================================================
===================================================================
PROJECT EXECUTION SUCCESSFUL

Steps to reproduce:

cd tests/kernel/mem_pool/mem_pool_api
mkdir build && cd build
cmake -DBOARD=qemu_riscv32 ..
make run
@spoorthik spoorthik added the bug The issue is a bug, or the PR is fixing a bug label Oct 16, 2018
@nashif nashif added the priority: medium Medium impact/importance bug label Oct 18, 2018
@nategraff-sifive
Copy link
Collaborator

This looks like the exact same failure as in #9777

@andrewboie
Copy link
Contributor

should be fixed by #11962

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

4 participants