Bug 158483 - LibreOffice Calc crashes when opening file
Summary: LibreOffice Calc crashes when opening file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-12-01 19:04 UTC by Helder Guerreiro
Modified: 2023-12-04 11:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file, will crash libreoffice (25.67 KB, application/vnd.ms-excel)
2023-12-01 19:06 UTC, Helder Guerreiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helder Guerreiro 2023-12-01 19:04:54 UTC
Description:
We have a PMS that exports to excel. It does create files with xls extension but the linux file command identifies the files as "XML 1.0 document, ISO-8859 text". 

If I try to open the file in:

Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-DK (en_DK.UTF-8); UI: en-US
Calc: threaded

It will simply crash.

I will attach an example file to this bug report.

Steps to Reproduce:
Just open the file. 

Actual Results:
LibreOffice will crash.

Expected Results:
It should not crash.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
The version having problems is:

Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-DK (en_DK.UTF-8); UI: en-US
Calc: threaded

Version 7.5.8 opens the file with only minor problems.
Comment 1 Helder Guerreiro 2023-12-01 19:06:27 UTC
Created attachment 191185 [details]
Example file, will crash libreoffice
Comment 2 Xisco Faulí 2023-12-01 20:20:10 UTC
Issue introduced by

author	Kohei Yoshida <kohei@libreoffice.org>	2023-01-17 17:10:07 -0500
committer	Kohei Yoshida <kohei@libreoffice.org>	2023-01-26 02:27:57 +0000
commit 516bc904e94971b61e4b13af632bf321b0a4a640 (patch)
tree fc48af7d2c5e719930c70de6da0ea9bb471bff1f
parent df470d9658c202a990b9c75e2a8d6e3fd7a06dfd (diff)
Upgrade mdds and orcus to 2.1.0 and 0.18.0, respectively

Recently, the issue got fixed by 

author	Kohei Yoshida <kohei@libreoffice.org>	2023-11-09 20:26:47 -0500
committer	Kohei Yoshida <kohei@libreoffice.org>	2023-11-10 15:35:47 +0100
commit e890b0f0a90316b69f49e0e9d3cb2b1b4528084a (patch)
tree 275bac48a1217e2c03f0e7964e708abe7e23e873
parent 2d5894cc9b2374db9b5d2335db2d3566513fe062 (diff)
Upgrade orcus to 0.19.2

I'll backport this to libreoffice-7-6 branch
Comment 3 Xisco Faulí 2023-12-04 09:05:30 UTC
The patches have been backported to libreoffice-7-6 branch and this issue will be fixed in the upcoming LibreOffice 7.6.5
Comment 4 Commit Notification 2023-12-04 11:18:45 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f1f75b1f80e7ba45ccf970985fb9c82e1a6add82

tdf#158483: sc_subsequent_filters_test4: Add unittest

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.