https://bugs.documentfoundation.org/show_bug.cgi?id=161881

            Bug ID: 161881
           Summary: EDITING: cell copy and cell range copy operations lead
                    to crash on macOS
           Product: LibreOffice
           Version: 24.2.4.2 release
          Hardware: x86-64 (AMD64)
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hello Calc Team

When copying or cutting cells sometimes LibreOffice Calc crashes on macOS 14.5.
I see this happening in the last few weeks, I am now on version 24.2.4.2, but
don't know when the last update happened, so maybe some previous minor versions
could be affected.

Yesterday I finally systematically tried to eliminate variables: 
- The crash is unrelated to the actual spreadsheet content, it happens even on
an empty spreadsheet that hasn't been saved to disk yet in a fresh process. 
- The copied cells can be empty too. 
- There is no pasting required, the copying alone triggers the issue. 
- Cutting and copying behave the same w.r.t. to this crash
- Moving cells with drag crashes in the same way, I assume this is a "cut"
under the hood.

The most minimal reproduction steps I could identify:

- Start LibreOffice
- Click File->New->Spreadsheet
- Select A1, copy the cell
- Select B1:C1, copy the cell range
- Select D1, copy the cell

--> Immediately the software crashes. No crash reporter opens, but the Document
Recovery dialogue appears and says that LibreOffic crashed. It tells me that
Untitled 1 will be recovered.

- The crash happens if I use command+C to copy, but also if I right click and
click copy. 
- The crash happens with mouse or with keyboard selection of the cells.
- Copying many single cells into the buffer does not trigger the crash. 
- Copying many cell ranges into the buffer does not trigger the crash.
- Only the order of single cell copy (one or multiple), then cell range copy
(one or multiple), then single cell copy triggers it.

I hope someone with an established community reputation has a macOS device and
can reproduce. 

Finally here is my detailed version info:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 16; OS: macOS 14.5; UI render: Skia/Raster; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

PS: I have first contributed with my reproduction steps to the thread at
https://ask.libreoffice.org/t/crashes-in-24-2-4/106728/22. I believe that at
least one or two people in that discussion observe the same issue I describe.

Best regards,
Joel Busch
Network Engineer at AS559

Steps to Reproduce:
1. Start LibreOffice
2. Click File->New->Spreadsheet
3. Select A1, copy the cell
4. Select B1:C1, copy the cell range
5. Select D1, copy the cell

Actual Results:
Immediately the software crashes. No crash reporter opens, but the Document
Recovery dialogue appears and says that LibreOffic crashed. It tells me that
Untitled 1 will be recovered.

Expected Results:
The copy buffer should contain the empty cell D1 and Calc should continue to
run.


Reproducible: Always


User Profile Reset: No

Additional Info:
- The crash is unrelated to the actual spreadsheet content, it happens even on
an empty spreadsheet that hasn't been saved to disk yet in a fresh process. 
- The copied cells can be empty too and it will still crash. 
- There is no pasting required, the copying alone triggers the issue. 
- Cutting and copying behave the same w.r.t. to this crash
- Moving cells with drag crashes in the same way, I assume this is a "cut"
under the hood. 

- The crash happens if I use command+C to copy, but also if I right click and
click copy. 
- The crash happens with mouse or with keyboard selection of the cells. 
- Copying many single cells into the buffer does not trigger the crash. 
- Copying many cell ranges into the buffer does not trigger the crash. 
- Only the order of single cell copy (one or multiple), then cell range copy
(one or multiple), then single cell copy triggers it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to