Bug 148703 - Writer crash on undo after paste
Summary: Writer crash on undo after paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: high major
Assignee: Not Assigned
Keywords: haveBacktrace
Depends on:
Blocks: Paste Crash-Assert Undo-Redo Crash-BigPtrArray
  Show dependency treegraph
Reported: 2022-04-21 08:06 UTC by Timur
Modified: 2024-02-16 22:14 UTC (History)
5 users (show)

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

bt with debug symbols (7.08 KB, text/plain)
2022-04-21 09:16 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2022-04-21 08:06:41 UTC
Open ODT attachment 179694 [details], select all and copy.
Open ODT attachment 179695 [details], select all and paste.
Undo > Crash 
Repro OO, 4.1, 5.2 and 7.4+ Win and Lin.
Comment 1 Timur 2022-04-21 08:11:59 UTC Comment hidden (obsolete)
Comment 2 Telesto 2022-04-21 09:05:23 UTC
Version: (x64) / LibreOffice Community
Build ID: 4659fc2f0a7223a89446edff0b77e58758b5edf5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL Jumbo
Comment 3 Julien Nabet 2022-04-21 09:16:16 UTC
Created attachment 179705 [details]
bt with debug symbols

I got an assertion on pc Debian x86-64 with master sources updated today.

Considering the number of crashes due to undo, I'm not sure it worths it to keep on testing undoing for the moment.
Comment 4 Telesto 2022-04-21 09:37:49 UTC
Looks like bug 147726 (for the assert part)
Comment 5 Timur 2022-04-21 09:46:55 UTC
Other undo bugs are mostly regressions, this one is InNherited. 
Also, unlike some bugs with "copy 5x, paste 3x.." this one is simple copy+paste.
Comment 6 Timur 2022-04-21 14:37:00 UTC
A mystery for me is why there are 266 crash reports for LO 7.3 Win when I see this crash all the way to OO including Lin.
Comment 7 Stéphane Guillou (stragu) 2023-04-06 13:58:13 UTC
Repro with recent debug build:

Version: (X86_64) / LibreOffice Community
Build ID: 1b463f697405e64a03378fb38a32172c4d3c25e6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Getting the same assert:

warn:legacy.osl:389415:389415:sw/source/core/access/accmap.cxx:1074: invalid event combination
soffice.bin: /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/undo/undel.cxx:915: virtual void SwUndoDelete::UndoImpl(sw::UndoRedoContext&): Assertion `pTextNd' failed.

In (not debug), I get this crash report: https://crashreport.libreoffice.org/stats/crash_details/8ffc1cee-0081-4dc4-a92d-b55fcf3ebc12

With the extra signature "BigPtrArray::Index2Block(int) const".
Comment 8 Tex2002ans 2024-02-16 22:14:06 UTC
Yep, followed comment 0 exactly.


- https://crashreport.libreoffice.org/stats/crash_details/67812785-33aa-434c-b7c5-12dd5941ca3b


Version: (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded