-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Closed
Copy link
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
To Reproduce
Steps to reproduce the behavior:
# To generate the errors
scripts/sanitycheck --coverage
--coverage-platform mps2_an385 -p mps2_an385
--coverage-platform qemu_x86 -p qemu_x86
--coverage-platform qemu_x86_nommu -p qemu_x86_nommu -
-gcov-tool /opt/zephyr-sdk-0.10.0/i586-zephyr-elf/bin/i586-zephyr-elf-gcov \
-T tests/kernel -T tests/subsys/logging | tee output.log
# the file to open is
# sanity-out/qemu_x86/tests/kernel/threads/thread_apis/kernel.threads/handler.log
Screenshots or console output
[0mSeaBIOS (version rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org)
Booting from ROM..***** Booting Zephyr OS v1.14.0-rc3-76-g0734b4fcaaea *****
Running test suite threads_lifecycle
===================================================================
starting test - test_threads_spawn_params
PASS - test_threads_spawn_params
===================================================================
starting test - test_threads_spawn_priority
PASS - test_threads_spawn_priority
===================================================================
starting test - test_threads_spawn_delay
PASS - test_threads_spawn_delay
===================================================================
starting test - test_threads_spawn_forever
PASS - test_threads_spawn_forever
===================================================================
starting test - test_thread_start
PASS - test_thread_start
===================================================================
starting test - test_threads_suspend_resume_cooperative
***** Double Fault *****
***** Stack Check Fail! *****
Current thread ID = 0x0040b000
eax: 0x00000001, ebx: 0x00000001, ecx: 0x0042b007, edx: 0x00000000
esi: 0x00000000, edi: 0x0040b4e0, ebp: 0x00416044, esp: 0x00415fcc
eflags: 0x00000046 cs: 0x0008
call trace:
eip: 0x00012a7f
0x00012dbe (0x43b000)
0x00012f9b (0x40a000)
0x00013051 (0x40b2c0)
0x00011e3c (0x40b2c0)
0x0000143f (0x40b460)
0x0001e29c (0x246)
0x0001fc72 (0x416198)
0x000265a2 (0x416198)
Fatal fault in thread 0x0040b000! Aborting.
PASS - test_threads_suspend_resume_cooperative
===================================================================
starting test - test_threads_suspend_resume_preemptible
***** Double Fault *****
***** Stack Check Fail! *****
Current thread ID = 0x0040b000
eax: 0x00000001, ebx: 0x00000001, ecx: 0x0042b007, edx: 0x00000000
esi: 0x00000000, edi: 0x0040b4e0, ebp: 0x00416044, esp: 0x00415fcc
eflags: 0x00000046 cs: 0x0008
call trace:
eip: 0x00012a7f
0x00012dbe (0x43b000)
0x00012f9b (0x40a000)
0x00013051 (0x40b2c0)
0x00011e3c (0x40b2c0)
0x0000143f (0x40b460)
0x0001e29c (0x246)
0x0001fc72 (0x416198)
0x000265a2 (0x416198)
Fatal fault in thread 0x0040b000! Aborting.
PASS - test_threads_suspend_resume_preemptible
===================================================================
starting test - test_threads_priority_set
PASS - test_threads_priority_set
===================================================================
starting test - test_threads_abort_self
PASS - test_threads_abort_self
===================================================================
starting test - test_threads_abort_others
PASS - test_threads_abort_others
===================================================================
starting test - test_threads_abort_repeat
PASS - test_threads_abort_repeat
===================================================================
starting test - test_abort_handler
***** Double Fault *****
***** Stack Check Fail! *****
Current thread ID = 0x0040b000
eax: 0x00000043, ebx: 0x0000002b, ecx: 0x00413600, edx: 0x000166f8
esi: 0x00000246, edi: 0x0000c2c3, ebp: 0x00416034, esp: 0x00416000
eflags: 0x00000202 cs: 0x0008
call trace:
eip: 0x0000f7cb
0x0000f8c7 (0x42f060)
0x0000f971 (0x42f060)
0x0000d18d (0x43)
0x0000c6c7 (0x43)
0x0000d2cb (0xd14b)
0x0000d4d1 (0x34ab8)
0x00005089 (0x34ab8)
0x0000c2f6 (0x0)
Fatal fault in thread 0x0040b000! Aborting.
Child thread's abort handler called
Calling abort of child from parent
Child thread's abort handler called
***** CPU Page Fault (error code 0x00000000)
Supervisor thread read address 0x00000004
PDE: 0x025 Present, Read-only, User, Execute Enabled
PTE: 0x00 Non-present, Read-only, Supervisor, Execute Enabled
Current thread ID = 0x0040b240
eax: 0x00000000, ebx: 0x00422e6c, ecx: 0x00000000, edx: 0x00000001
esi: 0x00000246, edi: 0x0000c2c3, ebp: 0x00422e84, esp: 0x00422e6c
eflags: 0x00000006 cs: 0x0008
call trace:
eip: 0x00009cc4
0x00018c8f (0x42f400)
0x00018f38 (0x413614)
0x00004fba (0x413614)
0x00025b12 (0x246)
0x0002654a (0x40b000)
0x00004676 (0x40b000)
0x000051b1 (0x40b000)
0x00015708 (0x0)
Fatal fault in thread 0x0040b240! Aborting.
Environment (please complete the following information):
- OS: fedora29
- Toolchain zephyr
- Commit SHA or Version used: 0734b4f
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug