Bug 165357 - Crash in: SdrUndoGroup::Undo()
Summary: Crash in: SdrUndoGroup::Undo()
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 13:51 UTC by Colin
Modified: 2025-02-21 09:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["SdrUndoGroup::Undo()"]


Attachments
Simple Example ods (2.00 MB, application/vnd.oasis.opendocument.spreadsheet)
2025-02-20 14:47 UTC, Colin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin 2025-02-20 13:51:41 UTC
This bug was filed from the crash reporting server and is br-36cb8175-40dd-4471-ac94-c6470aa6085e.
=========================================
Further experiments related to BUG165255

I tried to delete a sheet in the full workbook - NOT the cut-down version submitted for BUG165255 - that may have been related to the above report. First the delete threw the error but no error report was generated so I recovered and did it again. The delete was successful but then the undo delete precipitated the crash
Comment 1 Colin 2025-02-20 13:52:24 UTC
Version: 7.5.9.2 (x86) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 12; OS: Windows 10.0 Build 26100; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 2 Xisco Faulí 2025-02-20 14:32:32 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 3 Colin 2025-02-20 14:47:57 UTC
Created attachment 199343 [details]
Simple Example ods

The crash left it locked but no indication of where the lock was.
Yes, I do have hidden items displayed.
I had to use an unlocker to find the lock even after having opened and closed it in the normal way after I discovered I couldn't move it to a more convenient location for the upload

Quite simple
1. Load the file
2. Try to access tab SBee
If it doesn't crash
3. Delete Tab SBee
If it doesn't crash
4. Undelete Tab SBee
If at first it doesn't crash try again - sometimes it won't crash until processing then it's a different error (Reported)
Comment 4 m_a_riosv 2025-02-20 23:14:40 UTC
Reproducible with
Version: 24.8.5.2 (X86_64) / LibreOffice Community
Build ID: fddf2685c70b461e7832239a0162a77216259f22
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

But worse, 25.2.1 and 25.8.0 are not able to open the file, no crash, not freeze, but seems like entering in a no end loop.
Comment 5 Colin 2025-02-21 04:43:28 UTC
(In reply to m_a_riosv from comment #4)
> Reproducible with
> Version: 24.8.5.2 (X86_64) / LibreOffice Community
> Build ID: fddf2685c70b461e7832239a0162a77216259f22
> CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
> Skia/Raster; VCL: win
> Locale: es-ES (es_ES); UI: en-US
> Calc: CL threaded
> 
> But worse, 25.2.1 and 25.8.0 are not able to open the file, no crash, not
> freeze, but seems like entering in a no end loop.

But more intriguingly, I copied it back to my old WIN 10 machine and it's faultless.
Comment 6 Xisco Faulí 2025-02-21 08:54:26 UTC
(In reply to Colin from comment #3)
> Created attachment 199343 [details]
> Simple Example ods
> 
> The crash left it locked but no indication of where the lock was.
> Yes, I do have hidden items displayed.
> I had to use an unlocker to find the lock even after having opened and
> closed it in the normal way after I discovered I couldn't move it to a more
> convenient location for the upload
> 
> Quite simple
> 1. Load the file
> 2. Try to access tab SBee
> If it doesn't crash
> 3. Delete Tab SBee
> If it doesn't crash
> 4. Undelete Tab SBee
> If at first it doesn't crash try again - sometimes it won't crash until
> processing then it's a different error (Reported)

I can't reproduce it in

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7da1497aa462e2b719aa9b308a749caf7b9a19b1
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 7 Xisco Faulí 2025-02-21 08:59:21 UTC
On GTK3, there is a performance issue, which is the same Noel described in https://bugs.documentfoundation.org/show_bug.cgi?id=164791#c6
Comment 8 Colin 2025-02-21 09:04:12 UTC
(In reply to Xisco Faulí from comment #6)
> (In reply to Colin from comment #3)

> 
> I can't reproduce it in
> 
> Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 7da1497aa462e2b719aa9b308a749caf7b9a19b1
> CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11
> Locale: es-ES (es_ES.UTF-8); UI: en-US
> Calc: threaded

Curiouser & Curiouser  Miguel-Angel can't open it in two 25.x versions - see comment 4. I notice his versions are not Alphas

is there anything I can do to facilitate further testing?