Steps to reproduce: 1. Open attachment 57526 [details] from bug 46441 2. Select all 3. Copy 4. Paste 5. Undo Reproduced in Version: 6.3.0.0.alpha0+ Build ID: 3b518953a8141b0d5043c2f3996a92956fdc3a47 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=d258fc29560baa5ecae03ebc2740e11420643e27 author Michael Stahl <Michael.Stahl@cib.de> 2018-09-03 18:07:29 +0200 committer Michael Stahl <Michael.Stahl@cib.de> 2018-09-19 10:18:29 +0200 commit d258fc29560baa5ecae03ebc2740e11420643e27 (patch) tree b934fcbe96f5f433e05f365edc438499de63d671 parent f32075fd7404dba62ae844cff84fdb43a91ac600 (diff) sw_redlinehide_2: update frames on redline ops Bisected with: bibisect-linux64-6.2 Adding Cc: to Michael Stahl
reproducoble with: Version: 6.2.3.1 (x64) Build-ID: 9ba025bafb03b962c34687cf87806cc03a3a7436 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc:
doesn't look like a regression from sw_redlinehide; 6.1 and 6.0 have the same assert as master: soffice.bin: libreoffice-6-1/sw/source/core/txtnode/thints.cxx:1265: bool SwTextNode::InsertHint(SwTextAttr*, SetAttrMode): Assertion `pAttr && pAttr->GetStart() <= Len()' failed. the problem is that this frame (anchored at-char in the last node of the document) is duplicated on Undo: [ 162] 0x8008160 StartNode , [ 163] 0x8013e20 TextNode "Ek wil net graag hiermee baie dankie se aan die CPF - Gerna, Robert en Eksteen. Ek waardeer jul onbaatsugtige hulp. Julle entoesiasme en ondersteuning sal my bybly. Dit is nogal gerusstellend om te weet sulke mense is net 'n telefoon- of radio-oproep ver! Ek kan julle verseker dat my man julle ook ewig dankbaar is! Dit mag volgende keer dalk nie 'n onskadelike slang wees nie!", [ 164] 0x8015f70 TextNode "", [ 165] 0x80161a0 TextNode "Mercia Engelbrecht", [ 166] 0x80109e0 EndNode , subsequently the node indexes are offset and crash is inevitable; the assert is because the hint from Undo is inserted on the wrong node. this reminds me of bug 107975 and 2903d85d6197829633d7f96c95cd55821c2c20ff
Hi Michael, Yes, it seems related. However, in a production version, it doesn't crash before d258fc29560baa5ecae03ebc2740e11420643e27 e.g. Versió: 6.1.4.2 ID de la construcció: 1:6.1.4-0ubuntu0.16.04.1~lo2 Fils de CPU: 4; SO: Linux 4.15; Renderitzador de la IU: per defecte; VCL: gtk3; Configuració local: ca-ES (ca_ES.UTF-8); Calc: group threaded while it crashes after it... Maybe it just revealed another way to reproduce bug 117215
*** Bug 124739 has been marked as a duplicate of this bug. ***
fixed on master *** This bug has been marked as a duplicate of bug 117185 ***
Verified in Version: 6.4.0.0.alpha0+ Build ID: 0d36b32755ac662299e6a8165e9fa57311b74a2f CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Michael Stahl, thanks for fixing this issue!