Bug 596765
| Summary: | Shutdown order in broker causes invalid writes by ManagementObject in store | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Kim van der Riet <kim.vdriet> |
| Component: | qpid-cpp | Assignee: | Alan Conway <aconway> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | Development | CC: | aconway, jsarenik |
| Target Milestone: | 1.3 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-20 11:29:59 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: | 595438 | ||
|
Description
Kim van der Riet
2010-05-27 13:26:05 UTC
I can confirm that if the cluster initialization fails and the broker is thus shut down, the same error as above results: 2010-05-27 09:42:09 critical Unexpected error: Cluster-ID mismatch. Stores belong to different clusters. ==3403== Invalid write of size 8 ... ==3403== Invalid write of size 1 ... Fixed in store revision 3995 Remove global shared_ptr to store in store plugin. The global shared_ptr delays destruction of the store till after the broker is deleted causing core dumps when unregistering management objects. Verified on RHEL5.5 x86_64 qpid-cpp-server-store-0.7.946106-2.el5 qpid-cpp-server-cluster-0.7.946106-2.el5 Very easily reproduced on the same system with -1 build packages. Verified also on the same versions of packages for i386 RHEL5.5 |