查看coredump文件位置
cat /proc/sys/kernel/core_pattern
coredumpctl list
coredumpctl dump pid_xxx --output xxx.core
gdb调试
gdb -c xxx.core xxx.bin
tui
up 1
down 1
disas
设置coredump文件位置
sudo sysctl -w kernel.core_pattern="/home/bill/project/test_coredump/core/core_%e_%p"
cat /proc/sys/kernel/core_pattern
参考
https://debugging.works/blog/analyzing-linux-coredump/
https://blog.csdn.net/u011942101/article/details/119480601