Apache OpenOffice (AOO) Bugzilla – Issue 21010
Crash during undo
Last modified: 2013-08-07 14:41:36 UTC
Load bugdoc of i20288. Go to the beginning of the section of on the first page. Press backspace, undo -> assertion and crash.
FME->TZ: Target OOo 1.1.1?
NO answer from October. ------- Additional comments from fme Fri Oct 10 03:05:18 -0800 2003 ------- FME->TZ: Target OOo 1.1.1?
.
Created attachment 15219 [details] New bugdoc
FME->DVO: The current old bugdoc caused some other problems. I attached a new one.
dvo: I'm having a hard time fixing this; I can detect the problem situation, but properly handling it is more difficult. I may fix this in two steps then: Prevent crash by disabling the undo in this special case, and then provide a fix to make the undo work properly.
dvo: Fixed. The problem occurs when deleting across adjacent sections, i.e.: [a] [b c] ( square brackets denote section begin/end, lines denote paragraphs ) To reproduce the problem: place cursor before 'b', backspace, undo -> crash. The (rather convoluted) undo code contains special treatment for hierarchical sections (i.e., [[a] b c]) but doesn't work for adjacent ones. A new flag (bSpecialSectNd) now takes care of this situation, this solving the problem and making the undo code just a tad more convoluted.
dvo: reopen for QA.
dvo->mru: Please test. The bug was fixed in some older CWS, but apparently I failed to appriately add the issue to said CWS. Please test on any current release.
Yes, can confirm. No crash anymore (680m66) when undoing deletion in section.