Bug 490098

Summary: IPC race condition allows multiple ipc threads within service engine at same time
Product: Red Hat Enterprise Linux 5 Reporter: Steven Dake <sdake>
Component: openaisAssignee: Steven Dake <sdake>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: cluster-maint, djansa, edamato, sghosh
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 11:29:35 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:    
Bug Blocks: 491391    

Description Steven Dake 2009-03-13 09:15:50 UTC
Description of problem:
The IPC system allows multiple ipc dispatch threads to enter a service engine (cpg) at the same time.  Since service engines are not reentrant, they must be protected from multiple threads of execution.

Results in segfaults.

Version-Release number of selected component (if applicable):
openais-0.80.5-4

How reproducible:
100%

Steps to Reproduce:
1. run aisexec single node.  Modify testckpt to exit(0) after first ckptClose.  Segfault.
2.  other failures have been observed.
3.
  
Actual results:
segfault.

Expected results:
shouldn't segfault.

Additional info:

Comment 1 Steven Dake 2009-03-13 09:16:50 UTC
patch available.

Comment 6 errata-xmlrpc 2009-09-02 11:29:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1366.html