Apache OpenOffice (AOO) Bugzilla – Issue 71075
Sometimes deadlock using smoke test
Last modified: 2013-02-24 21:00:33 UTC
PB can reproduce this deadlock many times using the smoke test and a recent build (SRC680m189,m190). Looks like a problem with a worker thread in svx calling Basic macros. Thread 1 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c822124() ntdll.dll!7c83970f() > vcl680mi.dll!Window::ImplInvalidateFrameRegion(const Region * pRegion=0x00000000, unsigned short nFlags=4) Line 2605 + 0x16 bytes C++ ntdll.dll!7c839620() sal3.dll!osl_acquireMutex(_oslMutexImpl * Mutex=0x00219b80) Line 151 C vos3MSC.dll!vos::OMutex::acquire() Line 68 + 0xb bytes C++ vcl680mi.dll!SalYieldMutex::acquire() Line 163 C++ fwi680mi.dll!framework::LockHelper::acquire() Line 207 + 0x8 bytes C++ fwk680mi.dll!framework::ResetableGuard::lock() Line 171 C++ fwk680mi.dll!framework::ResetableGuard::ResetableGuard(framework::IMutex & rLock={...}) Line 130 C++ fwk680mi.dll!framework::StatusBarManager::DataChanged(const DataChangedEvent & rDCEvt={...}) Line 659 C++ vcl680mi.dll!Window::NotifyAllChilds(DataChangedEvent & rDCEvt={...}) Line 5874 C++ vcl680mi.dll!Window::NotifyAllChilds(DataChangedEvent & rDCEvt={...}) Line 5878 C++ vcl680mi.dll!Window::NotifyAllChilds(DataChangedEvent & rDCEvt={...}) Line 5878 C++ vcl680mi.dll!Application::NotifyAllWindows(DataChangedEvent & rDCEvt={...}) Line 868 C++ vcl680mi.dll!ImplHandleSalSettings(Window * pWindow=0x00000000, unsigned short nEvent=17) Line 2262 + 0x9 bytes C++ vcl680mi.dll!ImplWindowFrameProc(void * pInst=0x04959158, SalFrame * __formal=0x049596a0, unsigned short nEvent=17, const void * pEvent=0x00000000) Line 2495 C++ vcl680mi.dll!SalFrame::CallCallback(unsigned short nEvent=17, const void * pEvent=0x00000000) Line 304 + 0x16 bytes C++ vcl680mi.dll!ImplHandlePalette(unsigned char bFrame='', HWND__ * hWnd=0x00040466, unsigned int nMsg=783, unsigned int wParam=0, long lParam=0, int & rDef=0) Line 4562 C++ vcl680mi.dll!SalFrameWndProc(HWND__ * hWnd=0x00040466, unsigned int nMsg=783, unsigned int wParam=0, long lParam=0, int & rDef=0) Line 5773 + 0x13 bytes C++ vcl680mi.dll!SalFrameWndProcW(HWND__ * hWnd=0x00040466, unsigned int nMsg=783, unsigned int wParam=0, long lParam=0) Line 6023 + 0x15 bytes C++ user32.dll!7739c3b7() user32.dll!7739c484() user32.dll!7739c43a() user32.dll!7739ca68() user32.dll!7739ce7a() ntdll.dll!7c82ec9e() user32.dll!77395357() vcl680mi.dll!WinSalFrame::~WinSalFrame() Line 1101 + 0x9 bytes C++ vcl680mi.dll!WinSalFrame::`scalar deleting destructor'() + 0xb bytes C++ vcl680mi.dll!SalComWndProc(HWND__ * hWnd=0x00030490, unsigned int nMsg=1139, unsigned int wParam=0, long lParam=149332552, int & rDef=1) Line 849 C++ vcl680mi.dll!SalComWndProcW(HWND__ * hWnd=0x00030490, unsigned int nMsg=1139, unsigned int wParam=0, long lParam=149332552) Line 919 + 0x15 bytes C++ user32.dll!7739c3b7() user32.dll!7739c484() user32.dll!7739c43a() user32.dll!7739ca68() user32.dll!7739ce7a() ntdll.dll!7c82ec9e() user32.dll!7739c78d() user32.dll!7739c7c0() vcl680mi.dll!ImplGetMessage(tagMSG * lpMsg=0x00eafaec, HWND__ * hWnd=0x00030490, unsigned int wMsgFilterMin=1136, unsigned int wMsgFilterMax=1136) Line 183 C++ vcl680mi.dll!ImplSalYieldMutexAcquireWithWait() Line 269 + 0xe bytes C++ vcl680mi.dll!SalFrameWndProc(HWND__ * hWnd=0x00030494, unsigned int nMsg=1154, unsigned int wParam=0, long lParam=150654360, int & rDef=1) Line 5888 + 0x5 bytes C++ vcl680mi.dll!SalFrameWndProcW(HWND__ * hWnd=0x00030494, unsigned int nMsg=1154, unsigned int wParam=0, long lParam=150654360) Line 6023 + 0x15 bytes C++ user32.dll!7739c3b7() user32.dll!7739c484() user32.dll!7739c43a() user32.dll!7739c73c() user32.dll!7739cc3f() user32.dll!7739c778() vcl680mi.dll!ImplDispatchMessage(const tagMSG * lpMsg=0x00eafcd4) Line 203 C++ vcl680mi.dll!ImplSalDispatchMessage(tagMSG * pMsg=0x00eafcd4) Line 717 C++ vcl680mi.dll!ImplSalYield(unsigned char bWait='', unsigned char bHandleAllCurrentEvents=0) Line 734 + 0x9 bytes C++ vcl680mi.dll!WinSalInstance::Yield(bool bWait=true, bool bHandleAllCurrentEvents=false) Line 794 C++ vcl680mi.dll!Application::Yield(bool bAllEvents=false) Line 554 C++ vcl680mi.dll!Application::Execute() Line 516 + 0x7 bytes C++ soffice.bin!0040ad34() vcl680mi.dll!ImplSVMain() Line 255 C++ vcl680mi.dll!SVMain() Line 296 C++ soffice.bin!00401024() soffice.bin!00401066() soffice.bin!00418561() kernel32.dll!77e523e5() Thread 2 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c822124() kernel32.dll!77e6bad8() > sal3.dll!osl_getSystemTime(TimeValue * pTimeVal=0x00000730) Line 75 C sal3.dll!osl_waitCondition(void * Condition=0x00000730, const TimeValue * pTimeout=0x0390ff60) Line 112 + 0xa bytes C vos3MSC.dll!vos::OCondition::wait(const TimeValue * pTimeout=0x0390ff60) Line 75 + 0xe bytes C++ vos3MSC.dll!vos::OTimerManager::run() Line 494 C++ vos3MSC.dll!vos::threadWorkerFunction_impl(void * pthis=0x02f26dd4) Line 53 C++ sal3.dll!oslWorkerWrapperFunction(void * pData=0x02786f68) Line 81 + 0x9 bytes C msvcr71.dll!7c349565() kernel32.dll!77e6608b() Thread 3 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c822124() kernel32.dll!77e6bad8() ntdll.dll!7c8315dc() ntdll.dll!7c8315e1() ntdll.dll!7c821514() kernel32.dll!77e6ba42() kernel32.dll!77e474db() > sal3.dll!osl_acceptPipe(oslPipeImpl * pPipe=0x02f6f1f4) Line 418 + 0x13 bytes C vos3MSC.dll!vos::OPipe::accept(vos::OStreamPipe & Connection={...}) Line 232 + 0xb bytes C++ soffice.bin!0040d427() ntdll.dll!7c87612d() ntdll.dll!7c875dc3() ntdll.dll!7c875dc3() ntdll.dll!7c85fc22() ntdll.dll!7c81d4a5() kernel32.dll!77e65f69() kernel32.dll!77e65f7d() ntdll.dll!7c860201() ntdll.dll!7c81d40c() ntdll.dll!7c81d4a5() ntdll.dll!7c81d4a5() ntdll.dll!7c82fb23() ntdll.dll!7c87612d() ntdll.dll!7c875dc3() ntdll.dll!7c875dc3() ntdll.dll!7c85fc22() ntdll.dll!7c81d4a5() MSCTF.dll!4b8d5bc3() MSCTF.dll!4b8d15ad() kernel32.dll!77e660fe() MSCTF.dll!4b911d40() MSCTFIME.IME!4dc49faf() ntdll.dll!7c82257a() ntdll.dll!7c85fb00() ntdll.dll!7c81d6bb() ntdll.dll!7c81d742() ntdll.dll!7c81a7dc() ntdll.dll!7c822054() ntdll.dll!7c87555c() ntdll.dll!7c81d4a5() ntdll.dll!7c81d4df() ntdll.dll!7c82fb23() ntdll.dll!7c8766be() ntdll.dll!7c860386() ntdll.dll!7c81d742() ntdll.dll!7c81d742() ntdll.dll!7c81d77d() ntdll.dll!7c82f9dd() ole32.dll!776ae87d() ole32.dll!7768673f() ole32.dll!7768d8ad() ole32.dll!7768d8bf() ole32.dll!776ad66e() vos3MSC.dll!vos::threadWorkerFunction_impl(void * pthis=0x02f6e8c4) Line 53 C++ sal3.dll!oslWorkerWrapperFunction(void * pData=0x027826c0) Line 81 + 0x9 bytes C msvcr71.dll!7c349565() kernel32.dll!77e6608b() Thread 4 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c821364() kernel32.dll!77e41ea7() kernel32.dll!77e424c1() ole32.dll!776b22a0() ole32.dll!776b2307() ole32.dll!776b2374() kernel32.dll!77e6608b() > svx680mi.dll!FmXFormShell::stopFiltering(unsigned char bSave='d') Line 2950 + 0x6 bytes C++ frm680mi.dll!frm::PropertyInfoService::initialize() Line 152 + 0x37 bytes C++ Thread 5 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] user32.dll!7739ca95() user32.dll!77395d53() user32.dll!7739d005() > vcl680mi.dll!ImplSendMessage(HWND__ * hWnd=0x00030490, unsigned int nMsg=1139, unsigned int wParam=0, long lParam=149332552) Line 173 C++ vcl680mi.dll!WinSalInstance::DestroyFrame(SalFrame * pFrame=0x08e6a248) Line 1040 + 0x12 bytes C++ vcl680mi.dll!Window::~Window() Line 4740 C++ vcl680mi.dll!ImplBorderWindow::~ImplBorderWindow() Line 1852 + 0xb bytes C++ vcl680mi.dll!ImplBorderWindow::`scalar deleting destructor'() + 0xb bytes C++ vcl680mi.dll!Window::~Window() Line 4727 C++ vcl680mi.dll!SystemWindow::~SystemWindow() Line 136 + 0xb bytes C++ vcl680mi.dll!WorkWindow::~WorkWindow() Line 213 + 0xb bytes C++ tk680mi.dll!WorkWindow::`scalar deleting destructor'() + 0xc bytes C++ tk680mi.dll!VCLXDevice::DestroyOutputDevice() Line 83 C++ tk680mi.dll!VCLXWindow::dispose() Line 1243 C++ fwk680mi.dll!framework::Frame::impl_disposeContainerWindow(com::sun::star::uno::Reference<com::sun::star::awt::XWindow> & xWindow={...}) Line 2762 C++ fwk680mi.dll!framework::Frame::dispose() Line 1949 C++ fwk680mi.dll!framework::Frame::close(unsigned char bDeliverOwnerShip='') Line 1799 + 0x9 bytes C++ sfx680mi.dll!SfxFrame::DoClose() Line 207 + 0x8 bytes C++ sfx680mi.dll!SfxTopViewFrame::Notify(SfxBroadcaster & rBC={...}, const SfxHint & rHint={...}) Line 1186 C++ svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sfx680mi.dll!SfxBaseModel::close(unsigned char bDeliverOwnership='') Line 1594 + 0x1b bytes C++ sw680mi.dll!SwXTextDocument::close(unsigned char bDeliverOwnership='') Line 659 + 0xa bytes C++ msci_uno.dll!63db1bdc() msci_uno.dll!63db1ef6() msci_uno.dll!63db1cd7() msci_uno.dll!63db1d22() msci_uno.dll!63db1c72() msci_uno.dll!63db22eb() sfx680mi.dll!SfxBaseModel::release() Line 748 + 0xc bytes C++ cppu3.dll!667d8e80() msci_uno.dll!63db20c1() reflection.uno.dll!63647101() cppu3.dll!667d7080() cppu3.dll!667d301c() sfx680mi.dll!SfxBaseModel::release() Line 748 + 0xc bytes C++ sw680mi.dll!SwXTextDocument::release() Line 366 + 0xf bytes C++ 0021b690() cppu3.dll!667d6832() reflection.uno.dll!63646d24() sb680mi.dll!63176ba1() ntdll.dll!7c82fb23() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!6319b148() sb680mi.dll!631906b0() sb680mi.dll!6319af3c() sb680mi.dll!6317c043() sb680mi.dll!6317dce2() sb680mi.dll!63161474() sb680mi.dll!6316cc73() sb680mi.dll!631b78a3() sb680mi.dll!6317df10() sb680mi.dll!6317b2bf() sb680mi.dll!6317b1ff() sb680mi.dll!631b73b7() sb680mi.dll!6319538b() sb680mi.dll!6319ee42() sb680mi.dll!63195dbb() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!631948fc() sb680mi.dll!631906b0() sb680mi.dll!6319af3c() sb680mi.dll!6317c043() sb680mi.dll!6317dce2() sb680mi.dll!6316cc73() sb680mi.dll!6316cc81() sb680mi.dll!631b78a3() sb680mi.dll!6317ddc9() sb680mi.dll!631b78b7() sb680mi.dll!6317b2bf() sb680mi.dll!6317b1ff() sb680mi.dll!631b73b7() sb680mi.dll!6319538b() sb680mi.dll!6319ee42() sb680mi.dll!63195dbb() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!631948fc() sb680mi.dll!631906b0() sb680mi.dll!6319af3c() sb680mi.dll!6317c043() sb680mi.dll!6317dce2() sb680mi.dll!63186994() sb680mi.dll!631b78a3() sb680mi.dll!6317ddc9() sb680mi.dll!631b78b7() sb680mi.dll!6317b2bf() sb680mi.dll!6317b1ff() sb680mi.dll!631b73b7() sb680mi.dll!6319538b() sb680mi.dll!6319ee42() sb680mi.dll!63195dbb() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!631948fc() sb680mi.dll!631906b0() sb680mi.dll!6319af3c() sb680mi.dll!6317c043() sb680mi.dll!6317dce2() sb680mi.dll!63161474() sb680mi.dll!6316cc73() sb680mi.dll!631b78a3() sb680mi.dll!6317df10() sb680mi.dll!6317b2bf() sb680mi.dll!6317b1ff() sb680mi.dll!631b73b7() sb680mi.dll!6319538b() sb680mi.dll!6319ee42() sb680mi.dll!63195dbb() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!631948fc() sb680mi.dll!631906b0() sb680mi.dll!6319af3c() sb680mi.dll!6317c043() sb680mi.dll!6317dce2() sb680mi.dll!631b78a3() sb680mi.dll!6317ddc9() sb680mi.dll!631b78b7() sb680mi.dll!6317b2bf() sb680mi.dll!6317b1ff() sb680mi.dll!631b73b7() sb680mi.dll!6319538b() sb680mi.dll!6319ee42() sb680mi.dll!63195dbb() svl680mi.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 86 + 0x9 bytes C++ sb680mi.dll!631948fc() sb680mi.dll!631916f6() sb680mi.dll!631947c5() sfx680mi.dll!SfxMacroConfig::Call(SbxObject * __formal=0x00000000, const String & rCode={...}, BasicManager * pMgr=0x04979968, SbxArray * pArgs=0x063e5650, SbxValue * pRet=0x061c38b0) Line 902 + 0xe bytes C++ sfx680mi.dll!SfxObjectShell::CallBasic(const String & rMacro={...}, const String & rBasic={...}, SbxObject * pVCtrl=0x00000000, SbxArray * pArgs=0x063e5650, SbxValue * pRet=0x061c38b0) Line 1374 + 0x12 bytes C++ sfx680mi.dll!SfxObjectShell::CallStarBasicScript(const String & _rMacroName={...}, const String & _rLocation={...}, const void * _pArguments=0x061c38b0, void * _pReturn=0x08d5fea0) Line 1557 C++ svx680mi.dll!svxform::`anonymous namespace'::QualifiedBasicScript::invoke(const com::sun::star::uno::Sequence<com::sun::star::uno::Any> & _rArguments={...}, com::sun::star::uno::Any & _rSynchronousResult={...}) Line 503 + 0x37 bytes C++ svx680mi.dll!svxform::FormScriptingEnvironment::doFireScriptEvent(const com::sun::star::script::ScriptEvent & _rEvent={...}, com::sun::star::uno::Any * _pSyncronousResult=0x00000000) Line 594 C++ svx680mi.dll!svxform::FormScriptListener::impl_doFireScriptEvent_nothrow(osl::ClearableGuard<osl::Mutex> & _rGuard={...}, const com::sun::star::script::ScriptEvent & _rEvent={...}, com::sun::star::uno::Any * _pSyncronousResult=0x00000000) Line 277 C++ svx680mi.dll!svxform::FormScriptListener::processEvent(const comphelper::AnyEvent & _rEvent={...}) Line 342 C++ comphelp4MSC.dll!669b8142() svx680mi.dll!threadFunc(void * param=0x0839ea64) Line 197 C++ sal3.dll!oslWorkerWrapperFunction(void * pData=0x0607ef58) Line 81 + 0x9 bytes C msvcr71.dll!7c349565() kernel32.dll!77e6608b() Thread 6 ntdll.dll!7c82ed54() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c822124() ntdll.dll!7c83970f() ntdll.dll!7c839620() > sal3.dll!osl_acquireMutex(_oslMutexImpl * Mutex=0x00219b80) Line 151 C vos3MSC.dll!vos::OMutex::acquire() Line 68 + 0xb bytes C++ vcl680mi.dll!SalYieldMutex::acquire() Line 163 C++ svt680mi.dll!vos::OGuard::OGuard(vos::IMutex & rMutex={...}) Line 141 + 0x5 bytes C++ svt680mi.dll!TransferableHelper::lostOwnership(const com::sun::star::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboard> & __formal={...}, const com::sun::star::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboard> & __formal={...}) Line 435 C++ sysdtrans.dll!60d02dfd() sysdtrans.dll!60d025d6() sysdtrans.dll!60d02b7e() ole32.dll!77698d70() ole32.dll!776b4dd3() user32.dll!7739c3b7() user32.dll!7739c484() user32.dll!7739c43a() user32.dll!7739ca68() user32.dll!773aa1dd() ntdll.dll!7c82ec9e() user32.dll!7739c78d() user32.dll!77392f3a() sysdtrans.dll!60d095cb() sysdtrans.dll!60d095eb() msvcr71.dll!7c349565() kernel32.dll!77e6608b()
cd: Set MBA and MH on CC
cd: Set regression keyword.
The fix which caused this problem here was for issue 65420 and issue 65420. Thus, those two have to be checked, too, when verifying this one here.
fixed in CWS dba21showstop01
fs->pb: please verify in CWS dba21showstop01
second issue number above was meant to be issue 67147
pb: the deadlock does not occur any more. @msc: please verify the other issues. Thx.
The other issue still fixed verified in CWS dba21showstop01 find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba21showstop01
close issue