Bug 1278730

Summary: SimplePagedResults -- abandon could happen between the abandon check and sending results
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: amsharma, jkurik, mnavrati, msauton, nhosoi, nkinder, rmeggins
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.4.0-21.el7_2 Doc Type: Bug Fix
Doc Text:
Prior to this update, the Directory Server could receive an abandon request for a SimplePagedResults request in the source code between the abandon check and the part of source code that sends the search results. Consequently, the abandon request freed the search results that the result-sending code still referred to, and the Directory Server terminated unexpectedly. Now, the source code that sends the search result is protected by a lock, which prevents the abandon request from occurring. As a result, the Directory Server no longer crashes in the described situation.
Story Points: ---
Clone Of: 1278567 Environment:
Last Closed: 2015-12-08 10:33:58 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:
Bug Depends On: 1278567    
Bug Blocks:    

Description Jan Kurik 2015-11-06 10:02:37 UTC
This bug has been copied from bug #1278567 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 6 Noriko Hosoi 2015-11-17 17:57:42 UTC
See [Bug 1282607] New: 389-ds-base-1.2.11.15-67.el6_7 hang

Comment 8 Amita Sharma 2015-11-20 11:56:30 UTC
Executed Simple paged search acceptance test with latest build ::
SIMPLEPAGED startup 	100% (1/1) 	  	 
SIMPLEPAGED run 	100% (17/17) 	  	 
SIMPLEPAGED cleanup 	100% (1/1)

[root@dhcp201-167 ~]# rpm -qa | grep 389
389-ds-base-1.3.4.0-21.el7_2.x86_64
389-ds-base-debuginfo-1.3.4.0-21.el7_2.x86_64
389-ds-base-libs-1.3.4.0-21.el7_2.x86_64


Note : this bug is verified as Sanity Only Check.

Comment 10 errata-xmlrpc 2015-12-08 10:33:58 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-2015-2572.html