Bug 601888

Summary: Abrt processes crashes only if ulimit -c is non-zero.
Product: [Fedora] Fedora Reporter: Gene Snider <genes1122>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: 8ru2u4gz, anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, 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: 2010-08-03 16:24:03 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:

Description Gene Snider 2010-06-08 20:05:44 UTC
Description of problem: In order for abrt to process crashes, ulimit -c must be set to a non-zero value in ~/.bash_profile.

Version-Release number of selected component (if applicable):
abrt1.1.4-1.fc14

How reproducible:
Easily.

Steps to Reproduce:
1. With default ulimit, ulimit -c 0, start gnome-shell. (guaranteed gnome-panel crash)
2. Crash is in /var/log/messages, but abrt didn't run
3.
  
Actual results:
No abrt when ulimit -c 0

Expected results:
In F12 and F13, I believe abrt worked with ulimit -c 0.

Additional info:
With ulimit -c 0, this is in /var/log/messages:

Jun  8 12:23:12 localhost kernel: gnome-panel[10318]:
segfault at 3ef064c500 ip 0000003ef064c500 sp 00007fff9d079318 error 4 in libgnome-desktop-.so.17.1.1[3ef1a00000+28000]
Jun  8 12:23:12 localhost kernel: Process 10318(gnome-panel) has RLIMIT_CORE set to 0
Jun  8 12:23:12 localhost kernel: Aborting core

With ulimit -c set to unlimited, this is in /var/log/messages:

Jun  8 12:17:47 localhost kernel: gnome-panel[5311]: segfault at 3ef064c500 ip 0000003ef064c500 sp 00007fff448902e8 error 4 in libgnome-desktop-2.so.17.1.1[3ef1a00000+28000]
Jun  8 12:17:48 localhost abrt[9125]: saved core dump of pid 5311 (/usr/bin/gnome-panel) to /var/spool/abrt/ccpp-1276024667-5311.new/coredump (28971008 bytes)
Jun  8 12:17:48 localhost abrtd: Directory 'ccpp-1276024667-5311' creation detected
Jun  8 12:17:48 localhost abrt[9125]: saved core dump of pid 5311 to /home/gene/core.5311 (28971008 bytes)
Jun  8 12:17:50 localhost abrtd: New crash /var/spool/abrt/ccpp-1276024667-5311, processing
Jun  8 12:17:50 localhost abrtd: Registered Action plugin 'RunApp'
Jun  8 12:17:50 localhost abrtd: RunApp('/var/spool/abrt/ccpp-1276024667-5311','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Jun  8 12:17:59 localhost abrtd: Getting crash infos...

Comment 1 Bug Zapper 2010-07-30 12:04:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Jiri Moskovcak 2010-08-03 16:24:03 UTC
Already fixed.