Bug 636186 - Session/Sender/Receiver in global scope may result in abort on exit
Summary: Session/Sender/Receiver in global scope may result in abort on exit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Release_Notes
Version: beta
Hardware: All
OS: Linux
urgent
medium
Target Milestone: 1.3
: ---
Assignee: Lana Brindley
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks: 548214
TreeView+ depends on / blocked
 
Reported: 2010-09-21 15:59 UTC by Gordon Sim
Modified: 2013-10-23 23:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: If global (or static) variables for qpid::messaging::Session, qpid::messaging::Sender or qpid::messaging::Receiver go out of scope on application exit after the last qpid::messaging::Connection reference to their containing connection Consequence: There is an abort on exit. Workaround: Either reset any such global variables before exit or ensure that the order in which those variables are destroyed is such that the connection is destroyed last. Result: These workarounds prevent the abort on exit.
Clone Of:
Environment:
Last Closed: 2010-10-14 20:44:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gordon Sim 2010-09-21 15:59:31 UTC
Cause:

If global (or static) variables for qpid::messaging::Session, qpid::messaging::Sender or qpid::messaging::Receiver go out of scope on application exit after the last qpid::messaging::Connection reference to their containing connection

Consequence:

There is an abort on exit.

Workaround:

Either reset any such global variables before exit or ensure that the order in which those variables are destroyed is such that the connection is destroyed last.

Result:

These workarounds prevent the abort on exit.

See bug 567617.

Comment 1 Gordon Sim 2010-09-21 15:59:56 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:
Cause:

If global (or static) variables for qpid::messaging::Session,
qpid::messaging::Sender or qpid::messaging::Receiver go out of scope on
application exit after the last qpid::messaging::Connection reference to their
containing connection

Consequence:

There is an abort on exit.

Workaround:

Either reset any such global variables before exit or ensure that the order in
which those variables are destroyed is such that the connection is destroyed
last.

Result:

These workarounds prevent the abort on exit.

Comment 2 Lana Brindley 2010-09-23 03:59:52 UTC
Revision 0.1 of the release notes will available for review on the stage shortly.

LKB

Comment 3 Lana Brindley 2010-10-14 20:44:19 UTC
Release Notes have now  been published:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.3/html/MRG_Release_Notes/index.html

LKB


Note You need to log in before you can comment on or make changes to this bug.