nuttx/sched/misc
liang.huang 059176fe64 sched: avoid dumping raw memory at address 0 for tasks without kstack
dump_stacks() only checked kernelstack_sp != 0 || force, so for tasks
with no kernel stack (e.g. idle, kernelstack_base == 0) the force path
passed base 0 to dump_stackinfo() and dumped raw memory from address 0,
triggering a secondary fault that truncated the panic log.  Guard with
kernelstack_base != 0.

Signed-off-by: liang.huang <liang.huang@houmo.ai>
2026-07-20 20:57:45 -03:00
..
assert.c sched: avoid dumping raw memory at address 0 for tasks without kstack 2026-07-20 20:57:45 -03:00
CMakeLists.txt coredump:Move coredump to sched/misc 2024-10-12 12:29:06 +08:00
coredump.c sched/misc/coredump.c: guard tcb->name in coredump 2026-07-10 05:04:13 +08:00
coredump.h coredump:Move private functions to internal header files 2024-10-12 12:29:06 +08:00
deadlock.c Clean up the nxmutex library 2025-05-08 16:00:05 +08:00
Make.defs coredump:Move coredump to sched/misc 2024-10-12 12:29:06 +08:00
panic_notifier.c spinlock: Fix compilation error with atomic.h. 2025-06-25 22:13:00 +08:00
reboot_notifier.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00