Bug 611543
Summary: | Assertion when raising a link established event on clustered broker | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Gordon Sim <gsim> |
Component: | qpid-cpp | Assignee: | Alan Conway <aconway> |
Status: | CLOSED ERRATA | QA Contact: | Jeff Needle <jneedle> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | beta | CC: | rmusil |
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:30: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: |
Description
Gordon Sim
2010-07-05 14:17:22 UTC
Fixed on trunk r960681, on 1.3.x release branch http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=ba83c5fd4c4cccae42240c70473d8d37fd8d3fcb Reproduced on qpid-cpp-server-0.7.946106-6.el5: 1) /usr/sbin/qpidd --auth no --data-dir cluster-a-grs --cluster-name cluster-a-grs --port 5673 2) (in another window) /usr/sbin/qpidd --auth no --data-dir cluster-b-grs --cluster-name cluster-b-grs --port 5674 3) (in a third window) qpid-tool localhost:5673 4) (in fourth window) qpid-route route add localhost:5673 localhost:5674 amq.fanout "" Step 4. causes the broker started in step 1. to crash: 2010-08-27 05:27:42 critical Modified cluster state outside of cluster context Aborted (core dumped) Core was generated by `/usr/sbin/qpidd --auth no --data-dir cluster-a-grs --cluster-name cluster-a-grs'. Program terminated with signal 6, Aborted. [New process 29946] [New process 29947] [New process 29945] [New process 29944] [New process 29943] [New process 29941] [New process 29940] #0 0x00000038f9c30265 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00000038f9c30265 in raise () from /lib64/libc.so.6 #1 0x00000038f9c31d10 in abort () from /lib64/libc.so.6 #2 0x00002b11ca8213d4 in qpid::sys::assertClusterSafe () at qpid/sys/ClusterSafe.cpp:42 #3 0x00002b11ca327220 in qpid::broker::Queue::push (this=0x74f4, msg=@0x74fa, isRecovery=6) at qpid/broker/Queue.cpp:590 #4 0x00002b11ca32910c in qpid::broker::Queue::deliver (this=0x1bdd6c90, msg= {p_ = 0x4456a5b0}) at qpid/broker/Queue.cpp:159 #5 0x00002b11ca2cd922 in qpid::broker::DeliverableMessage::deliverTo ( this=0x4456ad70, queue=@0x1bddbac0) at qpid/broker/DeliverableMessage.cpp:31 #6 0x00002b11ca2e59e5 in qpid::broker::Exchange::doRoute (this=0x1bd8cff8, msg=@0x4456ad70, b={px = 0x4456a960, pn = {pi_ = 0x0}}) at qpid/broker/Exchange.cpp:91 #7 0x00002b11ca37effc in qpid::broker::TopicExchange::route (this=0x1bd8cff8, msg=@0x4456ad70, routingKey=@0x4456b660) at qpid/broker/TopicExchange.cpp:321 #8 0x00002b11ca38f546 in qpid::management::ManagementAgent::sendBufferLH ( this=0x2aaaaaaab010, buf=@0x1be20d10, length=84, exchange= {px = 0x4456b610, pn = {pi_ = 0x1be20d10}}, routingKey= {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x4456b660 "���\033"}}) at qpid/management/ManagementAgent.cpp:497 ---Type <return> to continue, or q <return> to quit--- #9 0x00002b11ca39a92c in qpid::management::ManagementAgent::raiseEvent ( this=0x2aaaaaaab010, event=@0x4456bf10, severity=<value optimized out>) at qpid/management/ManagementAgent.cpp:351 #10 0x00002b11ca2ffe7f in qpid::broker::Link::established (this=0x1be23cb0) at qpid/broker/Link.cpp:134 #11 0x00002b11ca304ee5 in qpid::broker::LinkRegistry::notifyConnection ( this=0x1bd692d8, key=<value optimized out>, c=0x1be23860) at qpid/broker/LinkRegistry.cpp:269 #12 0x00002b11ca2c2279 in Connection (this=0x1be23860, out_=<value optimized out>, broker_=@0x1bd68f70, mgmtId_=<value optimized out>, external=<value optimized out>, isLink_=<value optimized out>, objectId_=0, shadow_=false, delayManagement=true) at qpid/broker/Connection.cpp:102 #13 0x00002b11cad4f50d in qpid::cluster::Connection::init (this=0x1be23f40) at qpid/cluster/Connection.h:218 #14 0x00002b11cad5429b in Connection (this=0x1be23f40, c=@0x1bd87090, out=<value optimized out>, mgmtId=@0x1be21798, member=<value optimized out>, isCatchUp=false, isLink=true, external=@0x4456c8c0) at qpid/cluster/Connection.cpp:111 #15 0x00002b11cad5b0f2 in ConnectionCodec (this=0x1be235f0, v=@0x4456c6e0, out=<value optimized out>, logId=@0x1be21798, cluster=@0x1bd87090, catchUp=false, isLink=true, external=@0x4456c8c0) at qpid/cluster/ConnectionCodec.cpp:59 ---Type <return> to continue, or q <return> to quit--- this appear on 0.7.946106-6 and is fixed on 0.7.946106-12 validated on RHEL5.5 i386 / x86_64 packages: # rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u openais-0.80.6-16.el5_5.7 openais-devel-0.80.6-16.el5_5.7 python-qpid-0.7.946106-12.el5 qpid-cpp-client-0.7.946106-12.el5 qpid-cpp-client-devel-0.7.946106-12.el5 qpid-cpp-client-devel-docs-0.7.946106-12.el5 qpid-cpp-client-ssl-0.7.946106-12.el5 qpid-cpp-mrg-debuginfo-0.7.946106-11.el5 qpid-cpp-server-0.7.946106-12.el5 qpid-cpp-server-cluster-0.7.946106-12.el5 qpid-cpp-server-devel-0.7.946106-12.el5 qpid-cpp-server-ssl-0.7.946106-12.el5 qpid-cpp-server-store-0.7.946106-12.el5 qpid-cpp-server-xml-0.7.946106-12.el5 qpid-java-client-0.7.946106-7.el5 qpid-java-common-0.7.946106-7.el5 qpid-tools-0.7.946106-8.el5 rhm-docs-0.7.946106-5.el5 rh-tests-distribution-MRG-Messaging-qpid_common-1.6-53 ->VERIFIED |