Red Hat Bugzilla – Bug 1460572
core dump not generated in fedora 25
Last modified: 2017-06-12 10:09:03 EDT
Description of problem:
I have written a snippet of code to generate core dump.
gcc a.c -o a -g
In fedora 25 after segmentation fault, core dump file is not being created.
I have also set the core file to unlimit with the command ulimit -c unlimited.
Please check the contents of /proc/sys/kernel/core_pattern. As far as I know, f25 uses systemd-coredump by default. The core dumps are then available via coredumpctl(1).
Note that you can use gdb(1) to create core dumps manually anytime anywhere.