Issue 100035 - Crash closing document after using styles "overline" and "strikethrough" in text object
Summary: Crash closing document after using styles "overline" and "strikethrough" in t...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO310m4
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: helge.delfs
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-03-09 09:08 UTC by helge.delfs
Modified: 2013-08-07 14:43 UTC (History)
2 users (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 helge.delfs 2009-03-09 09:08:16 UTC
- New document
- Insert a text box
- click "Bold" on toolbar and write down "a" in text box
- open contextmenu and select Style->Italic
- write down "a" in text box
- open again contextmenu, choose Style->Overline
- write down "a" in text box
- open again contextmenu, choose Style->Underline
- write down "b" in text box
- open again contextmenu, choose Style->Strikethrough
- write down "b" in text box
- open again contextmenu, choose Style->Shadow
- write down "b" in text box
- open again contextmenu, choose Style->Outline
- write down "a" in text box
- open again contextmenu, choose Style->Superscript
- write down "a" in text box
- open again contextmenu, choose Style->Subscript
- write down "a" in text box
- close document (use closebutton)
- office crashes

This was found by autotext w_updt.bas
Comment 1 helge.delfs 2009-03-09 13:12:41 UTC
keyword 'regression' added
Comment 2 helge.delfs 2009-03-09 14:36:28 UTC
Reassigned to od
Comment 3 helge.delfs 2009-03-09 15:00:35 UTC
HDE->OD: Easier to reproduce:
- insert text of your choice into text box
- select text and append all styles to this text
- close document
- crash

Reproducable on Windows Vista and Solaris-Sparc
Comment 4 michael.ruess 2009-03-09 15:23:49 UTC
I was now also able to reproduce and reduce the problem... it seems, that WinXP
is not affected as only platform. I got the crash on Vista and Linux, HDE also
on Sparc.
You just need to open new Writer doc, insert a text object, add "This is a
text", select the text, add text styles "Overline" and Strikethrough" via
context, close document -> crash
Comment 5 Oliver-Rainer Wittmann 2009-03-10 10:06:24 UTC
fix in progress in cws sw31bf07
Comment 6 Oliver-Rainer Wittmann 2009-03-10 10:29:34 UTC
fixed in cws sw31bf07 - changed file:
/sw/source/ui/uiview/view.cxx, rev. 269250

defect cause:
In destructor of <SwView> instance member <mpPostItMgr> has been deleted, but
not set to 0. Unfortunately, in the further process of the <SwView> destructor
member <mpPostItMgr> has been accessed.
Comment 7 Oliver-Rainer Wittmann 2009-03-10 13:03:04 UTC
OD->HDE: Checked in internal installation set of cws sw31bf07 - please verify.
Comment 8 michael.ruess 2009-03-11 13:58:25 UTC
Verified in CWS sw31bf07.
Comment 9 helge.delfs 2009-03-19 09:55:00 UTC
Verified in MWS