Bug 165300 - Excel crashes opening XLSX converted from some XLS files
Summary: Excel crashes opening XLSX converted from some XLS files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: XLSX-Corrupted
  Show dependency treegraph
 
Reported: 2025-02-17 17:05 UTC by Aron Budea
Modified: 2025-02-18 10:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample XLS #1 (16.00 KB, application/vnd.ms-excel)
2025-02-17 17:05 UTC, Aron Budea
Details
Sample XLS #2 (24.50 KB, application/vnd.ms-excel)
2025-02-17 17:06 UTC, Aron Budea
Details
Sample XLS #3 (37.00 KB, application/vnd.ms-excel)
2025-02-17 17:06 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2025-02-17 17:05:42 UTC
Created attachment 199254 [details]
Sample XLS #1

Open one of the attached XLS files in Calc, save as XLSX, and try opening them in Excel.

=> Excel crashes.

One could say it's a problem in Excel, and it shouldn't crash, which is true, but since it doesn't crash with the file it creates, Calc should not export such a file, either.

Observed using LO 25.8.0.0.alpha0+ (41ab24cecd6ad74312843f113d2faa13259cdb7d) / Windows.

This is a regression from the following commit in 25.8:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e7f05ee2e3c03350e13da607a3e48a822f8baf7e
author		Gülşah Köse <gulsah.kose@collabora.com>	2025-01-17 16:57:59 +0300
committer	Gülşah Köse <gulsah.kose@collabora.com>	2025-02-12 13:38:51 +0100

tdf#164141 Fix command button xls to xlsx convert problem.
Comment 1 Aron Budea 2025-02-17 17:06:02 UTC
Created attachment 199255 [details]
Sample XLS #2
Comment 2 Aron Budea 2025-02-17 17:06:22 UTC
Created attachment 199256 [details]
Sample XLS #3
Comment 3 m_a_riosv 2025-02-17 22:24:56 UTC
Opening xls#1 with Excel and saving it as XLSX:
- Open fine with Calc and Excel.
But after opening with Calc, XLSX saved with Excel, doesn't save the checkboxes.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b4059c4b9ae2230d9c6d722d457dca2216ddd581
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-GB
Calc: CL threaded
Comment 4 Timur 2025-02-18 10:19:15 UTC
I also reproduce with Version: 25.8.0.0.alpha0+ (X86_64) / Build ID: 1218e023fd67b32dc6c6110c1bd2fe6d44ed1e0b from today, opening in Excel 2021.