Issue 35927 - Plugin freezes mozilla and Office
Summary: Plugin freezes mozilla and Office
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m56
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: uwe.luebbers
QA Contact: issues@framework
URL:
Keywords:
: 35552 35681 36180 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-10-21 12:11 UTC by uwe.luebbers
Modified: 2005-01-07 14:02 UTC (History)
3 users (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 uwe.luebbers 2004-10-21 12:11:19 UTC
Hi Mike,

Plugin engineers found out:

We have tested these files on windows and Solaris Sparc. These files also can not 
been opened successfully on our side. StarOffice and Mozilla will hang up. After 
debugging and testing, we found the this problem will happens when a document 
contains OLE object.  Any document(*.sxw, *.sxc,*.sxi) including some OLE 
objects  will hang up StarOffice. This can be proved by delete all OLE objects in 
file CWS-Introduction.sxi, then it can be loaded again. And if you add a OLE 
object to a normal file( that can be loaded), it will not be loaded again. This 
happens also on Solaris.

From debug, we also found where StarOffice is hanged up, it is
->after load document, call statusBarManager::UpdateControllers
->StatusbarController::update()
->StatusbarController::bindListener()
->SfxOfficeDispatch::addStatusListener
->SfxDispatchController_Impl::addStatusListener()
->SfxDispatcher::QueryState
->SfxShell::GetSlotState()
->SfxStubSfxObjectShellGetState_Impl()
->SfxObjectShell::GetState_Impl()
->SfxObjectShell::IsModified()
uno::Reference < embed::XEmbeddedObject > xObj = 
GetEmbeddedObjectContainer().GetEmbeddedObject( aNames[n] );
->EmbeddedObjectContainer::GetEmbeddedObject()
->OCommonEmbeddedObject::getCurrentState()
StarOffice is hanged when call ::osl::MutexGuard aGuard( m_aMutex );
The m_aMutex is not realsed here, so  StarOffice stopped here.
This may because some exception in OCommonEmbeddedObject::changeState.

Please contact me if you need testdocuments.
Or create and load a described document with the mozilla plugin.
Comment 1 mikhail.voytenko 2004-10-22 22:56:46 UTC
The problem was caused by wrong handling of resettable mutex guard.
Comment 2 mikhail.voytenko 2004-10-26 13:29:23 UTC
*** Issue 35681 has been marked as a duplicate of this issue. ***
Comment 3 carsten.driesner 2004-10-28 17:37:06 UTC
Ropening to send for testing.
Comment 4 carsten.driesner 2004-10-28 17:37:39 UTC
Please verify the issue.
Comment 5 mikhail.voytenko 2004-10-28 17:46:06 UTC
Setting back to fixed state.
Comment 6 mikhail.voytenko 2004-10-29 14:06:58 UTC
*** Issue 36180 has been marked as a duplicate of this issue. ***
Comment 7 mikhail.voytenko 2004-11-01 13:55:09 UTC
*** Issue 35552 has been marked as a duplicate of this issue. ***
Comment 8 uwe.luebbers 2004-11-04 12:20:58 UTC
Verified in CWS fwkpp2fix1
Comment 9 uwe.luebbers 2005-01-07 14:02:14 UTC
works fine in m69