To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=113158 Issue #|113158 Summary|crash with two threads in framework::ToolBarManager dt |or Component|framework Version|DEV300m84 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|code Assigned to|cd Reported by|sb
------- Additional comments from s...@openoffice.org Thu Jul 15 08:11:35 +0000 2010 ------- At least on DEV300_m84 based CWS sb126 under unxlngi6 non-pro, terminating an soffice.bin instance at the end of a dbaccess/qa/unoapi, it crashed with (gdb) thread 1 [Switching to thread 1 (Thread 32311)]#0 0xb7779422 in __kernel_vsyscall () (gdb) where #0 0xb7779422 in __kernel_vsyscall () #1 0xb7039651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb703ca82 in *__GI_abort () at abort.c:92 #3 0xb75b4ac2 in CallSystemHandler () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 #4 0xb75b4be9 in SignalHandlerFunction () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 #5 <signal handler called> #6 0xb7779422 in __kernel_vsyscall () #7 0xb7039651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb703ca82 in *__GI_abort () at abort.c:92 #9 0xb72f883d in _STLD::__stl_debug_engine<bool>::_Terminate () at ../stlport/stl/debug/_debug.c:319 #10 0xb72f88d7 in _STLD::__stl_debug_engine<bool>::_VerboseAssert (__expr=0xb7372135 "__l->_Owner()!=0", __error_ind=4, __f=0xb7372117 "../stlport/stl/debug/_debug.c", __l=429) at ../stlport/stl/debug/_debug.c:296 #11 0xb72f8f8f in _STLD::__stl_debug_engine<bool>::_M_attach (__l=0xac139318, __c_node=0xbfa3d6d0) at ../stlport/stl/debug/_debug.c:429 #12 0xb6dd960f in _STLD::__owned_link::__owned_link(_STLD::__owned_list const*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #13 0xb6dd9708 in _STLD::_DBG_iter_base<_STLD::__vector<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::allocator<_STLD::pair<com::sun::star::uno::Type, void*> > > >::_DBG_iter_base(_STLD::__owned_list const*, _STLD::pair<com::sun::star::uno::Type, void*> const* const&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #14 0xb6dd9735 in _STLD::_DBG_iter_mid<_STLD::__vector<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::allocator<_STLD::pair<com::sun::star::uno::Type, void*> > >, _STLD::_Vector_nonconst_traits<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::pair<com::sun::star::uno::Type, void*>*> >::_DBG_iter_mid(_STLD::__owned_list const*, _STLD::pair<com::sun::star::uno::Type, void*> const* const&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #15 0xb6dd9757 in _STLD::_DBG_iter<_STLD::__vector<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::allocator<_STLD::pair<com::sun::star::uno::Type, void*> > >, _STLD::_Vector_nonconst_traits<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::pair<com::sun::star::uno::Type, void*>*> >::_DBG_iter(_STLD::__owned_list const*, _STLD::pair<com::sun::star::uno::Type, void*> const* const&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #16 0xb6dd9787 in _STLD::vector<_STLD::pair<com::sun::star::uno::Type, void*>, _STLD::allocator<_STLD::pair<com::sun::star::uno::Type, void*> > >::begin() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #17 0xb6dd77ad in cppu::OMultiTypeInterfaceContainerHelper::~OMultiTypeInterfaceContainerHelper() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #18 0xafb1e797 in framework::ToolBarManager::~ToolBarManager() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #19 0xb6dd5c6e in cppu::OWeakObject::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #20 0xafb21822 in framework::ToolBarManager::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #21 0xaf97dce5 in com::sun::star::uno::Reference<com::sun::star::lang::XComponent>::~Reference() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #22 0xafb18b77 in framework::ToolBarManager::AsyncUpdateControllersHdl(Timer*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #23 0xafb18bcc in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl(void*, void*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #24 0xb55d0eff in Link::Call(void*) const () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #25 0xb55e8717 in Timer::Timeout() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #26 0xb55e8ab6 in Timer::ImplTimerCallbackProc() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #27 0xb2dcc7b0 in SalTimer::CallCallback() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_genli.so #28 0xb2dcc50a in X11SalData::Timeout() const () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_genli.so #29 0xb344dedf in GtkXLib::timeoutFn(void*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_gtkli.so #30 0xb344df21 in call_timeoutFn () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_gtkli.so #31 0xb2e71d5c in ?? () from /lib/libglib-2.0.so.0 #32 0xb2e715e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #33 0xb2e752d8 in ?? () from /lib/libglib-2.0.so.0 #34 0xb2e754b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #35 0xb344d9fc in GtkXLib::Yield(bool, bool) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_gtkli.so #36 0xb2ddface in X11SalInstance::Yield(bool, bool) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_genli.so #37 0xb55e2a6d in ImplYield(bool, bool) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #38 0xb55df9fc in Application::Yield(bool) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #39 0xb55dfa57 in Application::Execute() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #40 0xb7512024 in desktop::Desktop::Main() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so #41 0xb55e7a54 in ImplSVMain() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #42 0xb55e7bf3 in SVMain() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvclli.so #43 0xb753c744 in soffice_main () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so #44 0x08048e2a in ?? () #45 0x08048e0b in main () (gdb) thread 9 [Switching to thread 9 (Thread 32666)]#0 0xb7779422 in __kernel_vsyscall () (gdb) where #0 0xb7779422 in __kernel_vsyscall () #1 0xb6ffdaf9 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142 #2 0xb6ff9149 in _L_lock_839 () from /lib/tls/i686/cmov/libpthread.so.0 #3 0xb6ff8fdb in __pthread_mutex_lock (mutex=0x93b4490) at pthread_mutex_lock.c:82 #4 0xb70e9ba6 in pthread_mutex_lock (mutex=0x93b4490) at forward.c:182 #5 0xb75aa16e in osl_acquireMutex () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 #6 0xb54d33b8 in vos::OMutex::acquire() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libvos3gcc3.so #7 0xb2de0a01 in SalYieldMutex::acquire() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_genli.so #8 0xb345489f in GtkHookedYieldMutex::acquire() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.3/program/libvclplug_gtkli.so #9 0xb5201dcc in framework::LockHelper::acquireReadAccess() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfweli.so #10 0xaf95fdba in framework::ReadGuard::lock() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #11 0xaf95fdef in framework::ReadGuard::ReadGuard(framework::IRWLock&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #12 0xafacec26 in framework::PresetHandler::removeStorageListener(framework::IStorageListener*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #13 0xaf9dd7e6 in framework::DocumentAcceleratorConfiguration::~DocumentAcceleratorConfiguration() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #14 0xb6dd5c6e in cppu::OWeakObject::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #15 0xaf96e26e in framework::XMLBasedAcceleratorConfiguration::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #16 0xaf9de719 in framework::DocumentAcceleratorConfiguration::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #17 0xaf95ff7f in com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::~Reference() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #18 0xafb40ab3 in framework::UIConfigurationManager::~UIConfigurationManager() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #19 0xb6dd5c6e in cppu::OWeakObject::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #20 0xafb45e78 in framework::UIConfigurationManager::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #21 0xafa5f469 in com::sun::star::uno::Reference<com::sun::star::ui::XUIConfigurationManager>::~Reference() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #22 0xafb1e6fd in framework::ToolBarManager::~ToolBarManager() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #23 0xb6dd5c6e in cppu::OWeakObject::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #24 0xafb21822 in framework::ToolBarManager::release() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #25 0xb6da6860 in com::sun::star::uno::cpp_release(void*) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #26 0xb6d5b576 in cppu::idestructElements(void*, _typelib_TypeDescriptionReference*, long, long, void (*)(void*)) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #27 0xb6d5bc2a in cppu::_destructData(void*, _typelib_TypeDescriptionReference*, _typelib_TypeDescription*, void (*)(void*)) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #28 0xb6d58e99 in uno_type_destructData () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #29 0xb6ddad94 in com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::uno::XInterface> >::~Sequence() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #30 0xb6dd7b71 in cppu::OInterfaceIteratorHelper::~OInterfaceIteratorHelper() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #31 0xaf9ee6ad in framework::Frame::implts_sendFrameActionEvent(com::sun::star::frame::FrameAction const&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #32 0xaf9f1b3f in framework::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #33 0xaf9eeab3 in framework::Frame::close(unsigned char) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #34 0xaf9c7330 in framework::Desktop::impl_closeFrames(unsigned char) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #35 0xaf9cb024 in framework::Desktop::terminate() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/libfwkli.so #36 0xb28e9dce in (anonymous namespace)::callVirtualMethod(void*, long, void*, _typelib_TypeClass, long*, long) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libgcc3_uno.so #37 0xb28ea409 in (anonymous namespace)::cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy*, bridges::cpp_uno::shared::VtableSlot, _typelib_TypeDescriptionReference*, long, _typelib_MethodParameter*, void*, void**, _uno_Any**) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libgcc3_uno.so #38 0xb28eaaa7 in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libgcc3_uno.so #39 0xaa1aa588 in thisDispatch () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/liburp_uno.so #40 0xaa193a14 in bridges_urp::ServerMultiJob::execute() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/liburp_uno.so #41 0xaa195caf in doit () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/liburp_uno.so #42 0xb6d80839 in cppu_threadpool::JobQueue::enter(long long, unsigned char) () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #43 0xb6d82b48 in cppu_threadpool::ORequestThread::run() () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #44 0xb6d832be in cppu_requestThreadWorker () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_cppu.so.3 #45 0xb75aaf58 in osl_thread_start_Impl () from /net/so-cwsserv02/export/cws/sb126/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 #46 0xb6ff696e in start_thread (arg=0xa97feb70) at pthread_create.c:300 #47 0xb70dca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 The problem appears to be that both threads are in the destructor of the same fraemwork::ToolBarManager instance, so ~OMultiTypeInterfaceContainerHelper in the first thread operates on an already deleted m_pMap. [raising prio, as this affects build stability (see <http://tools.openoffice.org/servlets/ReadMsg?list=tinderbox&msgNo=398> for enabling subsequenttests on buildbots)] --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org