[Libreoffice-bugs] [Bug 83260] CRASH: autocorrect with change tracking halts LibreOffice

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 18 07:37:20 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=83260

Fyodor <fyodor_e at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-bugs at lists.free |fyodor_e at hotmail.com
                   |desktop.org                 |

--- Comment #10 from Fyodor <fyodor_e at hotmail.com> ---
I cannot reproduce halt, but can reproduce crush during Undo. Crush happens
during "second" undo. Firstly autocorrection undone, then during undoing
insertion of "includ" crush happens.

This is due to invalid node indexes (I think this is most frequent cause of
crushes in undo/redo, due to their dependency of absolute node indexes...). 
Indexes itself made invalid during previous SwUndoInsert (autocorrection),
because of redline paragraphs (one removed and one containing one removed
letter) moved to special section of SwDoc for deleted redlines. This in its
turn happens due to redline flags are modified during autocorrection execution.
(In SwUndo redline flags set to 0n17 but diring autocorrection they set to
0n49). As a result RedlineGuard calls functions to move nodes outside of
document which invalidates indexes stored in Undo.

I suspect that modification of redline flags done here
https://opengrok.libreoffice.org/xref/core/sw/source/core/doc/DocumentContentOperationsManager.cxx#3900

I'll investigate this bug further.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171218/e3ef6fa9/attachment.html>


More information about the Libreoffice-bugs mailing list