When disconnect MQ and try to reconnect, MqClient may crash
-----------------------------------------------------------
Key: AMQCPP-333
URL: https://issues.apache.org/activemq/browse/AMQCPP-333
Project: ActiveMQ C++ Client
Issue Type: Bug
Affects Versions: 3.2.3
Environment: Window XP,
Visual Studio Team System 2008
Reporter: FangYu
Assignee: Timothy Bish
This issue is found by my workmate, when disconnect the MqServer(stop server or
cutdown the network), MqClient tried to reconnect the server, sometimes the
client crash.here is the exception stack:
exception code c0000005, flags 0 address 807d53 exception stack is:
NetMgrServer.exe caused a EXCEPTION_ACCESS_VIOLATION in module activemq-cpp.dll
at 001B:00807D53, activemq::core::ActiveMQConnection::syncRequest()+227 byte(s)
EAX=04D0F300 EBX=04D0FA9C ECX=00000000 EDX=04D0F4C8 ESI=02DE5320
EDI=0058E700 EBP=04D0F4C0 ESP=04D0F12C EIP=00807D53 FLG=00010206
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000
001B:00807D53 (0x00903F80 0x02D4B400 0x02D8C930 0x00003A98) activemq-cpp.dll,
activemq::core::ActiveMQConnection::syncRequest()+227 byte(s)
001B:008092E7 (0x04D0F7B0 0x00003A98 0x176FD90E 0x0058E700) activemq-cpp.dll,
activemq::core::ActiveMQConnection::disposeOf()+279 byte(s)
001B:008094D5 (0x176FD89A 0x0058E700 0x02DE5320 0x04D0FA9C) activemq-cpp.dll,
activemq::core::ActiveMQConnection::disconnect()+181 byte(s)
001B:00809872 (0x176FDB26 0x0058E700 0x02DE5320 0x04D0FA9C) activemq-cpp.dll,
activemq::core::ActiveMQConnection::close()+434 byte(s)
001B:00809AEF (0x02DE5D28 0x04D0FAA8 0x0057D1E3 0x00000001) activemq-cpp.dll,
activemq::core::ActiveMQConnection::~ActiveMQConnection()+111 byte(s)
001B:00620830 (0x00000001 0x175A1078 0x005918A0 0x02DE5320) activemq-cpp.dll,
decaf::lang::Comparable<activemq::commands::XATransactionId>::~Comparable<activemq::commands::XATransactionId>()+736
byte(s)
001B:0057D1E3 (0x02DE5320 0x175A1068 0x02DE5320 0x04D0FF0C)
NetManagerServer.dll, HPR_Guard::operator=()+49331 byte(s)
001B:00578E83 (0x00000002 0x00001E30 0x00000000 0x00000000)
NetManagerServer.dll, HPR_Guard::operator=()+32083 byte(s)
001B:FFFFFFFE (0x001567E0 0x00156790 0x00000000 0x00000000) <UNKNOWN>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.