Bug 1460572 - core dump not generated in fedora 25
core dump not generated in fedora 25
Status: NEW
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
25
x86_64 Linux
unspecified Severity urgent
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-12 01:02 EDT by n_jayshankar
Modified: 2017-06-12 10:09 EDT (History)
17 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description n_jayshankar 2017-06-12 01:02:47 EDT
Description of problem:
I have written a snippet of code to generate core dump.
File: a.c

#include <stdio.h>
main()
{
char **c;
c=10;

}
gcc a.c -o a -g
Run:./a

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.
Comment 1 Kamil Dudka 2017-06-12 10:09:03 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.