Issue 111252 - svx/qa/unoapi svx.AccessibleOLEShape deadlock
Summary: svx/qa/unoapi svx.AccessibleOLEShape deadlock
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
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-29 11:30 UTC by Stephan Bergmann
Modified: 2013-01-29 21:47 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-29 11:30:10 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.pro once
deadlocked at

[...]
18: LOG>     disposing xDrawDoc 
18: ***** State for svx.AccessibleGraphicShape ******
18: Whole component: PASSED.OK
18: *************************************************
18: Creating: svx.AccessibleOLEShape
18: LOG> Log started 28.03.2010 - 15:56:55
18: LOG> creating a drawdoc
18: LOG> creating a test environment
18: LOG> Inserting a Chart

with

(dbx) thread -blockedby t@1
Thread t@1 is blocked by:
0x089f2c60 (0x89f2c60): thread  mutex(locked)
Lock owned by t@23
(dbx) thread -blockedby t@23
Thread t@23 is blocked by:
0x08066560 (0x8066560): thread  mutex(locked)
Lock owned by t@1
(dbx) where t@1
current thread: t@1
=>[1] __lwp_park(0x0, 0x0), at 0xfef747fb
  [2] mutex_lock_queue(0xfef92a00, 0x0, 0x89f2c60, 0x0), at 0xfef6d7c5
  [3] mutex_lock_impl(0x89f2c60, 0x0), at 0xfef6e0db
  [4] __mutex_lock(0x89f2c60, 0x0, 0xfd2b4900, 0xfecda134), at 0xfef6e196
  [5] osl_acquireMutex(0x89f2c60, 0x64, 0xb, 0xf25f1a81), at 0xfecda14b
  [6] accessibility::ChildrenManagerImpl::CreateListOfVisibleShapes(0xf02cd840,
0x80426b0, 0xf6160df8, 0xf25f183e), at 0xf25f1aab
  [7] accessibility::ChildrenManagerImpl::Update(0xf02cd840, 0x0, 0xefa68277,
0xf25f41be), at 0xf25f189d
  [8] accessibility::ChildrenManagerImpl::ViewForwarderChanged(0xf02cd840, 0x1,
0xf4894d08, 0xfe917012), at 0xf25f426a
  [9] accessibility::ChildrenManager::ViewForwarderChanged(0x89ffc10, 0x1,
0xf4894d08, 0xefd9064a), at 0xf25f09d1
  [10]
accessibility::AccessibleDrawDocumentView::ViewForwarderChanged(0xf4894c60, 0x1,
0xf4894d08, 0xefd8de6a), at 0xefd90682
  [11] accessibility::AccessibleDocumentViewBase::windowResized(0xf4894c60,
0x80427e0, 0x89f3528, 0xfdc08f3a), at 0xefd8dea0
  [12] WindowListenerMultiplexer::windowResized(0x8dd3c50, 0x8042950, 0x8042878,
0xfdad053d), at 0xfdc0901a
  [13] VCLXWindow::ProcessWindowEvent(0xf02c4884, 0x8042d40, 0x8042c98,
0xfdad04fc), at 0xfdad197a
  [14] VCLXWindow::WindowEventListener(0xf02c4884, 0x8042d40, 0x8042d18,
0xfdad04b0, 0x8042cd8), at 0xfdad051d
  [15] VCLXWindow::LinkStubWindowEventListener(0xf02c4884, 0x8042d40, 0x8042d18,
0xfd4e2612), at 0xfdad04c5
  [16] VclEventListeners::Call(0x857e448, 0x8042d40, 0xfef9f5dc, 0xfd73961a), at
0xfd4e26a7
  [17] Window::CallEventListeners(0x857e2a0, 0x3ea, 0x0, 0xfd7395e8), at 0xfd7396a0
  [18] Window::ImplCallEventListeners(0x857e2a0, 0x3ea, 0x0, 0xfd72e546), at
0xfd739600
  [19] Window::ImplCallResize(0x857e2a0, 0x8042e70, 0x0, 0xfd7330cd), at 0xfd72e5ad
  [20] Window::ImplPosSizeWindow(0x857e2a0, 0x1b, 0x1b, 0x272, 0x1d7), at 0xfd7339c0
  [21] Window::SetPosSizePixel(0x857e2a0, 0x1b, 0x1b, 0x272, 0x1d7, 0xf,
0x8042fb8, 0xfd752ae6), at 0xfd73dcc9
  [22] Window::SetPosSizePixel(0x857e2a0, 0x8043048, 0x8043050, 0xefb00879), at
