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

Fyodor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #10 from Fyodor <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to