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


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Sep 24 20:22:23 +0000 
2008 -------
It's worse than this ....

Opening *any* modal dialog from within the application (e.g. the confirmation
for deleting a form, or such) leads to the very same deadlock.

The problem is that the dialog is opened with both the SolarMutex and the
application controller's own mutex locked (in this order), but VCL, when
executing a dialog, constantly releases and re-acquires the SolarMutex. So, in
this particular thread, the locking order is "SolarMutex, ControllerMutex".

In another thread, which is about to notify the "OnDeactivate" event, the
SolarMutex is locked, and then a call into the Controller is made (in
particular: XController.getFrame). So, here the locking order is
"ControllerMutex, SolarMutex".

This finally leads to the deadlock ...

The other applications don't have this problem because their controller
implementations are infested with the SolarMutex - they use it for their own
thread safety as well, instead of having an own mutex. Thus, they do not suffer
from this problem.

Did I already say (more than 500 times) that the SolarMutex sucks? :-(

---------------------------------------------------------------------
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