Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | OOO crashes on selection of a certain slide | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | oliverburghard <oliverburghard> | ||||||
Component: | code | Assignee: | wolframgarten | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@graphics <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P2 | CC: | Armin.Le.Grand, dtardon, issues, kpalagin | ||||||
Version: | DEV300m52 | Keywords: | crash, regression | ||||||
Target Milestone: | OOo 3.2 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
oliverburghard
2009-07-22 15:21:10 UTC
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 |