Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1330734 - No core dump generated
Summary: No core dump generated
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Matej Habrnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 20:22 UTC by Michael Jørgensen
Modified: 2016-04-30 00:24 UTC (History)
7 users (show)

Fixed In Version: abrt-2.8.0-5.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-30 00:24:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Jørgensen 2016-04-26 20:22:53 UTC
Description of problem:
When a user compiled program crashes, no core dump is generated in the current directory.

Version-Release number of selected component (if applicable):
abrt-2.8.0-4.fc23.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Compile a C program that performs a divide by zero.
2. Run the program from the shell (bash).

Actual results:
The program crashes as expected and prints out:
"Floating point exception (core dumped)"
No files are written in the current directory.

Expected results:
I expect a file named core.PID to be generated in the current directory, such that the user compiled program can be debugged using gdb.

Additional info:
I have ensured that the command "ulimit -c unlimited" is executed prior to the crash.

The output of journalctl is the following:
Apr 26 22:12:43 granbo-3 kernel: traps: egtb[10022] trap divide error ip:401ec9 sp:7ffc2a287b80 error:0 in egtb[400000+5000]
Apr 26 22:12:43 granbo-3 audit[10022]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=10022 comm="egtb"
Apr 26 22:12:43 granbo-3 abrt-hook-ccpp[10023]: Process 10022 (egtb) of user 1000 killed by SIGFPE - dumping core
Apr 26 22:12:43 granbo-3 abrt-server[10024]: No actions are found for event 'notify'

After the crash the abrt-cli command reports the following:
[mike@granbo-3 nottt]$ abrt-cli ls
id 4b1ceeb5b8789bee5294768e4ffb7ea95a12f201
reason:         egtb killed by SIGFPE
time:           2016-04-26T22:12:43 CEST
cmdline:        ./egtb 3 3
uid:            1000 (mike)
count:          1
Directory:      /var/spool/abrt/ccpp-2016-04-26-22:12:43-10022

The directory named above "/var/spool/abrt/ccpp-2016-04-26-22:12:43-10022" contains a bunch of files, one of which is named coredump. This file works with gdb. The core file is about 500 KB in size. However, the directory is only readable by root, not by the user.

I have checked that the file "/etc/abrt/abrt-action-save-package-data.conf" contains the line "ProcessUnpackaged = yes".

Comment 1 Jakub Filak 2016-04-27 07:39:48 UTC
Thank you for the report. Please set "MakeCompatCore = yes" in the /etc/abrt/plugins/CCpp.conf file. We have accidentally backported a patch for systemd>=229 to Fedora 23.

Comment 2 Matej Habrnal 2016-04-27 08:08:33 UTC
This upstream commit fixes the issue https://github.com/abrt/abrt/commit/28ca630b90fad3e1484606a1edb5a033cbb5085a

Comment 3 Fedora Update System 2016-04-27 08:45:36 UTC
abrt-2.8.0-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f23ce9d1b4

Comment 4 Fedora Update System 2016-04-28 02:31:34 UTC
abrt-2.8.0-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f23ce9d1b4

Comment 5 Fedora Update System 2016-04-30 00:24:08 UTC
abrt-2.8.0-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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