Apache OpenOffice (AOO) Bugzilla – Issue 41272
application crashes when closing document after selecting tabs
Last modified: 2005-02-17 12:16:36 UTC
open a new impress document change tabs to Outline, Notes, Handout, Slide Sorter and then back to Normal then close the document: --> crash JA->AF: I was able to reproduce this on SolarisSparc when using cws vcl35 and when using src680m73 master. I could give you a call stack if you like.
Accepted.
I can reproduce the crash more reliably like this: 1. Create a new Impress document. 2. Switch to the Slide Sorter View. 3. Close the document.
When switching from one view to another the PaneManager detects that such a switch really takes place by comparing pointers of the view shells before and after the call to PaneDescriptor::SetViewShellType(). Under Solaris the new view shell is (can be) created at the adress of the old one. Pointers of the old and new shell are thus the same. The caller, PaneManager::Implementation::UpdateConfiguration(), thinks that no switch takes place and therefore does not update the controller. As a result the new shell is used with the old controller. This eventually leads to a crash. Fixed by having SetViewShellType() return a bool flag that indicates whether a switch of view shells takes place.
Reopening...
...reassigning...
...resolving.
JA: verified bugfix in cws impress31
*** Issue 41537 has been marked as a duplicate of this issue. ***
Affected file is sd/source/ui/view/PaneManager.cxx. Fixed in revision 1.10.16.1.
Reopening because the issue has been added to a second child work space (impressbeta3).
Back to me, so that I can apply the fix in CWS impressbeta3.
Applied the fix to CWS impressbeta3.
...resolving. Please verify in CWS impressbeta3.
Verified.
Sorry, wrong issue.
'Fixed' again. Sorry for the confusion.
Verified in CWS.
Tested in master. CLosed.
*** Issue 42862 has been marked as a duplicate of this issue. ***
*** Issue 42814 has been marked as a duplicate of this issue. ***