Apache OpenOffice (AOO) Bugzilla – Issue 105520
crash if reloading document
Last modified: 2010-02-08 17:02:41 UTC
If you create a document with Impress then you are crashing if you save and reload it.
This is a life time problem of SfxViewShell and SfxClipboardChangeListener. When the SfxClipboardChangeListener is created it stores a pointer to an SfxViewShell object. When the view shell is destroyed, however, this reference is not reset (well, not always. The reference seems to be reset when the Impress document is simply closed as there is no crash in this case.). Shortly thereafter there is a notification to the SfxClipboardChangeListener which tries to access the now dead SfxViewShell: Crash.
It looks to be a duplicate to issue 105343, that is fixed in fwk122. SfxClipboardChangeListener is not notified regarding deleting of SfxViewShell object. *** This issue has been marked as a duplicate of 105343 ***
This issue is fixed in fwk122, but the issue 105343 is a different problem ( although the scenario is the same ) and it is still reproducible after the fix. Reopening the issue and adding it to fwk122, since exactly this issue is fixed there.
.
The issue is fixed in fwk122 cws. It affects actually all the applications. The problem is that it is not always reproducible, since the freed memory contains sometimes the information and allows office to survive. I could easily reproduce it on Solaris Intel with the following steps: - create a new drawing document - store it in binary SO5 format - reload If the office does not crash, the last step should be repeated ( by me it was never more that 2 iterations ).
*** Issue 105511 has been marked as a duplicate of this issue. ***
mav->sba: Please verify the issue. hi had similar crash with reload of a master document.
Verified in CWS fwk122.
*** Issue 105859 has been marked as a duplicate of this issue. ***
Tisted with 3.2.0 on a Mac OS X 10.5.x works fine Closing issue