Bug 1158903

Summary: [linearstore] segfault when 2 journals request new journal file from empty EFP
Product: Red Hat Enterprise MRG Reporter: Mike Cressman <mcressma>
Component: qpid-cppAssignee: Kim van der Riet <kim.vdriet>
Status: CLOSED ERRATA QA Contact: Michal Toth <mtoth>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: esammons, freznice, iboverma, jross, kim.vdriet, mcressma, messaging-qe-bugs, mtoth, pmoravec, zkraus
Target Milestone: 3.2Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qpid-cpp-0.30-4 Doc Type: Bug Fix
Doc Text:
It was discovered that when two journals concurrently requested a new journal file from an empty EFP, the Broker could segfault. A fix to popEmptyFile now performs an _atomic_ test-and-create-and-grab for the EFP file, which prevents the segfault from occurring.
Story Points: ---
Clone Of: 1150397 Environment:
Last Closed: 2015-10-08 13:09:49 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: 1150397    
Bug Blocks:    
Attachments:
Description Flags
qpidd kill segfault none

Comment 23 Michal Toth 2015-08-12 12:32:32 UTC
Created attachment 1061932 [details]
qpidd kill segfault

Comment 25 Michal Toth 2015-08-19 08:17:20 UTC
Marking this bug as verified for supported platforms using 
qpid-cpp-server-0.34-1
qpid-cpp-server-linearstore-0.34-1

Thank you for your help Kim.

Comment 27 errata-xmlrpc 2015-10-08 13:09:49 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/RHEA-2015-1879.html