Hsiao-Ling Lee created AMQCPP-541:
-------------------------------------
Summary: Crash found when closing ActiveMQConnection
Key: AMQCPP-541
URL: https://issues.apache.org/jira/browse/AMQCPP-541
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Decaf
Affects Versions: 3.4.5
Environment: Mac OS X Server 10.7.5
Reporter: Hsiao-Ling Lee
Assignee: Timothy Bish
Priority: Critical
We encounter a crash in activemq-cpp-library 3.4.5 when we are closing the MQ
connection. It seemed that an un-expected exception might be thrown. Would you
please help to check what the root cause is? Is it fixed in the new version of
activemq-cpp-library? Thanks for your help.
======== crash report ===============
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
terminate called throwing an exception
objc[59690]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x933e19c6 __pthread_kill + 10
1 libsystem_c.dylib 0x96153f78 pthread_kill + 106
2 libsystem_c.dylib 0x96144bdd abort + 167
3 libc++abi.dylib 0x90401921 abort_message + 94
4 libc++abi.dylib 0x903ff1bc default_terminate() + 36
5 libc++abi.dylib 0x903ff1fe safe_handler_caller(void
(*)()) + 15
6 libc++abi.dylib 0x903ff1e1
unexpected_defaults_to_terminate() + 23
7 libc++abi.dylib 0x903ff246
__cxxabiv1::__unexpected(void (*)()) + 16
8 libc++abi.dylib 0x90400071 __cxa_call_unexpected + 58
9 libAMQCPipe.dylib 0x011d4aae
decaf::util::LinkedList<decaf::lang::Pointer<activemq::transport::Transport,
decaf::util::concurrent::atomic::AtomicRefCounter> >::~LinkedList() + 1086
10 libAMQCPipe.dylib 0x011ca0d8
activemq::transport::failover::CloseTransportsTask::~CloseTransportsTask() + 40
11 libAMQCPipe.dylib 0x011bbce9
activemq::transport::failover::BackupTransportPool::~BackupTransportPool() + 249
12 libAMQCPipe.dylib 0x011da6d9
activemq::transport::failover::FailoverTransport::~FailoverTransport() + 729
13 libAMQCPipe.dylib 0x011b359f
activemq::transport::TransportFilter::~TransportFilter() + 95
14 libAMQCPipe.dylib 0x011b89ae
activemq::transport::correlator::ResponseCorrelator::~ResponseCorrelator() + 110
15 libAMQCPipe.dylib 0x010dcd79
activemq::core::ActiveMQConnection::disconnect(long long) + 905
16 libAMQCPipe.dylib 0x010e11dd
activemq::core::ActiveMQConnection::close() + 365
--
This message was sent by Atlassian JIRA
(v6.2#6252)