Issue 38293 - Impress crashes when applying 5 layouts
Summary: Impress crashes when applying 5 layouts
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 680m64
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 38740 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-12-02 09:04 UTC by wolframgarten
Modified: 2005-01-14 13:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description wolframgarten 2004-12-02 09:04:24 UTC
Open a new impress and apply 5 layouts after another. Always hit yes when the
dialog box comes up. At the fifth the office crashes.
Comment 1 groucho266 2004-12-02 10:44:47 UTC
At the first glance the stack of this crash looks similar to the one of issue 38297.
Comment 2 groucho266 2004-12-02 16:03:41 UTC
There is an unguarded access to the SdrOle2Obj::xObjRef member in
SdrOle2Obj::operator=() .  Adding a test for the existence of the referenced
object fixes the crash.

Have to wait for a CWS to be created in order to check in the fix.
Comment 3 groucho266 2004-12-06 16:46:52 UTC
In svx method SdrOle2Obj::operator=() the code that copies the persist object
was not guarded against an empty xObjRef.  Not only the copying is unnecessary
in such a case.  Referencing the empty xObjRef is not healthy either.
Comment 4 groucho266 2004-12-08 10:02:40 UTC
Reopening...
Comment 5 groucho266 2004-12-08 10:03:54 UTC
...reassigning...
Comment 6 groucho266 2004-12-08 10:04:49 UTC
...resolving.
Comment 7 wolframgarten 2004-12-08 10:32:26 UTC
Verified in CWS.
Comment 8 wolframgarten 2004-12-10 09:12:31 UTC
Tested in master m65. CLosed.
Comment 9 jogi 2005-01-14 13:21:33 UTC
*** Issue 38740 has been marked as a duplicate of this issue. ***