after setting ulimit -c unlimited, if you still don’t get the core file in the workding dir. try to run this: cat /proc/sys/kernel/core_pattern to get the path of the core dump files. test env: Ubuntu 20.04 (WSL), you may get: /mnt/wslg/dumps/core.%e Comments: (on github issue) ……

阅读全文