incubator-nuttx/sched/signal
zhangyuan29 ed8007ac40 sched/signal: exit sig action when tcb group is null
nxsig_action will use tcb group when group release,
so check tcb group when do sig action.

[ap] dump_assert_info: Assertion failed : at file: signal/sig_action.c:205 task: ofonod process: Kernel 0xec89d5
[ap] sched_dumpstack: backtrace:
[ap] sched_dumpstack: [29] [<0x66e2e2>] backtrace_unwind+0x105/0x108
[ap] sched_dumpstack: [29] [<0x660272>] sched_backtrace+0x41/0x48
[ap] sched_dumpstack: [29] [<0x61c4dc>] sched_dumpstack+0x33/0x80
[ap] sched_dumpstack: [29] [<0x6023e4>] _assert+0x19b/0x39c
[ap] sched_dumpstack: [29] [<0x61b7e4>] __assert+0x7/0x10
[ap] sched_dumpstack: [29] [<0x6071a2>] nxsig_action+0x119/0x248
[ap] sched_dumpstack: [29] [<0x6072d8>] sigaction+0x7/0x24
[ap] sched_dumpstack: [29] [<0x66a072>] signal+0x4d/0x80
[ap] sched_dumpstack: [29] [<0x100fd36>] signalfd_file_close+0x35/0x60
[ap] sched_dumpstack: [29] [<0x64a7d8>] file_close+0x1b/0x44
[ap] sched_dumpstack: [29] [<0x649ac0>] files_putlist+0x2b/0x70
[ap] sched_dumpstack: [29] [<0x60491a>] group_leave+0x99/0xe4
[ap] sched_dumpstack: [29] [<0x605df8>] nxtask_exithook+0x4f/0xf4
[ap] sched_dumpstack: [29] [<0x603ca0>] _exit+0x33/0x3c
[ap] sched_dumpstack: [29] [<0x61ecf0>] abort+0x7/0xc

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
2024-10-12 13:39:21 +08:00
..
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_action.c sched/signal: exit sig action when tcb group is null 2024-10-12 13:39:21 +08:00
sig_allocpendingsigaction.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_cleanup.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_default.c sched/signal: change pthread_exit to nx_pthread_exit 2024-10-08 16:53:21 +08:00
sig_deliver.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_dispatch.c sched/signal: There is no need to use sched_[un]lock 2024-10-12 13:28:23 +08:00
sig_findaction.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_initialize.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_kill.c sched/signal: Simplify the implementation of SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
sig_lowest.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_nanosleep.c sleep: optimize sleep logic, to reduce the disable IRQ time 2024-10-09 13:54:29 +08:00
sig_notification.c sched/signal: Simplify the implementation of SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
sig_pause.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_pending.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_ppoll.c usleep: use div_const to optimize the usleep 2024-09-12 18:14:39 +08:00
sig_procmask.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_pselect.c usleep: use div_const to optimize the usleep 2024-09-12 18:14:39 +08:00
sig_queue.c sched/signal: Simplify the implementation of SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
sig_releasependingsigaction.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_releasependingsignal.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_removependingsignal.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_sleep.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_suspend.c sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
sig_tgkill.c signal: add sig_tgkill() kenrnel version support 2024-10-10 02:38:12 +08:00
sig_timedwait.c nxsig_clockwait: fix time error when clockid is CLOCK_REALTIME 2024-10-09 13:54:29 +08:00
sig_unmaskpendingsignal.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sig_usleep.c usleep: use div_const to optimize the usleep 2024-09-12 18:14:39 +08:00
sig_waitinfo.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
signal.h sched/signal: Simplify the implementation of SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00