You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2010/06/07 18:53:49 UTC

[jira] Resolved: (QPID-2649) Segfault on shutting down qpidd

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

Gordon Sim resolved QPID-2649.
------------------------------

    Resolution: Fixed

> Segfault on shutting down qpidd
> -------------------------------
>
>                 Key: QPID-2649
>                 URL: https://issues.apache.org/jira/browse/QPID-2649
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: 0.7
>
>
> 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)    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org