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