Apache OpenOffice (AOO) Bugzilla – Issue 38630
Crash when saving and reloading doc
Last modified: 2005-01-05 10:12:32 UTC
Open a new impress, insert a rectangle. Save the doc, make a reload: Crash. This is a beta showstopper.
Accepted.
There where calls to ViewShellBase::UpdateController() from both ViewShell::Init() and DrawViewShell::Init(). Both are not necessary and indeed lead to the crash. The UpdateController() method is not neccessary here because the setting of the controller at the frame that is done there is done implicitly when a new ViewShell object is created.
Fixed as indicated above by removing calls to ViewShellBase::UpdateController() from ViewShell::Init() and DrawViewShell::Init(). Affected files are sd/source/ui/view/viewshel.cxx and sd/source/ui/view/drvwiewsa.cxx
Reopening...
...reassigning...
...resolving.
Reopened. Reload still crashes.
Back to Af. Please have a second look.
Strange. Sometimes it works, sometimes it does not.
Ah, integrating the changes made for issue 38341 seems to improve the situation. No crash yet.
changing component to presentation...
Made a change to CustomAnimationPane.cxx to use the right controller after view shells have changed.
With the fixes of issue 38341 I can not reproduce the crash on Solaris, either.
...reopening.
Verified in CWS.
Tested in m68. Closed.