mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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> |
||
|---|---|---|
| .. | ||
| assert.c | ||
| CMakeLists.txt | ||
| coredump.c | ||
| coredump.h | ||
| deadlock.c | ||
| Make.defs | ||
| panic_notifier.c | ||
| reboot_notifier.c | ||