Bug 139626 - BigPtrArray::Index2Block undo crash: sw/source/core/undo/rolbck.cxx:495: SwHistorySetFootnote: no TextNode
Summary: BigPtrArray::Index2Block undo crash: sw/source/core/undo/rolbck.cxx:495: SwH...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-BigPtrArray
  Show dependency treegraph
 
Reported: 2021-01-15 09:10 UTC by Telesto
Modified: 2023-04-06 12:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-01-15 09:10:03 UTC
Description:
BigPtrArray::Index2Block undo crash: sw/source/core/undo/rolbck.cxx:495:  SwHistorySetFootnote: no TextNode

Steps to Reproduce:
1. open attachment 143565 [details] 
2. CTRL+A
3. CTRL+X
4. CTRL+SHIFT+V
5. RTF paste
6. CTRL+Z

Not clue if this a duplicate.. or may different causes ending up in BigPtrArray::Index2Block 

Actual Results:
Hang/freeze

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: f2171af6ce3516598d9f8bac8294025a21a5b1a2
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 Xisco Faulí 2021-01-15 09:16:11 UTC
Reproduced in

Version: 7.2.0.0.alpha0+
Build ID: 554949d5cacaff2d0080b3e4f6124f8c5b045d6e
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Telesto, a minimal reproducer would be much appreciated
Comment 2 Xisco Faulí 2021-01-15 09:29:02 UTC
(In reply to Telesto from comment #0)
> Description:
> BigPtrArray::Index2Block undo crash: sw/source/core/undo/rolbck.cxx:495: 
> SwHistorySetFootnote: no TextNode
> 
> Steps to Reproduce:
> 1. open attachment 143565 [details] 
> 2. CTRL+A
> 3. CTRL+X
> 4. CTRL+SHIFT+V
> 5. RTF paste
> 6. CTRL+Z

In order to reproduce it, you need to use CTRL+Z a few times after step 6
Comment 3 Xisco Faulí 2021-01-15 09:30:25 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 5.7; Render: default;
Comment 4 Xisco Faulí 2021-01-15 09:31:49 UTC
and

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 5 QA Administrators 2023-01-18 03:25:08 UTC Comment hidden (obsolete)
Comment 6 Telesto 2023-01-18 09:09:45 UTC
No crash with
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 102846d45cb9660805e209b6954c7b8d707b8288
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 7 Stéphane Guillou (stragu) 2023-04-06 11:33:16 UTC
Couldn't crash it either with:

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

Nor with:

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

Nor with:

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

Nor with:

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

But 7.2 was freezing, stuck at 100% use of one core.

-> Works for me.
Comment 8 Telesto 2023-04-06 12:54:52 UTC
Confirm, no crash
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c4a58634753a84b09f20f7271d6525a6656522d3
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