nuttx/sched/misc
liang.huang 7667d6a9fa 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-08-03 21:29:04 +08:00
..
assert.c sched: avoid dumping raw memory at address 0 for tasks without kstack 2026-08-03 21:29:04 +08:00
CMakeLists.txt coredump:Move coredump to sched/misc 2024-10-12 12:29:06 +08:00
coredump.c sched/misc: Optimize thread saving order in coredump for easier gdb debug 2026-04-14 19:33:14 +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