Bug 1245893

Summary: size limit race condition: a processed problem was removed by another abrtd handler
Product: Red Hat Enterprise Linux 6 Reporter: jigar <jraising>
Component: abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: medium Docs Contact: Petr Bokoc <pbokoc>
Priority: medium    
Version: 6.6CC: jberan, jfilak, mael.lavault, mhabrnal, mkyral, pbokoc
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: abrt-2.0.8-40.el6 Doc Type: Release Note
Doc Text:
Fixed a race condition when processing of detected problems in *abrtd* This update fixes a race condition in the *abrtd* service which was causing a loss of detected problem data, filling system logs with repeated error messages, and causing *abrt* core dumper processes to hang, which in turn prevented dumped programs from being restarted.
Story Points: ---
Clone Of:
: 1369433 (view as bug list) Environment:
Last Closed: 2016-05-11 00:37:56 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1172231, 1254457    
Attachments:
Description Flags
Patch 1/2: testsuite: add concurrent processing test for abrtd
none
Patch 2/2: avoid race conditions in abrtd none

Description jigar 2015-07-23 05:38:08 UTC
Description of problem: Abrt error : '/var/spool/abrt/ccpp-2015-07-14-12:19:05-12547' is not a problem directory  . This message can be seen in /var/log/messages.

How reproducible:Sometimes


Steps to Reproduce:
The following error messages are seen in /var/log/messages:
ul 16 16:37:46 smf abrtd: '/var/spool/abrt/ccpp-2015-07-14-12:19:05-12547' is not a problem directory
Jul 16 16:37:47 smf abrtd: '/var/spool/abrt/ccpp-2015-07-14-12:19:05-12547' is not a problem directory
Jul 16 16:38:22 smf abrtd: '/var/spool/abrt/ccpp-2015-07-14-12:19:05-12547' is not a problem directory
Jul 16 16:38:23 smf abrtd: '/var/spool/abrt/ccpp-2015-07-14-12:19:05-12547' is not a problem directory
Jul 16 16:38:23 smf abrtd: New problem directory /var/spool/abrt/pyhook-2015-07-16-16:37:08-19857, processing
Jul 16 16:38:23 smf abrtd: Sending an email...
Jul 16 16:38:23 smf abrtd: Email was sent to: root@localhost

Actual results:
Abrt is reporting error messages.

Expected results:
Abrt should capture ccpp-* directory on crash.

Additional info:
Bug 847291 seems like a duplicate but was already fixed in abrt-2.0.8-6.el6.x86_64, libreport-2.0.9-5.el6.x86_64

Comment 5 Jakub Filak 2016-02-18 10:11:13 UTC
Created attachment 1128174 [details]
Patch 1/2: testsuite: add concurrent processing test for abrtd

Comment 6 Jakub Filak 2016-02-18 10:11:18 UTC
Created attachment 1128175 [details]
Patch 2/2: avoid race conditions in abrtd

Comment 10 errata-xmlrpc 2016-05-11 00:37:56 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://rhn.redhat.com/errata/RHBA-2016-0920.html

Comment 11 Maƫl Lavault 2017-05-22 11:57:46 UTC
I have plenty of those message on every boot. As a result problems happening on boot are not reported, which is a shame since I have quite a few.