Bug 1374648

Summary: abrt failing to report vmcore since backtrace file is empty
Product: Red Hat Enterprise Linux 7 Reporter: Deepu K S <dkochuka>
Component: abrtAssignee: Matej Habrnal <mhabrnal>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: ayadav, dkochuka, huerlimannpeter, jkejda, lmiksik, mhabrnal, mkutlak, mkyral, msuchy
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1439821 (view as bug list) Environment:
Last Closed: 2018-04-10 17:41:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1439821    
Bug Blocks: 1420851, 1474754    

Description Deepu K S 2016-09-09 10:22:41 UTC
Description of problem:
abrt-cli report fails to report vmcore problem directories. The cause appears to be since backtrace file is empty.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 7.2
abrt-2.1.11-35.el7.x86_64
abrt-addon-vmcore-2.1.11-35.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
# abrt-cli report /var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01:05:49
Can't find a meaningful backtrace for hashing in '.'
('analyze_VMcore' exited with 1)

# abrt-cli report /var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01\:05\:49
Can't find a meaningful backtrace for hashing in '.'
('analyze_VMcore' exited with 1)

# abrt-cli report /var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01\:05\:49/
Can't chown '/var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01:05:49/': GDBus.Error:org.freedesktop.problems.InvalidProblemDir: '/var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01:05:49/' is not a valid problem directory
Can't take ownership of '/var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01:05:49/'

Actual results:
# abrt-cli report /var/spool/abrt/vmcore-127.0.0.1-2016-09-08-01:05:49

The vmcore-127.0.0.1-2016-09-08-01.tar.gz file is uploaded at
http://10.65.5.157/files/vmcore-127.0.0.1-2016-09-08-01.tar.gz

Expected results:
Successfull abrt reporting.

Additional info:

Comment 1 Peter Huerlimann 2016-11-14 08:42:26 UTC
I experience the same behaviour. Also present on RHEL 7.3 (most recent patches as of November, 14).

I reported this initially in case number 01734705, but following it here now.

Comment 2 Julius Milan 2017-04-11 09:24:11 UTC
Pull request:
https://github.com/abrt/abrt/pull/1240

Comment 10 errata-xmlrpc 2018-04-10 17:41:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0949