Bug 147197

Summary: CRASH: after paste and undo
Product: LibreOffice Reporter: Xisco Faulí <xiscofauli>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aron.budea, kelemeng, michael.stahl, raal, serval2412, xiscofauli
Priority: medium Keywords: bibisected, bisected, haveBacktrace, regression
Version: 5.0.0.5 release   
Hardware: All   
OS: All   
See Also: https://crashreport.libreoffice.org/stats/signature/BigPtrArray::Index2Block(long)
Whiteboard:
Crash report or crash signature: ["BigPtrArray::Index2Block(long)"] Regression By: Michael Stahl
Bug Depends on:    
Bug Blocks: 102593, 105948, 133092    
Attachments: sample file
bt with debug symbols

Description Xisco Faulí 2022-02-04 14:46:02 UTC
Created attachment 178067 [details]
sample file

Steps to reproduce:
1. Open attached document
2. Select all three times
3. Copy
4. Paste
5. Undo

-> Crash

Reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: d5f015185240a7bddfed7ddf10d6b5426e35fb72
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2022-02-04 14:46:27 UTC
Also reproduced in

Version: 7.0.0.0.alpha1+
Build ID: 574c57090642347980d2395e1e183cc7b5c171ad
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2022-02-04 19:52:39 UTC
Confirm with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 0b397d8ef0a2615e8e6202804ca2f6cb58436fa5
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 3 Julien Nabet 2022-02-05 08:25:16 UTC
Created attachment 178077 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I got an assertion.
Comment 4 Xisco Faulí 2022-02-07 18:28:44 UTC
Also reproduced in

Version: 5.2.0.3
Build ID: 7dbd85f5a18cfeaf6801c594fc43a5edadc2df0c
CPU Threads: 8; OS Version: Linux 5.10; UI Render: default; 
Locale: en-US (es_ES.UTF-8)
Comment 5 Xisco Faulí 2022-02-07 18:31:06 UTC
Not reproduced in

Version: 4.3.0.3
Build ID: 08ebe52789a201dd7d38ef653ef7a48925e7f9f7
Comment 6 Aron Budea 2022-02-12 04:16:45 UTC
Bibisected to the following commit using repo bibisect-50max. Adding CC: to Michael Stahl.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=b24a15a0aaea310806259eaa20a7d509ce30e5c8
author		Michael Stahl <mstahl@redhat.com>	2015-04-02 23:33:41 +0200
committer	Michael Stahl <mstahl@redhat.com>	2015-04-02 23:53:30 +0200

sw: fix crash on SwUndoDelete after select-all with table at start
Comment 7 Aron Budea 2022-06-14 02:40:45 UTC
This is the exact same backtrace as bug 147726's, let's mark as duplicate.

*** This bug has been marked as a duplicate of bug 147726 ***