Bug 727231

Summary: abrt deletes my core dumps
Product: [Fedora] Fedora Reporter: Marcin Rzeźnicki <marcin.rzeznicki>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-01 16:36:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marcin Rzeźnicki 2011-08-01 15:34:08 UTC
Description of problem:

abrt deletes my core dumps, stating that executable does not belong to any package (which is true), effectively preventing me from debug crashes in my own programs

Version-Release number of selected component (if applicable):

1.1.18

Steps to Reproduce:
1. Create an executable. Write it so that it segfaults
2. execute

Actual results:

Program prints: *** glibc detected *** /home/rzeznik/Publiczny/ccode/server/cds/perf/.libs/lt-dbl_cache_perf: free(): invalid pointer: 0x09adc670 ***
Segmentation fault (core dumped)

abrt does:
Aug  1 17:19:18 fedora abrt[22918]: saved core dump of pid 22904 (/home/rzeznik/Publiczny/ccode/server/cds/perf/.libs/lt-dbl_cache_perf) to /var/spool/abrt/ccpp-1312211954-22904
.new/coredump (27164672 bytes)
Aug  1 17:19:18 fedora abrtd: Directory 'ccpp-1312211954-22904' creation detected
Aug  1 17:19:18 fedora abrtd: Executable '/home/rzeznik/Publiczny/ccode/server/cds/perf/.libs/lt-dbl_cache_perf' doesn't belong to any package
Aug  1 17:19:18 fedora abrtd: Corrupted or bad crash /var/spool/abrt/ccpp-1312211954-22904 (res:4), deleting


Expected results:

I want my coredump !!

Comment 1 Jiri Moskovcak 2011-08-01 15:57:36 UTC
if you set:

$ ulimit -c unlimited

abrt should create core.<PID> in the current working directory of the crashed program

Comment 2 Marcin Rzeźnicki 2011-08-01 16:36:59 UTC
That works great. My apologies for troubling you. I am closing this bug as invalid then.