Bug 152306 - Windows: Crash on Quit LibreOffice after Copy
Summary: Windows: Crash on Quit LibreOffice after Copy
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL: https://crashreport.libreoffice.org/s...
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks: Cut-Copy Crash
  Show dependency treegraph
 
Reported: 2022-11-30 01:51 UTC by mrichmon1
Modified: 2024-02-09 22:06 UTC (History)
5 users (show)

See Also:
Crash report or crash signature: ["SfxObjectShell::IsLoading()"]


Attachments
spreadsheet produces crash on copy (52.06 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-11-30 01:51 UTC, mrichmon1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrichmon1 2022-11-30 01:51:22 UTC
Created attachment 183904 [details]
spreadsheet produces crash on copy

Steps to reproduce:

1. Open attached spreadsheet
2. Select Cell H23
3. Right-click and select Copy
4. Close the spreadsheet by clicking the X at the top right corner of the window

If you close the spreadsheet from the File menu there is no error. This may be a duplicate of 140677, 147511, or 151752.
Comment 1 Stéphane Guillou (stragu) 2022-11-30 11:27:45 UTC
Could you please paste here the info copied from Help > About LibreOffice?
Thank you!
Comment 2 mrichmon1 2022-11-30 12:09:33 UTC
Here is the version information. You make have to run Calc twice to reproduce the bug.

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Rainer Bielefeld Retired 2022-11-30 12:19:49 UTC
More or less REPRODUCIBLE with  Installation of Version:7.4.2.3 (x64) 
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE |  Calc: threaded | ElementaryTheme | My normal User Profile	

0. Open Sample document as the only one document in LibO
1. Open attached spreadsheet
2. Select Cell H23
3. Right-click and select Copy
4. Quit LibO by closing the spreadsheet by clicking the X at the top right 
   corner of the window
   » Restore Document Dialog appears with empty documents list

Additional Info
---------------
a) Strange side effect: Until I will have closed (= Terminated by Task Manager) LibO the clipboard can not be used.
b) WIN for now
Comment 4 Stéphane Guillou (stragu) 2022-11-30 12:54:09 UTC
Thank you both!

Reproduced as described by Rainer with:

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Crash report:

https://crashreport.libreoffice.org/stats/crash_details/77ccb9f6-619c-4c24-86e7-5ecb7d9c7091

also in master:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: bfe33d42a2381bce194cc6fe15b830902f7c8443
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

and in 7.3.0.0.alpha1.

Note that it also happens with other cells (not only the ones with conditional formatting with iconsets).

*Not* reproduced on Linux:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 01a3cc1e55034f7703219d4bbb209de7c37bf07b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 5 Stéphane Guillou (stragu) 2022-11-30 12:56:51 UTC
(although copying a cell that doesn't have an iconset seems to at least not get stuck on the empty recovery dialog...)
Comment 6 Telesto 2023-01-10 19:27:24 UTC
Also 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 7 Telesto 2023-01-10 19:30:44 UTC
And in
Version: 6.0.0.0.alpha0+
Build ID: 9127d1a89cbfba89eb9df6755ea7b9e161cfc67a
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 8 Tex2002ans 2024-02-09 22:06:46 UTC
I followed the steps in comment 0 exactly.

CRASH:

- https://crashreport.libreoffice.org/stats/crash_details/14d40f44-e0aa-4f0c-9905-5720e0d77c9f

Happened in:

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

- - -

I see the crash has a different signature than Comment 4.

Comment 4's crash report:

- SfxObjectShell::IsLoading()

My crash report:

- ScPoolHelper::GetFormTable()