Closed TaiJuWu closed 1 year ago
sigprocmask_test: ERROR unexpected sigprocmask toolchain: arm-none-eabi-gcc (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) nuttx version: tag: nuttx-12.2.1 config: ./tools/configure.sh -l qemu-armv8a:nsh_smp
user_main: sigprocmask test sigprocmask_test: ERROR unexpected sigprocmask [CPU0] _assert: Current Version: NuttX 12.2.1 d67e98086c Sep 15 2023 07:35:42 arm64 [CPU0] _assert: Assertion failed : at file: sigprocmask.c:144 task(CPU0): ostest 0x402a11f8 [CPU0] up_dump_register: stack = 0x402c7d00 [CPU0] up_dump_register: x0: 0x402c7d00 x1: 0x402c69c8 [CPU0] up_dump_register: x2: 0x0 x3: 0x0 [CPU0] up_dump_register: x4: 0x1 x5: 0x2 [CPU0] up_dump_register: x6: 0x7 x7: 0xa00 [CPU0] up_dump_register: x8: 0x402b558e x9: 0x0 [CPU0] up_dump_register: x10: 0x64 x11: 0x402b3955 [CPU0] up_dump_register: x12: 0x0 x13: 0x0 [CPU0] up_dump_register: x14: 0x0 x15: 0x0 [CPU0] up_dump_register: x16: 0x4028d990 x17: 0x0 [CPU0] up_dump_register: x18: 0x0 x19: 0x402c7d00 [CPU0] up_dump_register: x20: 0x40372e00 x21: 0x9 [CPU0] up_dump_register: x22: 0x403734e0 x23: 0x0 [CPU0] up_dump_register: x24: 0x402b68d1 x25: 0x90 [CPU0] up_dump_register: x26: 0x0 x27: 0x0 [CPU0] up_dump_register: x28: 0x0 x29: 0x0 [CPU0] up_dump_register: x30: 0x402872f4 [CPU0] up_dump_register: [CPU0] up_dump_register: STATUS Registers: [CPU0] up_dump_register: SPSR: 0x40000005 [CPU0] up_dump_register: ELR: 0x402ada68 [CPU0] up_dump_register: SP_EL0: 0x40377170 [CPU0] up_dump_register: SP_ELX: 0x403770c0 [CPU0] up_dump_register: TPIDR_EL0: 0x40372e00 [CPU0] up_dump_register: TPIDR_EL1: 0x40372e00 [CPU0] up_dump_register: EXE_DEPTH: 0xffffffffffffffff [CPU0] group_drop: Keep group 0x40372f20 (waiters > 0) ostest_main: Exiting with status 256 [CPU1] group_drop: Keep group 0x4036e8c0 (waiters > 0)
Fix sigprocmask
SIGSTOP and SIGKILL should not be used as test. In g_some_signals, SIGKILL is used.
The SIGSTOP and SIGKILL flags of current task are set so we need to delete them.
sigprocmask_test: ERROR unexpected sigprocmask toolchain: arm-none-eabi-gcc (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) nuttx version: tag: nuttx-12.2.1 config: ./tools/configure.sh -l qemu-armv8a:nsh_smp