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


User af changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|af                        |mba
--------------------------------------------------------------------------------
                    Status|REOPENED                  |NEW
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Apr 20 05:12:09 -0700 
2005 -------
The crash takes place in SfxInPlaceClient_Impl::saveObject(). In the 'try' block
...
try
{
   xPersist->storeOwn();
   m_xObject->update();
}
...
where the embedded object is stored.
1. The call to storeOwn() creates a progress bar that then (from
framework::StatusIndicatorFactory::start()) calls Application::Reschedule().  
2. This triggers the processing of the second click of the double click which by
this time is handled by the slide sorter.  
3. When the double click takes place at the right (or wrong) place the result is
the switching to another slide.
4. When storeOwn() returns then m_xObject has been reset to NULL in the
meantime.  Calling update() on it crashes.

To fix this crash experimentally I had to do the following:
a) Check m_xObject right before calling update() for being not NULL.
b) In OCommonEmbeddedObject::Deactivate() (in the embobj project) I had to
comment out the throwing of an exception.
c) In the last line of same method the m_xClientSite->visibilityChanged call had
to be guarded againts m_xClientSite being NULL at this time.


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