0xfd752b11
  [23] sd::ViewShell::ArrangeGUIElements(0x857df78, 0xeffcfad4, 0x80430b0,
0xefb1b806), at 0xefb00c88
  [24] sd::DrawViewShell::ArrangeGUIElements(0x857df78, 0x857e048, 0x8043130,
0xefb4c652), at 0xefb1b843
  [25] sd::GraphicViewShell::ArrangeGUIElements(0x857df78), at 0xefb4c812
  [26] sd::ViewShell::Resize(0x857df78), at 0xefb00681
  [27] sd::DrawViewShell::Resize(0x857df78, 0xfe992eb4, 0x8043298, 0xeff0c016),
at 0xefb1b70e
  [28] sd::framework::ViewShellWrapper::windowResized(0xf0280798, 0x80432d0,
0x89ef8d0, 0xfdc08f3a), at 0xeff0c03b
  [29] WindowListenerMultiplexer::windowResized(0x857de60, 0x8043440, 0x8043378,
0xfdad053d), at 0xfdc0901a
  [30] VCLXWindow::ProcessWindowEvent(0xf0294728, 0x8043830, 0x8043788,
0xfdad04fc), at 0xfdad197a
  [31] VCLXWindow::WindowEventListener(0xf0294728, 0x8043830, 0x8043808,
0xfdad04b0, 0x80437c8), at 0xfdad051d
  [32] VCLXWindow::LinkStubWindowEventListener(0xf0294728, 0x8043830, 0x8043808,
0xfd4e2612), at 0xfdad04c5
  [33] VclEventListeners::Call(0x8a37e98, 0x8043830, 0xfef9f5dc, 0xfd73961a), at
0xfd4e26a7
  [34] Window::CallEventListeners(0x8dd0d50, 0x3ea, 0x0, 0xfd7395e8), at 0xfd7396a0
  [35] Window::ImplCallEventListeners(0x8dd0d50, 0x3ea, 0x0, 0xfd72e546), at
0xfd739600
  [36] Window::ImplCallResize(0x8dd0d50, 0x8043960, 0x80438f8, 0xfd7330cd), at
0xfd72e5ad
  [37] Window::ImplPosSizeWindow(0x8dd0d50, 0x0, 0x0, 0x29d, 0x202), at 0xfd7339c0
  [38] Window::SetPosSizePixel(0x8dd0d50, 0x0, 0x0, 0x29d, 0x202, 0xf,
0x8043aa8, 0xfd752ae6), at 0xfd73dcc9
  [39] Window::SetPosSizePixel(0x8dd0d50, 0x8043b10, 0x8043b18, 0xefba77a9), at
0xfd752b11
  [40] sd::ViewShellBase::Implementation::ResizePixel(0x8ab4738, 0x8043bf8,
0x8043be8, 0x1), at 0xefba7f34
  [41] sd::ViewShellBase::OuterResizePixel(0x8a121a8, 0x8043bf8, 0x8043be8,
0xf688adb0), at 0xefba2f87
  [42] SfxViewFrame::DoAdjustPosSizePixel(0x857d608, 0x8a121a8, 0x8043bf8,
0x8043be8), at 0xf688adee
  [43] SfxViewFrame::Resize(0x857d608, 0x0, 0x8043c48, 0xf6894df8), at 0xf688e97e
  [44] SfxFrameViewWindow_Impl::Resize(0x856eb68, 0x8043d00, 0x8043c30), at
0xf6894e3f
  [45] Window::ImplCallResize(0x856eb68, 0x8043d00, 0xfef9f5dc, 0xfd7330cd), at
0xfd72e59b
  [46] Window::ImplPosSizeWindow(0x856eb68, 0x2, 0x2, 0x29d, 0x202, 0xf,
0x8043e18, 0xfd7330cd), at 0xfd7339c0
  [47] Window::ImplPosSizeWindow(0x8b075b8, 0xf7, 0x0, 0x2a1, 0x206), at 0xfd733902
  [48] Window::SetPosSizePixel(0x856eb68, 0xf7, 0x0, 0x2a1, 0x206, 0xf, 0x397,
0xfd752ae6), at 0xfd73dcc9
  [49] Window::SetPosSizePixel(0x856eb68, 0x8043fa0, 0x8043fa8, 0xf687502a), at
0xfd752b11
  [50] SfxFrame::SetToolSpaceBorderPixel_Impl(0x89efa10, 0x8043ff0), at 0xf6875117
  [51] SfxFrameWorkWin_Impl::ArrangeChilds_Impl(0x8de3750), at 0xf671cc0c
  [52] SfxFrame::Resize(0x89efa10, 0x0, 0x0, 0xf6876728), at 0xf68759f4
  [53] SfxFrameWindow_Impl::DoResize(0x8df24f0, 0xfd8b4844, 0x8044108,
0xf6876608), at 0xf687674a
  [54] SfxFrameWindow_Impl::Resize(0x8df24f0, 0x80441c0, 0x8044138), at 0xf6876647
  [55] Window::ImplCallResize(0x8df24f0, 0x80441c0, 0xfef9f5dc, 0xfd7330cd), at
0xfd72e59b
  [56] Window::ImplPosSizeWindow(0x8df24f0, 0x0, 0x0, 0x398, 0x206, 0xf,
0x8044298, 0xfd7330cd), at 0xfd7339c0
  [57] Window::ImplPosSizeWindow(0x8a68b28, 0x0, 0x1f, 0x398, 0x206), at 0xfd733902
  [58] Window::SetPosSizePixel(0x8df24f0, 0x0, 0x1f, 0x398, 0x206, 0xf,
0x8044468, 0xfdad3554), at 0xfd73dcc9
  [59] VCLXWindow::setPosSize(0xf0281b10, 0x0, 0x1f, 0x398, 0x206, 0xf,
0xf591de5c, 0xf56ac05d), at 0xfdad358d
  [60] framework::DockingAreaDefaultAcceptor::setDockingAreaSpace(0xf0297988,
0x8044600, 0x80445f0, 0xf572d385), at 0xf56ac28a
  [61] framework::LayoutManager::implts_doLayout(0xf027101c, 0x0, 0x1,
0xf572d2ea), at 0xf572d8c9
  [62] framework::LayoutManager::implts_doLayout_notify(0xf027101c, 0x1,
0xf0271274, 0xf572d2a6), at 0xf572d309
  [63] framework::LayoutManager::doLayout(0xf027101c, 0x3, 0xf0271274,
0xf57238f5), at 0xf572d2c0
  [64] framework::LayoutManager::createElement(0xf027101c, 0x8044a18, 0x8044970,
0x80448e4), at 0xf572435f
  [65] framework::LayoutManager::requestElement(0xf027101c, 0x8044a18,
0x8486b10, 0xefb983d2), at 0xf57263bc
  [66] sd::ToolBarManager::Implementation::PostUpdate(0x8a9da50, 0xfeebb140,
0x8044a98, 0xefb99202), at 0xefb98469
  [67] sd::ToolBarManager::Implementation::UpdateCallback(0x8a9da50, 0x0,
0x1000000, 0xefb991d8, 0x8d76de8), at 0xefb9923e
  [68] sd::ToolBarManager::Implementation::LinkStubUpdateCallback(0x8a9da50,
0x0, 0x8066e40, 0xfd74ddae), at 0xefb991ed
  [69] ImplHandleUserEvent(0x8e07c30, 0xfef9e000, 0x8044ae8, 0xfd74e55d), at
0xfd74de3d
  [70] ImplWindowFrameProc(0x856c348, 0x85eff18, 0x16, 0x8e07c30), at 0xfd74e658
  [71] SalDisplay::DispatchInternalEvent(0x807d908), at 0xf89acac4
  [72] GtkXLib::userEventFn(0x8066ce0, 0xfef9e000, 0x8044c38, 0xfc39bbd8,
0x807d4fc), at 0xfc39bcce
  [73] call_userEventFn(0x8066ce0, 0xfef92a00, 0x8a9f098), at 0xfc39bbea
  [74] g_idle_dispatch(0xfc24f5b0, 0x3, 0x807d4f8, 0xffffff9c, 0x23, 0x342), at
0xfc1f4b4d
(dbx) where t@23
current thread: t@23
=>[1] __lwp_park(0x0, 0x0), at 0xfef747fb
  [2] mutex_lock_queue(0xfeb13200, 0x0, 0x8066560, 0x0), at 0xfef6d7c5
  [3] mutex_lock_impl(0x8066560, 0x0), at 0xfef6e0db
  [4] __mutex_lock(0x8066560, 0x0, 0xfd2b4900, 0xfecda134), at 0xfef6e196
  [5] osl_acquireMutex(0x8066560, 0x0, 0x8861bb0, 0xfe2e17d4, 0xfd29d6e4), at
0xfecda14b
  [6] vos::OMutex::acquire(0xfea70328, 0xfed2632c, 0xf1e5e078, 0xf89b2d60), at
0xfe2e17e9
  [7] SalYieldMutex::acquire(0xfea70328, 0xfd2b4930, 0xf1e5e098, 0xfc39d208), at
0xf89b2d72
  [8] GtkHookedYieldMutex::acquire(0xfea70328, 0xeffcfad4, 0xf1e5e1b8,
0xefd334d9), at 0xfc39d21a
  [9] SdXShape::getPropertyValue(0xf1e5e220, 0x8de22b8, 0xf1e5e28c, 0xf379ee6e),
at 0xefd334f0
  [10] SvxShape::getPropertyValue(0xf1e5e220, 0xf02af298, 0xf1e5e28c,
0xf25f8c82), at 0xf379ee99
  [11] accessibility::__unnamed_KAxQjHnf0LWcR::GetOptionalProperty(0xf1e5e288,
0xf1e5e278, 0xf1e5e28c, 0xf25fd9a6), at 0xf25f8cf7
  [12] accessibility::AccessibleShape::UpdateNameAndDescription(0xf02cca94,
0xf02cd8b0, 0x21, 0xf25f8dba), at 0xf25fdaf8
  [13] accessibility::AccessibleShape::AccessibleShape(0xf02cca94, 0xf1e5e430,
0xf02cd8b0, 0xf2600c66), at 0xf25f8fd0
  [14] accessibility::AccessibleOLEShape::AccessibleOLEShape(0xf02cca94,
0xf1e5e430, 0xf02cd8b0, 0xf260d37e), at 0xf2600d17
  [15] accessibility::CreateSvxAccessibleShape(0xf1e5e430, 0xf02cd8b0, 0x12,
0xf260a8b0, 0xf1e5e430), at 0xf260d42f
  [16] accessibility::ShapeTypeHandler::CreateAccessibleObject(0x8a42c10,
0xf1e5e430, 0xf02cd8b0, 0xf25f1637), at 0xf260a8e1
  [17] accessibility::ChildrenManagerImpl::GetChild(0xf1e5e570, 0xf02cd840,
0x88612ac, 0x1), at 0xf25f164b
  [18] accessibility::ChildrenManagerImpl::GetChild(0xf1e5e570, 0xf02cd840, 0x1,
0xf25f07dc), at 0xf25f1574
  [19] accessibility::ChildrenManager::GetChild(0xf1e5e570, 0x89ffc10, 0x1,
0xefd91242), at 0xf25f07f7
  [20] accessibility::AccessibleDrawDocumentView::getAccessibleChild(0xf1e5e570,
0xf4894c60, 0x1, 0x6, 0xf31b9204, 0xfab9d0bc), at 0xefd912ce
  [21] callVirtualMethod(0xf4894c94, 0x4, 0xf1e5e570, 0x16, 0xf1e5e580, 0x4,
0x80826e0, 0x8957194), at 0xfab88219
  [22] __unnamed_KAxQjAPc0LWaF::cpp_call(0x8dd3170, 0x0, 0x4, 0x8872bb8, 0x1,
0x8587ce8, 0xf1e5ec64, 0xf1e5ec60, 0xf1e5ed98, 0x8a898d0, 0x0, 0xfab8395a), at
0xfab843d3
  [23] bridges::cpp_uno::shared::unoInterfaceProxyDispatch(0x8dd3170, 0x8a898d0,
0xf1e5ec64, 0xf1e5ec60, 0xf1e5ed98, 0x0), at 0xfab83af0
  [24] thisDispatch(0x8dd3b60, 0x8a898d0, 0xf21b008c, 0xf21b006c, 0xf21b002c,
0xf02c05e8, 0x846ca10, 0xf1bfde71), at 0xf1c0d186
  [25] bridges_urp::ServerMultiJob::execute(0x8d76dd8, 0x8d9d438, 0xfabee4ac,
0xf1bfbf4c), at 0xf1bfe223
  [26] doit(0x8d76dd8, 0x10, 0x0, 0xfabdbbff), at 0xf1bfbf5e
  [27] cppu_threadpool::JobQueue::enter(0x89f1bd0), at 0xfabdbe43
  [28] cppu_threadpool::ORequestThread::run(0x8a85da0), at 0xfabdc8da
  [29] cppu_requestThreadWorker(0x8a85da0, 0xf1e5efb0, 0xf1e5efd8, 0xf1e5efb0),
at 0xfabdc30a
  [30] osl_thread_start_Impl(0x8a209d0), at 0xfecdab9f
  [31] _thr_setup(0xfeb13200), at 0xfef744b7
  [32] _lwp_start(0x0, 0x0, 0x0, 0xfeb13200, 0x8066560, 0xfef9e000), at 0xfef747a0
Comment 1 Stephan Bergmann 2010-04-29 12:29:44 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/6de5af9879b9>; please
revert when fixing this issue
Comment 2 Stephan Bergmann 2010-04-29 13:28:06 UTC
also affects svx.AccessibleGraphicShape with what looks like virtually the same
deadlocking stacks, disabled for now as
<http://hg.services.openoffice.org/cws/sb120/rev/70c44cb97b35>
Comment 3 Stephan Bergmann 2010-04-30 10:05:09 UTC
also affects svx.AccessiblePageShape with what looks like virtually the same
deadlocking stacks, disabled for now as
<http://hg.services.openoffice.org/cws/sb120/rev/5e3824328de1>