[ 
https://issues.apache.org/jira/browse/AMQCPP-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shirley Lee updated AMQCPP-541:
-------------------------------

    Description: 
We encounter a crash with activemq-cpp-library 3.4.5 when we are closing the 
ActiveMQ connection. It seems that an un-expected exception is thrown when 
LinkedList object's destructor is called. We are wondering what the root cause 
might be and if it is fixed in the new version of activemq-cpp-library.

======== 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


  was:
We encounter a crash with activemq-cpp-library 3.4.5 when we are closing the 
ActiveMQ connection. It seemed that an un-expected exception is thrown. We are 
wondering what the root cause might be and if it is fixed in the new version of 
activemq-cpp-library.

======== 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



> 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: Shirley Lee
>            Assignee: Timothy Bish
>            Priority: Critical
>
> We encounter a crash with activemq-cpp-library 3.4.5 when we are closing the 
> ActiveMQ connection. It seems that an un-expected exception is thrown when 
> LinkedList object's destructor is called. We are wondering what the root 
> cause might be and if it is fixed in the new version of activemq-cpp-library.
> ======== 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)

Reply via email to