Bug 140605

Summary: Assertion `result != IDocumentRedlineAccess::AppendResult::IGNORED' failed
Product: LibreOffice Reporter: Buovjaga <ilmari.lauhakangas>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: himajin100000, michael.stahl, serval2412, telesto
Priority: medium Keywords: haveBacktrace
Version: 7.2.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=135256
https://bugs.documentfoundation.org/show_bug.cgi?id=135072
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 83946, 105537    
Attachments: bt with debug symbols
Screencast
bt with debug symbols

Description Buovjaga 2021-02-22 17:39:34 UTC
Running a debug build:

1. Open attachment 163724 [details] from bug 135256
2. Delete 1 or 2 table rows of main table or embedded
3. Undo

soffice.bin: /home/user/libreoffice/sw/source/core/undo/undobj.cxx:1399: void SwRedlineSaveData::RedlineToDoc(const SwPaM&): Assertion `result != IDocumentRedlineAccess::AppendResult::IGNORED' failed.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: dec32864a61104001cb6ff63c218ea5fb2a7ab1e
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 February 2021
Comment 1 Julien Nabet 2021-02-27 17:12:10 UTC
Created attachment 170118 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 Telesto 2022-04-06 11:12:52 UTC
*** Bug 148418 has been marked as a duplicate of this bug. ***
Comment 3 Telesto 2022-05-19 10:16:58 UTC
Created attachment 180215 [details]
Screencast

Alternative
1. Open attachment 179717 [details]
2. Follow the steps in the screencast
Comment 4 Gabor Kelemen (allotropia) 2022-08-18 10:38:15 UTC
Still happens in
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 1052ec9cff72e2810fdb934a85ab500d3b4ace35
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded

Debug output is different now:
soffice.bin: /home/gabor/src/core/sal/rtl/strtmpl.hxx:1012: void rtl::str::newFromSubString(IMPL_RTL_STRINGDATA**, const IMPL_RTL_STRINGDATA*, sal_Int32, sal_Int32) [with IMPL_RTL_STRINGDATA = _rtl_uString; sal_Int32 = int]: Assertion `false' failed.
Comment 5 Julien Nabet 2022-08-18 15:34:24 UTC
Created attachment 181867 [details]
bt with debug symbols

Here's an updated bt on pc Debian x86-64 with master sources updated today.
Comment 6 Julien Nabet 2022-08-18 15:36:00 UTC
Michael: thought you might be interested in this one since your recent commits are related to this part.