To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93051


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'cd,dv,kr,mh,sb,ul'       |'cd,dv,jb,kr,mh,sb,ul'
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Aug 27 09:30:57 +0000 
2008 -------
The deadlock is as follows:  The "main thread" obviously from
ComponentContext::lookupMap (cppuhelper/source/component_context.cxx:1.33), with
the UnsafeBridge::m_mutex (cppu/source/UnsafeBridge/UnsafeBridge.cxx) locked,
calls createInstanceWithContext to instantiate the
com.sun.star.deployment.PackageInformationProvider singleton, which in turn
calls OConfigurationProvider::queryInterface
(configmgr/source/api2/confprovider2.cxx:1.33) and tries to lock the configmgr's
UnoApiLock.  The "configmgr-writer-service" thread, obviously with the
configmgr's UnoApiLock locked, from the WriterService ctor
(configmgr/soruce/xml/writersvc.cxx:1.11) calls
ComponentContext::getServiceManager
(cppuhelper/source/component_context.cxx:1.33), which blocks trying to acquire
the UnsafeBridge::m_mutex.

@jb:  Do you have any recollection what the UnoApiLock is good for?  It causes
problems like this deadlock, by making configmgr code call external code (e.g.,
XComponentContext::getServiceManager, service manager's createInstance) with the
configmgr's UnoApiLock locked.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to