To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86733
User af changed the following:
What |Old value |New value
================================================================================
Status|NEW |RESOLVED
--------------------------------------------------------------------------------
Resolution| |FIXED
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Thu Mar 6 10:55:35 +0000
2008 -------
Ok, the problem is not quite as described above (although similar).
What really happens is this:
1. User hits ESC to stop and close the slide show.
2. This eventually triggers SlideShowImplementation::endPresentation() which
schedules the user event that then calls endPresentationHdl which in turn calls
SlideShow::end().
3. In SlideShow::end() first the controller is disposed and then
SfxViewFrame::DoClose() is called.
4. The view frame at which to call DoClose() is fetched from the main view shell
of the ViewShellBase.
5. The main view shell is returned by ViewShellBase::GetMainViewShell(). The
returned value is a boost::shared_ptr. The problem is that it is accessed
through a temporary, whose lifetime is not well specified. On Windows and Linux
the temporary shared_ptr is released after the statement in which it is used has
been completed. On Solaris, however, it is released at the end of the enclosing
block, i.e. *after* the call to DoClose().
After the DoClose the temporary is the only shared_ptr pointing to the view
shell and releasing it destroys the view shell. Too late, because in the mean
time the view frame has gone. Crash
With this knowledge the fix is straight forward. Replace the temporary
shared_ptr with an explicit one whose lifetime can be controlled by adding a
block that ends before the call to DoClose.
---------------------------------------------------------------------
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]