Issue 58376 - Seg fault when ending impress with closer
Summary: Seg fault when ending impress with closer
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 680m142
Hardware: All Solaris
: P2 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 08:37 UTC by wolframgarten
Modified: 2013-08-07 15:20 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 2005-11-24 08:37:45 UTC
Under solaris open a new impress, switch to master pages in the task pane. Close
the office with the closer: office ends with a segmentation fault.
Comment 1 clippka 2005-11-24 11:17:43 UTC
Andre, haven't we fixed that already?
Comment 2 groucho266 2005-11-25 10:31:11 UTC
This looks like the known problem with static Bitmaps that are not destroyed.  I
do not yet know which Bitmaps are involved.
Comment 3 groucho266 2005-11-30 11:01:57 UTC
The static Bitmap can be found
inMasterPageContainer::Implementation::GetPreviewForToken().  Here,
sSubstPreview holds the preview substitution which says "Preparing preview". 
Have to move that preview to the actual preview container.
Comment 4 groucho266 2005-12-01 08:57:42 UTC
There is another static bitmap for the cases where a preview can not be created
at all.

Fixed by converting two static bitmaps into members of the MasterPageContainer
singleton.  When the sd module is deactivated the singleton is properly deleted
and so are the two bitmaps.

Modified file is
/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx    rec. 1.13.80.1
Comment 5 groucho266 2005-12-06 09:35:13 UTC
Back to QA for verification.

re-open issue and reassign to wg@openoffice.org
Comment 6 groucho266 2005-12-06 09:35:24 UTC
reassign to wg@openoffice.org
Comment 7 groucho266 2005-12-06 09:35:27 UTC
reset resolution to FIXED
Comment 8 wolframgarten 2005-12-14 09:18:32 UTC
Verified in CWS.
Comment 9 wolframgarten 2006-01-11 13:39:57 UTC
Tested in master m149. Closed.