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

            Bug ID: 123313
           Summary: Undoing ToC insertion in middle of word causes
                    assertion failure
           Product: LibreOffice
           Version: 6.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: haveBacktrace
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ba...@caesar.elte.hu
            Blocks: 89606, 105537, 105948

Created attachment 149072
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149072&action=edit
Backtrace

The following can only be reproduced with a debug build.

- Add a word to an empty document.
- Change its style to Heading 2.
- Position cursor somewhere in the middle of the word, and add Table of
Contents (no need to change anything in the dialog).
- Undo the ToC insertion.

=> LibreOffice crashes with an assertion failure:

soffice.bin:
/build/sources/libreoffice/sw/source/core/crsr/crossrefbookmark.cxx:58: virtual
void sw::mark::CrossRefBookmark::SetMarkPos(const SwPosition&): Assertion
`rNewPos.nContent.GetIndex() == 0 &&
"<sw::mark::CrossRefBookmark::SetMarkPos(..)>" " - new bookmark position for
cross-reference bookmark doesn't mark start of text node"' failed.

Observed using LO 6.3.0.0.alpha0+ (17e5028044edef2b959b73ce1dbe2c9627d1a799) /
Ubuntu 18.04.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=89606
[Bug 89606] [META] Table of Contents and Indexes bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
https://bugs.documentfoundation.org/show_bug.cgi?id=105948
[Bug 105948] [META] Undo/Redo bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to