Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-541

Crash found when closing ActiveMQConnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 3.4.5
    • None
    • Decaf
    • None
    • Mac OS X Server 10.7.5

    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

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            Shirley Lee Shirley Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: