Issue 113188 - forms/qa/unoapi forms.OEditModel::com::sun::star::beans::XPropertySet deadlock
Summary: forms/qa/unoapi forms.OEditModel::com::sun::star::beans::XPropertySet deadlock
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m84
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: Frank Schönheit
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 12:08 UTC by Stephan Bergmann
Modified: 2017-05-20 10:22 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-07-16 12:08:47 UTC
At least on DEV300_m84 based CWS sb126 under unxsols4 non-pro, sd/qa/unoapi once
deadlocked at

[...]
4: checking: [forms.OEditModel::com::sun::star::beans::XPropertySet] is iface:
[com.sun.star.beans.XPropertySet] testcode: [ifc.beans._XPropertySet]
4: LOG> Execute: getPropertySetInfo()
4: Method getPropertySetInfo() finished with state OK
[...]
4: LOG> try to change value of property 'ParaTopMargin'
4: LOG> try to change value of property 'Printable'
4: LOG> try to change value of property 'ReadOnly'
4: LOG> try to change value of property 'RichText'

with

(dbx) thread -blockedby t@1
Thread t@1 is blocked by:
0x00026728 (0x26728): thread  mutex(locked)
Lock owned by t@55
(dbx) thread -blockedby t@55
Thread t@55 is blocked by:
0x00c655d8 (0xc655d8): thread  mutex(locked)
Lock owned by t@1
(dbx) where t@1
current thread: t@1
=>[1] __lwp_park(0x4, 0x0, 0x0, 0x0, 0xff3e6000, 0x1), at 0xff2c6df0
  [2] mutex_lock_queue(0xff392a00, 0x0, 0x26728, 0x0, 0x1c00, 0x1d3c), at 0xff2bf154
  [3] osl_acquireMutex(0x0, 0x18b7, 0x18b7, 0x26728, 0x80000000, 0x427f0), at
0xff01e43c
  [4] SalYieldMutex::acquire(0xfee04388, 0x1f, 0x1f, 0x2, 0xfaa43fd0, 0x27c590),
at 0xfab3a38c
  [5] VCLXWindow::setEnable(0xf0f08230, 0xfdf81e8c, 0xfdf7c13c, 0x1f, 0x5d50,
0x5c00), at 0xfdcffbe4
  [6] frm::WindowStateGuard_Impl::impl_ensureEnabledState_nothrow(0xf206036c,
0xf1cc75b4, 0xf1cc2ff4, 0x0, 0x1, 0x1), at 0xf1b490a8
  [7] frm::WindowStateGuard_Impl::windowEnabled(0xf206036c, 0xd0dcfc,
0xfdf86034, 0x2175c, 0x16, 0xf2060384), at 0xf1b49584
  [8]
cppu::OInterfaceContainerHelper::forEach<com::sun::star::awt::XWindowListener2,cppu::OInterfaceContainerHelper::NotifySingleListener<com::sun::star::awt::XWindowListener2,com::sun::star::lang::EventObject>
>(0xce0938, 0xffbfc49c, 0xfdf7c13c, 0xffbfc428, 0xffd59b80, 0xf2060380), at
0xfdd07d54
  [9]
boost::detail::function::void_function_obj_invoker0<__unnamed_CHEEKoyiNM0TE::CallWindow2Listener,void>::invoke(0xd0dcf4,
0x0, 0xd0dcfc, 0x0, 0xfdd062c4, 0x1), at 0xfdd0771c
  [10] boost::function0<void>::operator()(0xd0dcf0, 0xfe49b50c, 0xfe4f9698,
0xfdd076bc, 0xfdf8604c, 0xfdf8604c), at 0xfdd08518
  [11] VCLXWindowImpl::OnProcessCallbacks(0xce0920, 0xce0a70, 0xf1b64148,
0xf1ce830c, 0xd0dd30, 0xd0dd00), at 0xfdcfb7d0
  [12] ImplHandleUserEvent(0xd42b90, 0x0, 0xce9f70, 0xfdcfb64c, 0x4400, 0x0), at
0xfd7064bc
  [13] ImplWindowFrameProc(0x5eec70, 0x15, 0x16, 0x2e0, 0x54, 0x160000), at
0xfd706f80
  [14] SalDisplay::DispatchInternalEvent(0x3fc50, 0x227e8, 0xfd706d54, 0x16,
0xd42b90, 0x5eeee0), at 0xfab34730
  [15] GtkXLib::userEventFn(0x26ea8, 0xfd8e9db8, 0xfd8e9da4, 0xfe4f30b0, 0x0,
0x21d70), at 0xfe49a77c
  [16] g_main_dispatch(0x3f840, 0xfc2bec00, 0x0, 0x0, 0xfffffffd, 0xffffffef),
at 0xfc255ac8
  [17] g_main_context_dispatch(0x3f840, 0x2, 0x3f7f8, 0x1, 0xfc2bec00, 0x3f840),
at 0xfc256ffc
  [18] g_main_context_iterate(0x1, 0x0, 0x1, 0x3f840, 0x3f848, 0x0), at 0xfc2574c8
  [19] g_main_context_iteration(0x0, 0xfc2bec00, 0xfe4f9698, 0x3f840, 0x1, 0x0),
at 0xfc2576d8
  [20] GtkXLib::Yield(0x26ea8, 0x1, 0x0, 0x1, 0xfe4f30b0, 0xfd8e9da4), at 0xfe49a954
  [21] ImplYield(0xfd8dd534, 0xfd8e9db8, 0x1bc, 0x0, 0x1, 0x0), at 0xfd4e36bc
  [22] Application::Execute(0x1, 0xfd8e9db8, 0xfd8e9da4, 0xfd8dd534, 0x1bc,
0x0), at 0xfd4dfe2c
  [23] desktop::Desktop::Main(0xffbfd31c, 0xfe6873f4, 0xf55d6c68, 0xf55d6c54,
0xffbfcedc, 0x43cd18), at 0xfed182d4
  [24] ImplSVMain(0xfed16004, 0xfd8e9da4, 0x1, 0xfd8e9db8, 0xfd8dd534, 0x47574),
at 0xfd4e6a74
  [25] SVMain(0x0, 0x8002, 0xffbfd318, 0x2, 0x80000000, 0x40000000), at 0xfd4e6c50
  [26] soffice_main(0x13c00, 0xfed998e8, 0xfffebfe5, 0x14000, 0xfffebfdd,
0x14000), at 0xfed44200
  [27] main(0x8, 0xffbfd414, 0xffbfd438, 0x21400, 0xff3900c0, 0x0), at 0x10f88
(dbx) where t@55
current thread: t@55
=>[1] __lwp_park(0x4, 0x0, 0x0, 0x0, 0xff3e6060, 0x1), at 0xff2c6df0
  [2] mutex_lock_queue(0xfefa2a00, 0x0, 0xc655d8, 0x0, 0x1c00, 0x1d3c), at
0xff2bf154
  [3] osl_acquireMutex(0x0, 0x0, 0x0, 0xc655d8, 0xf19fdd14, 0xf1cc2ff4), at
0xff01e43c
  [4] frm::WindowStateGuard_Impl::dispose(0xf206036c, 0xf1ce84cc, 0xf1b660f8,
0xf1ce84cc, 0xf0f08240, 0xf2060384), at 0xf1b48e70
  [5] frm::WindowStateGuard_Impl::disposing(0xf206036c, 0xf257b244, 0xfeccec68,
0xf1cc2ff4, 0xf1cc2ff4, 0x33800), at 0xf1b49688
  [6] cppu::OInterfaceContainerHelper::disposeAndClear(0xce0998, 0xf257b244,
0xfeccd6bc, 0xf257b1b8, 0xfec11d14, 0xf2060380), at 0xfec41464
  [7] VCLXWindowImpl::disposing(0xce0920, 0xfe4f96bc, 0xfdf81e8c, 0xfdf7c13c,
0xf0f08240, 0xf0f08240), at 0xfdcfb480
  [8] VCLXWindow::dispose(0xf0f08230, 0xfe4f96bc, 0xfdf7c13c, 0xfdf81e8c,
0x5d50, 0x5c00), at 0xfdcff484
  [9] frm::ORichTextPeer::dispose(0xf0f08230, 0xc884a8, 0xc88428, 0xc884a8,
0xc884a8, 0xc884a8), at 0xf1b63584
  [10] UnoControl::ImplModelPropertiesChanged(0xf1974830, 0x5c400, 0xfdcd5cbc,
0xf1b65ed8, 0xfdcd5ccc, 0x77d9c8), at 0xfdd7bef4
  [11] UnoControl::propertiesChange(0xf1974830, 0xaee200, 0xfdf9dc58,
0xfdf7c13c, 0xfdd7b370, 0xf1ce7eec), at 0xfdd7b08c
  [12] cppu::OPropertySetHelper::fire(0xf269084c, 0xf3acc758, 0x0, 0xf1ce8180,
0xf1974858, 0xf1b666b0), at 0xfec395e0
  [13] comphelper::OPropertySetAggregationHelper::propertiesChange(0xf269085c,
0xf257b7a4, 0x1, 0x1, 0xf20406e4, 0xfe662341), at 0xfe5e3b74
  [14] cppu::OPropertySetHelper::fire(0xf43f4e44, 0xf43f4e54, 0x0, 0xf1cce99c,
0xf2690884, 0xf1a94f1c), at 0xfec395e0
  [15] cppu::OPropertySetHelper::setFastPropertyValue(0xf43f4e54, 0xf43f4ecc,
0xf1b5f7b8, 0xfeccd6bc, 0xf257ba40, 0xfec11d04), at 0xfec38be8
  [16]
comphelper::OPropertySetAggregationHelper::setFastPropertyValue(0xf43f4e54,
0xe1, 0xf257ba40, 0xfe689d20, 0xf0ddbaac, 0xffffffff), at 0xfe5e4858
  [17]
comphelper::OPropertySetAggregationHelper::setFastPropertyValue(0xf269085c,
0x2756, 0xf257ba40, 0xfe689d20, 0xf0e015b0, 0xffffffff), at 0xfe5e4824
  [18] cppu::OPropertySetHelper::setPropertyValue(0xf269085c, 0xf0abb804,
0xf257ba40, 0xfe5e2bbc, 0xf1cce894, 0xfe5e47b8), at 0xfec38210
  [19] callVirtualMethod(0xf2690864, 0x4, 0x0, 0x0, 0xf257ba68, 0x4), at 0xfaa07238
  [20] __unnamed_CHEEKEJgNMUyT::cpp_call(0x493db8, 0xc, 0xf257bbf0, 0x0,
0x4c198, 0xf257ba58), at 0xfaa03188
  [21] bridges::cpp_uno::shared::unoInterfaceProxyDispatch(0x493db8, 0x4ee10,
0x0, 0xf257bbe8, 0xf257bc34, 0x19), at 0xfaa036ec
  [22] thisDispatch(0xa8c6b0, 0xf257bc38, 0xf0abb7ec, 0x2, 0xf257bc08,
0xf257bbf0), at 0xf1f69c34
  [23] bridges_urp::ServerMultiJob::execute(0xce0f78, 0x2dc00, 0x0, 0xf1f6971c,
0xf1f68ae4, 0xf1f82b48), at 0xf1f5c91c
  [24] doit(0xce0f78, 0x10, 0xa71eb8, 0xf1f5a678, 0x1, 0x0), at 0xf1f5a67c
  [25] cppu_threadpool::JobQueue::enter(0xf1f5a678, 0xa71eb8, 0xfaa68b08,
0xd0dd10, 0x1, 0xfaa7a7e0), at 0xfaa5a0f8
  [26] cppu_threadpool::ORequestThread::run(0xbe2450, 0x0, 0x0, 0x0, 0xfffefa16,
0x10400), at 0xfaa5ad0c
  [27] cppu_requestThreadWorker(0xbe2450, 0xf257bf90, 0xff343800, 0x0,
0xfefa2a00, 0x0), at 0xfaa5a614
  [28] osl_thread_start_Impl(0xaddaf0, 0xaddb00, 0x18, 0xf257bf80, 0xff01ee28,
0xfaa5a610), at 0xff01f09c
Comment 1 philipp.lohmann 2010-07-16 19:09:14 UTC
@fs: frm::WindowStateGuard_Impl::windowEnabled seems to have a internal vs.
solarmutex problem

Comment 2 Frank Schönheit 2010-09-03 16:39:01 UTC
fs->msc: please verify in CWS dba34a
Comment 3 Frank Schönheit 2010-09-03 16:39:45 UTC
oops, used wrong sript, this was not intended to be reassigned ...
Comment 4 Frank Schönheit 2010-09-03 16:39:56 UTC
fixed in CWS dba34a

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=DEV300/dba34a
Comment 5 Frank Schönheit 2010-09-24 08:39:54 UTC
targeting to 3.4, since the fix is part of a CWS which aims for this release
Comment 6 Frank Schönheit 2010-09-24 08:40:29 UTC
targeting to 3.4, since the fix is part of a CWS which aims for this release
Comment 7 Frank Schönheit 2010-09-24 08:41:23 UTC
targeting to 3.4, since the fix is part of a CWS which aims for this release
Comment 8 Frank Schönheit 2010-09-29 09:46:04 UTC
developer issue - verified myself