Bug 596359

Summary: When dispatch_avail is set to -1 (openais server is killed), library functions segfault
Product: Red Hat Enterprise Linux 5 Reporter: Steven Dake <sdake>
Component: openaisAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.5CC: bzeranski, cluster-maint, edamato, iannis, jkortus, lech.pofelski, philippe.eveque, sdake
Target Milestone: rcKeywords: ZStream
Target Release: 5.6   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openais-0.80.6-20.el5 Doc Type: Bug Fix
Doc Text:
When the openais server was stopped, server clients may have encountered a segmentation fault because of an invalid return code in an internal function. This crash no longer occurs.
Story Points: ---
Clone Of: 579081 Environment:
Last Closed: 2011-01-13 23:56:56 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: 579081    
Bug Blocks: 603623    
Attachments:
Description Flags
Proposed patch none

Comment 1 Steven Dake 2010-05-26 16:24:06 UTC
This bug is used to track the problem with handling the condition of dispatch_avail = -1.

Comment 4 Jan Friesse 2010-06-11 09:22:02 UTC
Created attachment 423182 [details]
Proposed patch

This patch solves problem with untested dispatch_avail variable (when == -1, something bad happened).

See last comment in https://bugzilla.redhat.com/show_bug.cgi?id=579081:
> Hello,
>
> I have large scale tests using the openais with the provided fixes, integrated
> with a telecom application. The test were successful.
>
> Regards,
>
> Lech

Patch was sent to ML, but it's not applied yet.

Steve, can you please apply this patch so we can close both of bugs (579081 and 596359)?

Comment 10 Douglas Silas 2011-01-11 23:15:33 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When the openais server was stopped, server clients may have encountered a segmentation fault because of an invalid return code in an internal function. This crash no longer occurs.

Comment 12 errata-xmlrpc 2011-01-13 23:56:56 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-2011-0100.html