Apache OpenOffice (AOO) Bugzilla – Issue 123480
CRASH when delete contents in particular document with active 'Record Changes'
Last modified: 2017-05-20 10:35:19 UTC
Created attachment 81766 [details] File to reproduce the problem and the image showing the selected text before I type delete to crash the Writer application. In attachment there are two files. One is a image showing I selecting all text before deleting, the OpenOffice crash after deleting it. Also there are the file to reproduce de problem. VERY IMPORTANT: The feature "record changes" must be enabled to crash be reproduced.
Reproducible with "AOO 4.0.1 – German UI / German locale [Rev. 1524958 2013-09-20 11:40:29]" on German WIN7 Home Premium (64bit)", “historic” 4.0 User Profile used for all predecessor versions: 1. From AOO Start Center open reporter's sample document "problem.odt" > Caret flashes at top left end of first sheet 2. <control+a> to select all 3. [Del] key on keyboard CRASH Additional info: (a) no crash with 3.4.0, so REGRESSION (b) Crash is related to active 'Edit -> Changes -> Record'. No crash if this function has been unchecked (c) Already Reproducible with server installation of "AOO 4.0.0-Dev – English UI / German locale [AOO400m1(Build:9700) - Rev. 1479897 (2013-05-09)]" on German WIN7 Home Premium (64bit)", own separate user profile (d) Was still ok with server installation of " AOO 4.0.0-Dev – English UI / German locale [AOO400m1(Build:9700) - Rev. 1457992 – Rev.1457606 ((2013-03-19))]" on German WIN7 Home Premium (64bit)", own separate user profile (e) Crash is related to changes history. I will attach a test kit with a simplified "problem2.odt", what still will crash, and a "problem20.odt", identical to "problem2.odt", but all changes accepted. "problem20.odt" no longer will crash (f) currently only reproduced with 1 particular document, so "blocker" -> "major" @pichler Can you reproduce the problem with other documents and can you contribute a step by step instruction how to create a very simple document that reproduces the crash?
Created attachment 81767 [details] Test kit see comment above how to use
@ranier I can't reproduce it, once I get a already done file. It's a large document, a web service specification for private customers so I can't share it. I removed all private information and let just the part of it that crashes the Writer.
(In reply to Rainer Bielefeld from comment #2) > Created attachment 81767 [details] > Test kit > > see comment above how to use (In reply to Rainer Bielefeld from comment #1) > Reproducible with "AOO 4.0.1 – German UI / German locale [Rev. 1524958 > 2013-09-20 11:40:29]" on German WIN7 Home Premium (64bit)", “historic” 4.0 > User Profile used for all predecessor versions: > > 1. From AOO Start Center open reporter's sample document "problem.odt" > > Caret flashes at top left end of first sheet > 2. <control+a> to select all > 3. [Del] key on keyboard > CRASH > > Additional info: > (a) no crash with 3.4.0, so REGRESSION > > (b) Crash is related to active 'Edit -> Changes -> Record'. No crash if this > function has been unchecked > > (c) Already Reproducible with server installation of "AOO 4.0.0-Dev – > English UI / German locale [AOO400m1(Build:9700) - Rev. 1479897 > (2013-05-09)]" on German WIN7 Home Premium (64bit)", own separate user > profile > > (d) Was still ok with server installation of " AOO 4.0.0-Dev – English UI > / German locale [AOO400m1(Build:9700) - Rev. 1457992 – Rev.1457606 > ((2013-03-19))]" on German WIN7 Home Premium (64bit)", own separate user > profile > > (e) Crash is related to changes history. I will attach a test kit with a > simplified "problem2.odt", what still will crash, and a "problem20.odt", > identical to "problem2.odt", but all changes accepted. "problem20.odt" no > longer will crash > > (f) currently only reproduced with 1 particular document, so "blocker" -> > "major" > > @pichler > Can you reproduce the problem with other documents and can you contribute a > step by step instruction how to create a very simple document that > reproduces the crash? I think this is blocker. I can't move on editing my large file where contains this part that crashes. I can't wait so I'm creating a new file and copy pasting everything and formatting again, so I can continue with my private software specification.
(In reply to pichler from comment #4) > I think this is blocker. Hi pichler, a problem of a single user with a single document definitively is not a blocker, please see it from project's point of view. Nevertheless, AOO never should crash.
(In reply to Rainer Bielefeld from comment #5) > (In reply to pichler from comment #4) > > I think this is blocker. > > Hi pichler, a problem of a single user with a single document definitively > is not a blocker, please see it from project's point of view. > > Nevertheless, AOO never should crash. Understood.
I tried it on MacOS with the released AOO 4.0.1 and all 3 sample documents. Moved in the upper left corner -> selct all -> press delete -> no crash Repeat and set the curser in the header -> no crash Means I can't reproduce on MacOS
taking over to work on a solution
"orw" committed SVN revision 1559037 into trunk: 123480: method <::sw::mark::deleteMarks(..)> - assure sorting of subset mark ...
fixed on trunk for the next release
Created attachment 82707 [details] Aoo freeze when click ctrl+z Dev Snapshot Apache OpenOffice 4.1.0 - full installation sets
test on AOO410m1(build:9750) - rev:1566593
My observation is the following on recent developer snapshot (rev. 1566593): - Undo does not work, but no freeze. - A further Redo followed by an Undo causes a freeze --> reopening issue to correct the Undo. --> requesting show-stopper status as a fix is needed
grant showstopper flag
working on a solution for the defects of the Undo/Redo.
"orw" committed SVN revision 1572577 into trunk: 123480: assure correct Undo/Redo with not shown tracked changes
"orw" committed SVN revision 1572589 into branches/AOO410: 123480: assure correct Undo/Redo with not shown tracked changes
The defect found during fix verification (comment #11 and comment #13) is a related issue which had been introduced in OOo 3.4 Beta: - Undo/Redo of a certain text deletion does not work when changes had been recorded/tracked and these changes are not shown. Fixed for next release on trunk and on release branch AOO410
certain made refactorings are wrong --> reopened to correct the code
"orw" committed SVN revision 1574101 into trunk: 123480: correct the previous made refactoring (revision 1572577)
"orw" committed SVN revision 1574109 into branches/AOO410: 123480: correct the previous made refactoring (revision 1572589)
Fixed refactoring mistake for next release on trunk and on release branch AOO410
verified with AOO 4.1 RC on MacOS and Windows AOO410m15(Build:9761) - Rev. 1583666 2014-04-01 13:46:49 (Tue, 01 Apr 2014)