Bug 164279 - [FILESAVE] Calc eats up all disk space when trying to save certain xlsx files
Summary: [FILESAVE] Calc eats up all disk space when trying to save certain xlsx files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Save Performance
  Show dependency treegraph
 
Reported: 2024-12-11 11:43 UTC by Mikhail
Modified: 2025-01-31 13:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (3.52 MB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-12-11 11:44 UTC, Mikhail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail 2024-12-11 11:43:37 UTC
Description:
I could reproduce it only with one particular file. The file itself is not too complex. When I open it in Calc and then try to save a copy or just save the file itself, Calc starts to write files in the /tmp folder and continues to do this until the space on the disc is over. Observed on Debian 11 with 24.8.3.2 and 24.2.6.2. It does not occur on 7.5.7.1.

Steps to Reproduce:
1.Open the document in Calc
2.Press "save a copy", "save" or "save as"
3. Select excel format in the selection dialogue that pops up

Actual Results:
Calc hangs and starts writing files in the /tmp folder

Expected Results:
Saving works fine


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Mikhail 2024-12-11 11:44:26 UTC
Created attachment 198059 [details]
Sample
Comment 2 Charles Williams 2024-12-11 11:56:48 UTC
The example file fails to complete saving on macOS.

Version: 24.8.3.2 (AARCH64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 8; OS: macOS 15.1.1; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

The progress bar gets to about 40% and then and then 'pinwheels' (i.e. stops responding to events.)
Comment 3 Mike Kaganski 2024-12-11 12:53:17 UTC
Regression after 0da88ee88255083ec9557ff25005a745dcdbef14