Issue 108813 - Crash on two times Undo inserting comment with text
Summary: Crash on two times Undo inserting comment with text
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO320m10
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Oliver-Rainer Wittmann
QA Contact: issues@sw
URL:
Keywords: crash, regression
Depends on:
Blocks: 99999
  Show dependency tree
 
Reported: 2010-02-01 10:41 UTC by lutz.hoeger
Modified: 2013-08-07 14:44 UTC (History)
6 users (show)

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


Attachments
patch to fix the crash (3.21 KB, patch)
2010-02-01 14:05 UTC, Oliver-Rainer Wittmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description lutz.hoeger 2010-02-01 10:41:59 UTC
- Start a new text document
- Insert comment
- type one character into comment
- undo 2x -> crash
Comment 1 lutz.hoeger 2010-02-01 10:43:25 UTC
set version to OOO320m10
Comment 2 lutz.hoeger 2010-02-01 10:48:45 UTC
Adding one detail: any open and unsaved document cannot be restored, i.e. will
be restored empty only.
Comment 3 michael.ruess 2010-02-01 12:43:00 UTC
MRU->OD: please take over at first. You just need to insert a comment and enter
a character, then two times Undo -> crash.
Comment 4 jbf.faure 2010-02-01 13:08:36 UTC
Same crash with Dev300m70 under Ubuntu 8.04.

Regards. JBF
Comment 5 Oliver-Rainer Wittmann 2010-02-01 13:16:31 UTC
Investigation on Windows reveals that the crash occurs since DEV300m57 - prior
versions work fine.
Comment 6 Oliver-Rainer Wittmann 2010-02-01 13:50:36 UTC
fix in progress
Comment 7 Oliver-Rainer Wittmann 2010-02-01 14:05:37 UTC
Created attachment 67503 [details]
patch to fix the crash
Comment 8 Oliver-Rainer Wittmann 2010-02-01 14:08:55 UTC
defect cause:
During undo of insert of the comment and undo action for the change of the
comment text is created. This causes the Writer to crash, because no actions are
allowed to be created during performing an undo.

solution:
see attached patch.
Comment 9 wope 2010-02-03 21:58:27 UTC
closed
Comment 10 wope 2010-02-03 22:00:11 UTC
ok in OOO320m12