Bug 159385 - Crash at undo of RTF Paste
Summary: Crash at undo of RTF Paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2024-01-26 14:30 UTC by Telesto
Modified: 2024-02-29 15:22 UTC (History)
6 users (show)

See Also:
Crash report or crash signature: ["BigPtrArray::Index2Block(long)"]


Attachments
dump file (874.83 KB, application/vnd.tcpdump.pcap)
2024-01-27 11:27 UTC, BogdanB
Details
GDB trace of crash (6.18 KB, text/plain)
2024-02-15 13:22 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2024-01-26 14:30:27 UTC
Description:
Crash at undo of RTF Paste

Steps to Reproduce:
1. Attachment 179694 [details] 
2. CTRL+A
3. CTRL+C
4. CTRL+SHIFT+V
5. Paste as RTF
6. CTRL+Z 2x -> Crash

Bug 148703 is also about similar BigPtrArray crash. This case didn't crash before. The cause for the crash might be described in: bug 99014

Actual Results:
Crash

Expected Results:
No crash


Reproducible: Always


User Profile Reset: No

Additional Info:
Found in
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 566bb271b8fe5882f24fef230e06c2af4ea12b33
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

but not in
Version: 7.0.7.0.0+ (x64)
Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Rainer Bielefeld Retired 2024-01-27 10:50:50 UTC
NOT reproducible with Server Installation of Version: 24.2.0.0.alpha0+ (X86_64)
Build ID: 7fff4e2ca6739928f72e5f0d2eb5820823916769
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: de-DE; Theme: Colibre
Calc: threaded – normal Test Profile created from 7.6
Comment 2 BogdanB 2024-01-27 11:13:19 UTC
Just after step 2 I am getting a crash in
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c479944eb4f9f5a22c7b248185f22c86ea85d12a
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 BogdanB 2024-01-27 11:27:27 UTC
Created attachment 192189 [details]
dump file

warn:desktop:137994:137994:desktop/source/app/crashreport.cxx:61: minidump generated: /home/bogdan/.config/libreofficedev/4/crash//8bd1a26a-70c4-46b4-0c39a896-f70027f1.dmp


This is generated with debug version.
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 raal 2024-01-28 08:40:36 UTC
(In reply to BogdanB from comment #2)
> Just after step 2 I am getting a crash in
> Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: c479944eb4f9f5a22c7b248185f22c86ea85d12a
> CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
> Locale: ro-RO (ro_RO.UTF-8); UI: en-US
> Calc: threaded

Submitted bug 159408
Comment 5 Buovjaga 2024-02-15 13:18:40 UTC
Bibisected with linux-64-24.2 to 4b0fa253a4540f5461397815d290586f9ddabe61
tdf#136472 adjust ooxml import to handle first header/footer
Comment 6 Buovjaga 2024-02-15 13:22:10 UTC
Created attachment 192583 [details]
GDB trace of crash

Arch Linux 64-bit, X11
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fb35c64d5b7bb3c6763d09af613d9c79c657f7a9
CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 14 February 2024