Bug 143036 - Crash pressing undo/redo while table layouting still running (swlo!SwFrame::IsLeaveUpperAllowed+0x6e5b)
Summary: Crash pressing undo/redo while table layouting still running (swlo!SwFrame::I...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks: Undo-Redo Writer-Table-Layouting
  Show dependency treegraph
 
Reported: 2021-06-24 07:36 UTC by Telesto
Modified: 2023-11-19 08:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature: ["libc-2.31.so","libstdc++.so.6.0.28","libstdc++.so.6","SwTableBox::getRowSpan() const"]


Attachments
BT without symbols (25.99 KB, text/plain)
2021-06-24 07:37 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-06-24 07:36:58 UTC
Description:
Crash pressing undo/redo while table layouting still running

Steps to Reproduce:
1. Open attachment 147138 [details]
2. CTRL+A + CTRL+C
3. CTRL+N
4. CTRL+V
5. Scroll-up to top
6. Place cursor at yellow marking & paste again
7. CTRL+Z CTRL+Z
8. CTRL+Y CTRL+Y
9. CTRL+Z CTRL+Z

This bug is replacing bug 122736

Actual Results:
Crash

Expected Results:
No crash if table rendering not finished and undo/redo pressed


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 239b4bb27fd8db26e8416045b3015688a8b1b0ae
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
Comment 1 Telesto 2021-06-24 07:37:22 UTC
Created attachment 173134 [details]
BT without symbols
Comment 2 Dieter 2021-07-11 07:48:05 UTC
(In reply to Telesto from comment #0)
> Steps to Reproduce:
> 1. Open attachment 147138 [details]
> 2. CTRL+A + CTRL+C
> 3. CTRL+N
> 4. CTRL+V
> 5. Scroll-up to top
> 6. Place cursor at yellow marking & paste again
> 7a. CTRL+Z 

Result: Crash when table layout is finished

> 7b. CTRL+Z
> 8. CTRL+Y CTRL+Y
> 9. CTRL+Z CTRL+Z

Result: Crash when table layout is still running

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Stéphane Guillou (stragu) 2023-04-04 09:27:46 UTC
Reproduced on Linux since:

Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group

Could not reproduce in OOo 3.3, so regression.

In 7.3.7.2, I only could reproduce one in about 10 tries.

In 7.5.2.2 and a recent master build, I could not reproduce at all:

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

Depending on versions, crash can happen at step 7 or 8, which might explain the various crash signatures.

Crash reports:

- 6.3.6.2: https://crashreport.libreoffice.org/stats/crash_details/143abace-6ae0-49f0-b658-dc570bddd604
- 7.0.6.2: https://crashreport.libreoffice.org/stats/crash_details/b43e481b-3f88-42fb-a471-ad50a5d3da6e
- 7.2.7.2: https://crashreport.libreoffice.org/stats/crash_details/74ac01df-bf3a-4d24-a9bd-f0713f7c117a
- 7.3.7.2: https://crashreport.libreoffice.org/stats/crash_details/f3894427-4224-4e23-a8e6-d352cd56894f

Telesto and Dieter, I'm marking as WFM but please can you double-check that Windows is fine too in recent versions?
Comment 4 Telesto 2023-04-04 21:08:47 UTC
No repro with
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: nl-NL
Calc: CL threaded