Issue 111216 - svx/qa/unoapi accessibility deadlock
Summary: svx/qa/unoapi accessibility deadlock
Status: CONFIRMED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 08:43 UTC by Stephan Bergmann
Modified: 2013-01-29 21:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2010-04-28 08:43:21 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing the svx/qa/unoapi tests at least under unxsoli4 non-pro
once deadlocked at

18: LOG>     disposing xDrawDoc
18: ***** State for svx.AccessiblePresentationGraphicShape ******
18: Whole component: PASSED.OK
18: *************************************************************
18: Creating: svx.AccessiblePresentationOLEShape
18: LOG> Log started 28.03.2010 - 00:23:20
18: LOG> creating a drawdoc
18: LOG> creating a test environment

with

(dbx) threads
 >    t@1  a  l@1   ?()   sleep on 0x9330cf8  in  __lwp_park()
      t@2  a  l@2   rtl_cache_wsupdate_all()   sleep on 0xfee715f0  in  __lwp_park()
      t@3  a  l@3   osl_thread_start_Impl()   running          in  _so_accept()
      t@4  a  l@4   osl_thread_start_Impl()   running          in  _so_accept()
      t@5  a  l@5   osl_thread_start_Impl()   sleep on 0x8065eb8  in  __lwp_park()
     t@10  a l@10   osl_thread_start_Impl()   sleep on 0x850c5f0  in  __lwp_park()
     t@11  a l@11   osl_thread_start_Impl()   running          in  _so_recv()
     t@33  a l@33   osl_thread_start_Impl()   sleep on 0x8065eb8  in  __lwp_park()
(dbx) thread -blockedby t@1
Thread t@1 is blocked by:
0x09330cf8 (0x9330cf8): usync_? mutex(locked)
Lock owned by t@33
(dbx) thread -blockedby t@33
Thread t@33 is blocked by:
0x08065eb8 (0x8065eb8): usync_? mutex(locked)
Lock owned by t@1
(dbx) where t@1
current thread: t@1
dbx: warning: Too many #included source files near __dflt_argW -- limit is 1023
dbx: warning: Too many #included source files near __dflt_argV -- limit is 1023
  [1] __lwp_park(0x0, 0x0), at 0xfef749ab
  [2] mutex_lock_queue(0xfefb2000, 0x0, 0x9330cf8, 0x0), at 0xfef6d937
  [3] slow_lock(0xfefb2000, 0x9330cf8, 0x0), at 0xfef6e224
  [4] mutex_lock_impl(0x9330cf8, 0x0), at 0xfef6e31a
  [5] __mutex_lock(0x9330cf8, 0x91dc150, 0xfb36aa37, 0xfecabaa2), at 0xfef6e426
=>[6] osl_acquireMutex(Mutex = ???) (optimized), at 0xfecababd (line ~129) in
"mutex.c"
  [7] accessibility::ChildrenManagerImpl::CreateListOfVisibleShapes(this = ???,
raDescriptorList = CLASS) (optimized), at 0xf0a6db3f (line ~286) in
"ChildrenManagerImpl.cxx"
  [8] accessibility::ChildrenManagerImpl::Update(this = ???,
bCreateNewObjectsOnDemand = ???) (optimized), at 0xf0a6d931 (line ~225) in
"ChildrenManagerImpl.cxx"
  [9] accessibility::ChildrenManagerImpl::ViewForwarderChanged(this = ???,
aChangeType = ???, pViewForwarder = ???) (optimized), at 0xf0a70336 (line ~806)
in "ChildrenManagerImpl.cxx"
  [10] accessibility::ChildrenManager::ViewForwarderChanged(this = ???,
aChangeType = ???, pViewForwarder = ???) (optimized), at 0xf0a6c8e2 (line ~174)
in "ChildrenManager.cxx"
  [11] accessibility::AccessibleDrawDocumentView::ViewForwarderChanged(this =
???, aChangeType = ???, pViewForwarder = ???) (optimized), at 0xecf8c206 (line
~145) in "AccessibleDrawDocumentView.cxx"
  [12] accessibility::AccessibleDocumentViewBase::windowResized(this = ???,
_ARG2 = STRUCT) (optimized), at 0xecf88ee4 (line ~636) in
"AccessibleDocumentViewBase.cxx"
  [13] WindowListenerMultiplexer::windowResized(this = ???, evt = STRUCT)
(optimized), at 0xfd32dd3a (line ~85) in "listenermultiplexer.cxx"
  [14] VCLXWindow::ProcessWindowEvent(this = ???, rVclWindowEvent = CLASS)
(optimized), at 0xfd1eddce (line ~690) in "vclxwindow.cxx"
  [15] VCLXWindow::WindowEventListener(this = ???, pEvent = ???) (optimized), at
0xfd1ec972 (line ~639) in "vclxwindow.cxx"
  [16] VCLXWindow::LinkStubWindowEventListener(pThis = ???, pCaller = ???)
(optimized), at 0xfd1ec859 (line ~630) in "vclxwindow.cxx"
  [17] VclEventListeners::Call(this = ???, pEvent = ???) (optimized), at
0xfc970e58 (line ~69) in "vclevent.cxx"
  [18] Window::CallEventListeners(this = ???, nEvent = ???, pData = ???)
(optimized), at 0xfcc10855 (line ~5380) in "window.cxx"
  [19] Window::ImplCallEventListeners(this = ???, nEvent = ???, pData = ???)
(optimized), at 0xfcc107a8 (line ~5362) in "window.cxx"
  [20] Window::ImplCallResize(this = ???) (optimized), at 0xfcc02db1 (line
~1133) in "window.cxx"
  [21] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc0837c (line ~3380) in "window.cxx"
  [22] Window::SetPosSizePixel(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc16551 (line ~7325) in "window.cxx"
  [23] Window::SetPosSizePixel(this = ???, rNewPos = CLASS, rNewSize = CLASS)
(optimized), at 0xfcc2dc35 (line ~2055) in "window2.cxx"
  [24] sd::ViewShell::ArrangeGUIElements(this = ???) (optimized), at 0xecc9394c
(line ~978) in "viewshel.cxx"
  [25] sd::DrawViewShell::ArrangeGUIElements(this = ???) (optimized), at
0xeccb569b (line ~146) in "drviews5.cxx"
  [26] sd::ViewShell::Resize(this = ???) (optimized), at 0xecc93069 (line ~836)
in "viewshel.cxx"
  [27] sd::DrawViewShell::Resize(this = ???) (optimized), at 0xeccb5546 (line
~116) in "drviews5.cxx"
  [28] sd::framework::ViewShellWrapper::windowResized(this = ???, rEvent =
STRUCT) (optimized), at 0xed15ca1b (line ~219) in "ViewShellWrapper.cxx"
  [29] WindowListenerMultiplexer::windowResized(this = ???, evt = STRUCT)
(optimized), at 0xfd32dd3a (line ~85) in "listenermultiplexer.cxx"
  [30] VCLXWindow::ProcessWindowEvent(this = ???, rVclWindowEvent = CLASS)
(optimized), at 0xfd1eddce (line ~690) in "vclxwindow.cxx"
  [31] VCLXWindow::WindowEventListener(this = ???, pEvent = ???) (optimized), at
0xfd1ec972 (line ~639) in "vclxwindow.cxx"
  [32] VCLXWindow::LinkStubWindowEventListener(pThis = ???, pCaller = ???)
(optimized), at 0xfd1ec859 (line ~630) in "vclxwindow.cxx"
  [33] VclEventListeners::Call(this = ???, pEvent = ???) (optimized), at
0xfc970e58 (line ~69) in "vclevent.cxx"
  [34] Window::CallEventListeners(this = ???, nEvent = ???, pData = ???)
(optimized), at 0xfcc10855 (line ~5380) in "window.cxx"
  [35] Window::ImplCallEventListeners(this = ???, nEvent = ???, pData = ???)
(optimized), at 0xfcc107a8 (line ~5362) in "window.cxx"
  [36] Window::ImplCallResize(this = ???) (optimized), at 0xfcc02db1 (line
~1133) in "window.cxx"
  [37] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc0837c (line ~3380) in "window.cxx"
  [38] Window::SetPosSizePixel(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc16551 (line ~7325) in "window.cxx"
  [39] Window::SetPosSizePixel(this = ???, rNewPos = CLASS, rNewSize = CLASS)
(optimized), at 0xfcc2dc35 (line ~2055) in "window2.cxx"
  [40] sd::ViewShellBase::Implementation::ResizePixel(this = ???, rOrigin =
CLASS, rSize = CLASS, bOuterResize = ???) (optimized), at 0xecd5a7cc (line
~1426) in "ViewShellBase.cxx"
  [41] sd::ViewShellBase::OuterResizePixel(this = ???, rOrigin = CLASS, rSize =
CLASS) (optimized), at 0xecd54eff (line ~548) in "ViewShellBase.cxx"
  [42] SfxViewFrame::DoAdjustPosSizePixel(this = ???, pSh = ???, rPos = CLASS,
rSize = CLASS) (optimized), at 0xf6f43fde (line ~1673) in "viewfrm.cxx"
  [43] SfxViewFrame::Resize(this = ???, bForce = ???) (optimized), at 0xf6f4928a
(line ~2601) in "viewfrm.cxx"
  [44] SfxFrameViewWindow_Impl::Resize(this = ???) (optimized), at 0xf6f508a7
(line ~115) in "viewfrm2.cxx"
  [45] Window::ImplCallResize(this = ???) (optimized), at 0xfcc02d9f (line
~1129) in "window.cxx"
  [46] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc0837c (line ~3380) in "window.cxx"
  [47] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc082be (line ~3343) in "window.cxx"
  [48] Window::SetPosSizePixel(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc16551 (line ~7325) in "window.cxx"
  [49] Window::SetPosSizePixel(this = ???, rNewPos = CLASS, rNewSize = CLASS)
(optimized), at 0xfcc2dc35 (line ~2055) in "window2.cxx"
  [50] SfxFrame::SetToolSpaceBorderPixel_Impl(this = ???, rBorder = CLASS)
(optimized), at 0xf6f2aa33 (line ~824) in "frame.cxx"
  [51] SfxFrameWorkWin_Impl::ArrangeChilds_Impl(this = ???, bForce = ???)
(optimized), at 0xf6dc2114 (line ~849) in "workwin.cxx"
  [52] SfxFrame::Resize(this = ???) (optimized), at 0xf6f2b344 (line ~954) in
"frame.cxx"
  [53] SfxFrameWindow_Impl::DoResize(this = ???) (optimized), at 0xf6f2c3ae
(line ~234) in "frame2.cxx"
  [54] SfxFrameWindow_Impl::Resize(this = ???) (optimized), at 0xf6f2c2ab (line
~208) in "frame2.cxx"
  [55] Window::ImplCallResize(this = ???) (optimized), at 0xfcc02d9f (line
~1129) in "window.cxx"
  [56] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc0837c (line ~3380) in "window.cxx"
  [57] Window::ImplPosSizeWindow(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc082be (line ~3343) in "window.cxx"
  [58] Window::SetPosSizePixel(this = ???, nX = ???, nY = ???, nWidth = ???,
nHeight = ???, nFlags = ???) (optimized), at 0xfcc16551 (line ~7325) in "window.cxx"
  [59] VCLXWindow::setPosSize(this = ???, X = ???, Y = ???, Width = ???, Height
= ???, Flags = ???) (optimized), at 0xfd1efa21 (line ~1154) in "vclxwindow.cxx"
  [60] framework::DockingAreaDefaultAcceptor::setDockingAreaSpace(this = ???,
BorderSpace = CLASS) (optimized), at 0xf58b4f56 (line ~181) in
"dockingareadefaultacceptor.cxx"
  [61] framework::LayoutManager::implts_doLayout(this = ???,
bForceRequestBorderSpace = ???, bOuterResize = ???) (optimized), at 0xf593c5c5
(line ~5551) in "layoutmanager.cxx"
  [62] framework::LayoutManager::AsyncLayoutHdl(this = ???, _ARG2 = ???)
(optimized), at 0xf59458ce (line ~7083) in "layoutmanager.cxx"
  [63] framework::LayoutManager::LinkStubAsyncLayoutHdl(pThis = ???, pCaller =
???) (optimized), at 0xf59457e1 (line ~7064) in "layoutmanager.cxx"
  [64] Timer::Timeout(this = ???) (optimized), at 0xfc96dcfd (line ~259) in
"timer.cxx"
  [65] Timer::ImplTimerCallbackProc() (optimized), at 0xfc96dac9 (line ~147) in
"timer.cxx"
  [66] X11SalData::Timeout(this = ???) (optimized), at 0xf8f9606f (line ~49) in
"saltimer.cxx"
  [67] GtkXLib::timeoutFn(data = ???) (optimized), at 0xfb65fafd (line ~695) in
"gtkdata.cxx"
  [68] call_timeoutFn(data = ???) (optimized), at 0xfb65fa72 (line ~675) in
"gtkdata.cxx"
  [69] g_timeout_dispatch(0xfb54f5e0, 0x2, 0x8084c90, 0x12c, 0x23, 0x65c), at
0xfb4f4588
(dbx) where t@33
current thread: t@33
=>[1] __lwp_park(0x0, 0x0), at 0xfef749ab
  [2] mutex_lock_queue(0xfb081400, 0x0, 0x8065eb8, 0x0), at 0xfef6d937
  [3] slow_lock(0xfb081400, 0x8065eb8, 0x0), at 0xfef6e224
  [4] mutex_lock_impl(0x8065eb8, 0x0), at 0xfef6e31a
  [5] __mutex_lock(0x8065eb8, 0x90fd110, 0xfb7f95b0, 0xfecabaa2), at 0xfef6e426
  [6] osl_acquireMutex(Mutex = ???) (optimized), at 0xfecababd (line ~129) in
"mutex.c"
  [7] vos::OMutex::acquire(this = ???) (optimized), at 0xfdf21d71 (line ~60) in
"mutex.cxx"
  [8] SalYieldMutex::acquire(this = ???) (optimized), at 0xf8fa3b9e (line ~68)
in "salinst.cxx"
  [9] GtkHookedYieldMutex::acquire(this = ???) (optimized), at 0xfb6613b2 (line
~90) in "gtkinst.cxx"
  [10] SdXShape::getPropertyValue(this = ???, PropertyName = CLASS) (optimized),
at 0xecf235f0 (line ~767) in "unoobj.cxx"
  [11] SvxShape::getPropertyValue(this = ???, PropertyName = CLASS) (optimized),
at 0xf25ad085 (line ~1999) in "unoshape.cxx"
  [12] accessibility::__unnamed_KARQ_WvC0LWIj::GetOptionalProperty(rxSet =
CLASS, rsPropertyName = CLASS) (optimized), at 0xf0a74f2b (line ~91) in
"AccessibleShape.cxx"
  [13] accessibility::AccessibleShape::UpdateNameAndDescription(this = ???)
(optimized), at 0xf0a79a40 (line ~1219) in "AccessibleShape.cxx"
  [14] accessibility::AccessibleShape::AccessibleShape(this = ???, rShapeInfo =
CLASS, rShapeTreeInfo = CLASS) (optimized), at 0xf0a75204 (line ~124) in
"AccessibleShape.cxx"
  [15] accessibility::AccessibleOLEShape::AccessibleOLEShape(this = ???,
rShapeInfo = CLASS, rShapeTreeInfo = CLASS) (optimized), at 0xf0a7d07b (line
~47) in "AccessibleOLEShape.cxx"
  [16]
accessibility::AccessiblePresentationOLEShape::AccessiblePresentationOLEShape(this
= ???, rShapeInfo = CLASS, rShapeTreeInfo = CLASS) (optimized), at 0xecf976df
(line ~48) in "AccessiblePresentationOLEShape.cxx"
  [17] accessibility::CreateSdAccessibleShape(rShapeInfo = CLASS, rShapeTreeInfo
= CLASS, nId = ???) (optimized), at 0xecfabaaf (line ~65) in "SdShapeTypes.cxx"
  [18] accessibility::ShapeTypeHandler::CreateAccessibleObject(this = ???,
rShapeInfo = CLASS, rShapeTreeInfo = CLASS) (optimized), at 0xf0a88869 (line
~138) in "ShapeTypeHandler.cxx"
  [19] accessibility::ChildrenManagerImpl::GetChild(this = ???, rChildDescriptor
= CLASS, _nIndex = ???) (optimized), at 0xf0a6d6df (line ~168) in
"ChildrenManagerImpl.cxx"
  [20] accessibility::ChildrenManagerImpl::GetChild(this = ???, nIndex = ???)
(optimized), at 0xf0a6d608 (line ~141) in "ChildrenManagerImpl.cxx"
  [21] accessibility::ChildrenManager::GetChild(this = ???, nIndex = ???)
(optimized), at 0xf0a6c59d (line ~90) in "ChildrenManager.cxx"
  [22] accessibility::AccessibleDrawDocumentView::getAccessibleChild(this = ???,
nIndex = ???) (optimized), at 0xecf8ce52 (line ~258) in
"AccessibleDrawDocumentView.cxx"
  [23] callVirtualMethod(0xf025e9e4, 0x4, 0xefeed570, 0x16, 0xefeed580, 0x4,
0x808a0c8, 0x89b0e2c), at 0xf89d8971
  [24] __unnamed_KARQ_TcB0LmV6::cpp_call(pThis = ???, aVtableSlot = STRUCT,
pReturnTypeRef = ???, nParams = ???, pParams = ???, pUnoReturn = ???, pUnoArgs =
???, ppUnoExc = ???) (optimized), at 0xf89d480e (line ~207) in "uno2cpp.cxx"
  [25] bridges::cpp_uno::shared::unoInterfaceProxyDispatch(pUnoI = ???,
pMemberDescr = ???, pReturn = ???, pArgs = ???, ppException = ???) (optimized),
at 0xf89d3f04 (line ~396) in "uno2cpp.cxx"
  [26] thisDispatch(pRemoteI = 0x93299e8, pType = 0x90e4350, pReturn =
0xf02e1f8c, ppArgs = 0xf02e1f6c, ppException = 0xf02e1f2c), line 173 in "stub.cxx"
  [27] bridges_urp::ServerMultiJob::execute(this = ???) (optimized), at
0xef8ef2df (line ~677) in "urp_job.cxx"
  [28] doit(job = ???) (optimized), at 0xef8ece7e (line ~69) in "urp_job.cxx"
  [29] cppu_threadpool::JobQueue::enter(this = ???, nDisposeId = ???,
bReturnWhenNoJob = ???) (optimized), at 0xf8cb8d73 (line ~117) in "jobqueue.cxx"
  [30] cppu_threadpool::ORequestThread::run(this = ???) (optimized), at
0xf8cb987d (line ~193) in "thread.cxx"
  [31] cppu_requestThreadWorker(pVoid = ???) (optimized), at 0xf8cb924e (line
~46) in "thread.cxx"
  [32] osl_thread_start_Impl(pData = ???) (optimized), at 0xfecac747 (line ~266)
in "thread.c"
  [33] _thr_setup(0xfb081400), at 0xfef74662
  [34] _lwp_start(0x0, 0x0, 0x0, 0xfb081400, 0x8065eb8, 0xfef9e000), at 0xfef74950
Comment 1 Stephan Bergmann 2010-04-28 08:46:39 UTC
worked around for now by disabling the affected tests in svx/qa/unoapi/svx.sce,
see <http://hg.services.openoffice.org/cws/sb120/rev/8ae1bc2d3745>; please
revert when fixing this issue