Bug 773719
Summary: | Concurrent queue bind on the same queue results in crash | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Jason Dillaman <jdillama> | ||||
Component: | qpid-cpp | Assignee: | Ted Ross <tross> | ||||
Status: | CLOSED ERRATA | QA Contact: | Leonid Zhaldybin <lzhaldyb> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 2.0 | CC: | esammons, iboverma, jross, lzhaldyb, mcressma, tross | ||||
Target Milestone: | 2.3 | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qpid-cpp-0.18-1 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause: There was a defect in the qpid broker in which the list of bindings on a queue was insufficiently protected from concurrent access.
Consequence: If multiple clients connected to the broker were adding and deleting bindings on the same queue, the broker might crash.
Fix: The broker was updated to provide adequate protection for this data structure.
Result: The broker does not crash with multiple clients manipulating the bindings on the same queue.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-03-06 18:54:23 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: | 698367, 803771 | ||||||
Attachments: |
|
Description
Jason Dillaman
2012-01-12 17:27:45 UTC
Upstream issue: https://issues.apache.org/jira/browse/QPID-3755 Created attachment 555091 [details]
Reproducer
I've attached a reproducer. This program runs against a broker running on "localhost:10000" and has a queue called "test-queue" pre-configured. If 20 instances of this program are run at the same time, the failure can be seen reliably. Fixed upstream in revision 1231158. *** Bug 704510 has been marked as a duplicate of this bug. *** Tested on RHEL5.9 and RHEL6.3 (both i386 and x86_64). This issue has been fixed. Packages used for testing: RHEL5.9 qpid-cpp-client-0.18-13.el5 qpid-cpp-client-devel-0.18-13.el5 qpid-cpp-client-devel-docs-0.18-13.el5 qpid-cpp-client-ssl-0.18-13.el5 qpid-cpp-server-0.18-13.el5 qpid-cpp-server-cluster-0.18-13.el5 qpid-cpp-server-devel-0.18-13.el5 qpid-cpp-server-ssl-0.18-13.el5 qpid-cpp-server-store-0.18-13.el5 qpid-cpp-server-xml-0.18-13.el5 qpid-java-client-0.18-6.el5 qpid-java-common-0.18-6.el5 qpid-java-example-0.18-6.el5 qpid-qmf-0.18-13.el5 qpid-qmf-devel-0.18-13.el5 qpid-tools-0.18-7.el5 RHEL6.3 qpid-cpp-client-0.18-13.el6 qpid-cpp-client-devel-0.18-13.el6 qpid-cpp-client-devel-docs-0.18-13.el6 qpid-cpp-server-0.18-13.el6 qpid-cpp-server-devel-0.18-13.el6 qpid-cpp-server-store-0.18-13.el6 qpid-cpp-server-xml-0.18-13.el6 qpid-java-client-0.18-6.el6 qpid-java-common-0.18-6.el6 qpid-java-example-0.18-6.el6 qpid-qmf-0.18-13.el6 qpid-tools-0.18-7.el6_3 -> VERIFIED 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. http://rhn.redhat.com/errata/RHSA-2013-0561.html |