Apache OpenOffice (AOO) Bugzilla – Issue 103720
OOO crashes on selection of a certain slide
Last modified: 2010-04-22 12:55:29 UTC
* open attached ooo file * select 2nd slide * crashes ooo
Created attachment 63691 [details] This file crashes ooo.
Also 3.1 and m52 on Windows (no crash reporter). 2.4.2 does not crash.
Crashes m53, too. Ok in 3.0 final. Reproducible. Reassigned.
When saving the file as a ppt, a totally transparent (transparency = 100%) png turns up. Its transparency is automatically set to 0%. Afterwards the file works again.
The problem is in asynchronous loading of graphic objects. In this case, the sdr::event::EventHandler executes sdr::event::AsynchGraphicLoadingEvent, that delegates the loading to sdr::contact::ViewObjectContactOfGraphic. There the object is loaded and ActionChanged() is called. But that can cause calling createPrimitive2DSequence() and impPrepareGraphicWithAsynchroniousLoading(), where the event is deleted, if the object has been already loaded, like in this case. Later, the event is deleted again by EventHandler, leading to crash.
Created attachment 63721 [details] possible fix
changing component
ka=>aw: could you take a closer look, please?
The ID of the error report is rmw5vkc.
AW: Checked validity of the fix; it's the right fix at the right place. Thanks to dtardon for finding and suggesting.
AW: Adapted the assertion in forgetAsynchGraphicLoadingEvent which now may locally have a 0 == mpAsynchLoadEvent state. Commited changes, done.
AW: Adapted target
AW: sd was not built. With sd built, all is okay. Checked on test build.
AW->WG: Please review as described.
Verified in CWS.
integrated in DEV300_m57