nuttx-mirror/sched
ligd 6e68dde445 sem: fix assert failed when open CONFIG_PRIORITY_INHERITANCE
set CONFIG_PRIORITY_INHERITANCE=y
set CONFIG_SEM_PREALLOCHOLDERS=0 or CONFIG_SEM_PREALLOCHOLDERS=8

    #24 0x4dcab71 in __assert assert/lib_assert.c:37
    #25 0x4d6b0e9 in nxsem_destroyholder semaphore/sem_holder.c:602
    #26 0x4d80cf7 in nxsem_destroy semaphore/sem_destroy.c:80
    #27 0x4d80db9 in sem_destroy semaphore/sem_destroy.c:120
    #28 0x4dcb077 in nxmutex_destroy misc/lib_mutex.c:122
    #29 0x4dc6611 in pipecommon_freedev pipes/pipe_common.c:117
    #30 0x4dc7fdc in pipecommon_close pipes/pipe_common.c:397
    #31 0x4ed4f6d in file_close vfs/fs_close.c:78
    #32 0x6a91133 in local_free local/local_conn.c:184
    #33 0x6a92a9c in local_release local/local_release.c:129
    #34 0x6a91d1a in local_subref local/local_conn.c:271
    #35 0x6a75767 in local_close local/local_sockif.c:797
    #36 0x4e978f6 in psock_close socket/net_close.c:102
    #37 0x4eed1b9 in sock_file_close socket/socket.c:115
    #38 0x4ed4f6d in file_close vfs/fs_close.c:78
    #39 0x4ed1459 in nx_close_from_tcb inode/fs_files.c:754
    #40 0x4ed1501 in nx_close inode/fs_files.c:781
    #41 0x4ed154a in close inode/fs_files.c:819
    #42 0x6bcb9ce in property_get kvdb/client.c:307
    #43 0x6bcd465 in property_get_int32 kvdb/common.c:270
    #44 0x5106c9a in tz_offset_restore app/miwear_bluetooth.c:745
    #45 0x510893f in miwear_bluetooth_main app/miwear_bluetooth.c:1033
    #46 0x4dcf5c8 in nxtask_startup sched/task_startup.c:70
    #47 0x4d70873 in nxtask_start task/task_start.c:134
    #48 0x4e04a07 in pre_start sim/sim_initialstate.c:52

Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-10-11 21:34:37 +08:00
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
init Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
instrument sched/gprof: add gprof support 2024-10-10 18:46:51 +08:00
irq arch: support customized up_cpu_index() in AMP mode 2024-10-10 02:38:40 +08:00
misc Rename group_argvstr to nxtask_argvstr 2024-10-10 23:13:37 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mq: change mqueue msg mail to dynamic array 2024-10-07 20:20:13 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread sched/pthread: save pid before task activate 2024-10-10 17:58:22 +08:00
sched Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
semaphore sem: fix assert failed when open CONFIG_PRIORITY_INHERITANCE 2024-10-11 21:34:37 +08:00
signal signal: add sig_tgkill() kenrnel version support 2024-10-10 02:38:12 +08:00
task sched/task: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
timer sched/signal: Fix compilation errors for MSVC. 2024-10-09 01:36:39 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix code style 2024-10-10 13:57:46 +08:00
wqueue sched/wqueue: Fix unexpected dq entry status 2024-09-17 02:56:39 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00