Bug 541880

Summary: With ABRT installed core files aren't created when my program aborts
Product: [Fedora] Fedora Reporter: Chris January <chris>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mnowak, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-27 12:12:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix which adds MakeCompatCore = yes/no directive to Plugins/CCpp.conf none

Description Chris January 2009-11-27 11:57:04 UTC
Description of problem:

I have a program that aborts with SIGABRT. I am changing the ulimit for core files like so:
ulimit -c unlimited
then running my program. The program aborts, but no core file is created.

How reproducible:

Every time.

Steps to Reproduce:
bash-4.0$ cat abort.c
#include <sys/signal.h>

int main(void)
{
        raise(SIGABRT);
        return 0;
}
bash-4.0$ gcc abort.c -o abort -g
bash-4.0$ ulimit -c unlimited
bash-4.0$ ./abort
Aborted (core dumped)
bash-4.0$ ls core*
ls: cannot access core*: No such file or directory
  
Actual results:

bash-4.0$ ls core*
ls: cannot access core*: No such file or directory

Expected results:

bash-4.0$ ls core*
core

Comment 1 Michal Nowak 2009-11-27 12:12:28 UTC

*** This bug has been marked as a duplicate of bug 541707 ***

Comment 2 Denys Vlasenko 2009-11-27 15:05:16 UTC
Created attachment 374234 [details]
Fix which adds MakeCompatCore = yes/no directive to Plugins/CCpp.conf