Bug 167539 - Calc freezes during save in xlsx-format
Summary: Calc freezes during save in xlsx-format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2025-07-17 10:18 UTC by stephanfrye
Modified: 2025-09-09 19:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Cleaned ODS-file (19.16 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-07-18 06:38 UTC, stephanfrye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephanfrye 2025-07-17 10:18:16 UTC
Description:
When I save an ODS-document in the Excel 365 XLSX format the process starts but the process bar stops 1/4 way. A tmp-file of size 0 is created in the same folder. Trying to save in the XLS format gives no progress bar but a TMP file of size 1,5K and the process freezes. Copying the whole content into a new ODS-document and saving as XLSX files works fine.

Steps to Reproduce:
1. open the problematic ODS file
2. save as XLSX file
3. saving freezes

Actual Results:
The program freezes and has to be terminated.

Expected Results:
Save an XLSX file.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

I can provide the effected ODS file for testing if is is held confidential as it contains medical results.
Comment 1 m_a_riosv 2025-07-17 23:26:42 UTC
Please attach a sample file, reduce the size as much as possible without private information,
and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 3 stephanfrye 2025-07-18 06:38:07 UTC
Created attachment 201862 [details]
Cleaned ODS-file

Cleaned example file which cases freeze when trying to save as xlsx.
Comment 4 stephanfrye 2025-07-18 06:38:47 UTC
I added the requested file.
Comment 5 m_a_riosv 2025-07-18 14:29:16 UTC
I think it happens because the sheet has a direct format up to XFB1048576, so an issue with this particular file.

Maybe LO can do it better, saving in a foreign format like XLSX.


Similar issues were reported before, but difficult to find it.
Comment 6 BogdanB 2025-09-09 19:20:48 UTC
Working to export as xlsx but slow.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8ffeca7af4302da21d33494342017c3737d540e1
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded