Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      Seems to be more frequent if the broker has several very large queues at the time of shutdown; intermittent even then. Appears to be a result of the management agents timer task firing and accessing deleted objects.

      (gdb) bt
      #0 0x00000038f9c30265 in raise () from /lib64/libc.so.6
      #1 0x00000038f9c31d10 in abort () from /lib64/libc.so.6
      #2 0x00000038fccbec44 in _gnu_cxx::_verbose_terminate_handler ()
      from /usr/lib64/libstdc++.so.6
      #3 0x00000038fccbcdb6 in ?? () from /usr/lib64/libstdc++.so.6
      #4 0x00000038fccbcde3 in std::terminate () from /usr/lib64/libstdc++.so.6
      #5 0x00000038fccbceca in __cxa_throw () from /usr/lib64/libstdc++.so.6
      #6 0x0000003033eae2ab in qpid::sys::Mutex::lock ()
      from /usr/lib64/libqpidbroker.so.2
      #7 0x0000003033fca1c3 in qpid::management::ManagementAgent::periodicProcessing
      () from /usr/lib64/libqpidbroker.so.2
      #8 0x0000003033fcb32a in qpid::management::ManagementAgent::Periodic::fire ()
      from /usr/lib64/libqpidbroker.so.2
      #9 0x00000030339e5b6b in qpid::sys::Timer::run ()
      from /usr/lib64/libqpidcommon.so.2
      #10 0x00000030339146aa in ?? () from /usr/lib64/libqpidcommon.so.2
      #11 0x00000038fa406617 in start_thread () from /lib64/libpthread.so.0
      #12 0x00000038f9cd3c2d in clone () from /lib64/libc.so.6
      (gdb) thread apply all bt

      Thread 3 (process 14409):
      #0 0x00000038fa407955 in pthread_join () from /lib64/libpthread.so.0
      #1 0x00000030339148b2 in qpid::sys::Thread::join ()
      from /usr/lib64/libqpidcommon.so.2
      #2 0x00000030339e4236 in qpid::sys::Timer::stop ()
      from /usr/lib64/libqpidcommon.so.2
      #3 0x00000030339e4674 in qpid::sys::Timer::~Timer ()
      from /usr/lib64/libqpidcommon.so.2
      #4 0x0000003033ee33fd in qpid::broker::Broker::~Broker ()
      from /usr/lib64/libqpidbroker.so.2
      #5 0x0000000000406a99 in ?? ()
      #6 0x000000000040553f in __cxa_pure_virtual ()
      #7 0x00000038f9c1d994 in __libc_start_main () from /lib64/libc.so.6
      #8 0x0000000000404fb9 in __cxa_pure_virtual ()
      #9 0x00007fff3b92d838 in ?? ()
      #10 0x0000000000000000 in ?? ()

      Thread 2 (process 14411):
      #0 0x00000038fa40af70 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
      from /lib64/libpthread.so.0
      #1 0x00000030339e5f18 in qpid::sys::Timer::run ()
      from /usr/lib64/libqpidcommon.so.2
      --Type <return> to continue, or q <return> to quit--
      #2 0x00000030339146aa in ?? () from /usr/lib64/libqpidcommon.so.2
      #3 0x00000038fa406617 in start_thread () from /lib64/libpthread.so.0
      #4 0x00000038f9cd3c2d in clone () from /lib64/libc.so.6

      Thread 1 (process 14410):
      #0 0x00000038f9c30265 in raise () from /lib64/libc.so.6
      #1 0x00000038f9c31d10 in abort () from /lib64/libc.so.6
      #2 0x00000038fccbec44 in _gnu_cxx::_verbose_terminate_handler ()
      from /usr/lib64/libstdc++.so.6
      #3 0x00000038fccbcdb6 in ?? () from /usr/lib64/libstdc++.so.6
      #4 0x00000038fccbcde3 in std::terminate () from /usr/lib64/libstdc++.so.6
      #5 0x00000038fccbceca in __cxa_throw () from /usr/lib64/libstdc++.so.6
      #6 0x0000003033eae2ab in qpid::sys::Mutex::lock ()
      from /usr/lib64/libqpidbroker.so.2
      #7 0x0000003033fca1c3 in qpid::management::ManagementAgent::periodicProcessing
      () from /usr/lib64/libqpidbroker.so.2
      #8 0x0000003033fcb32a in qpid::management::ManagementAgent::Periodic::fire ()
      from /usr/lib64/libqpidbroker.so.2
      #9 0x00000030339e5b6b in qpid::sys::Timer::run ()
      from /usr/lib64/libqpidcommon.so.2
      #10 0x00000030339146aa in ?? () from /usr/lib64/libqpidcommon.so.2
      #11 0x00000038fa406617 in start_thread () from /lib64/libpthread.so.0
      #12 0x00000038f9cd3c2d in clone () from /lib64/libc.so.6
      (gdb)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Gordon Sim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development