Bug 160595 - FILEOPEN: Calc hangs after trying to open the Lenovo hardware compatibility matrix (xslx)
Summary: FILEOPEN: Calc hangs after trying to open the Lenovo hardware compatibility m...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 08:50 UTC by Martin Wilck
Modified: 2024-04-09 10:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wilck 2024-04-09 08:50:09 UTC
Environment: OpenSUSE Tumbleweed 20240329, GNOME/X11, libreoffice-calc-24.2.2.2-1.2.x86_64

Offending file: 

Lenovo Accessories and Options Compatibility Matrix (OCM)
https://download.lenovo.com/pccbbs/options_iso/ocm_apr_2024.xlsx
(access via http://www.lenovo.com/accessoriesguide)

Steps to reproduce: Download and open the file with calc.

Results: Calc hangs with 100% CPU with "load document" progress bar at ~80%.

Expected results: document is successfully opened.

I don't have MS office, but I was able to open the document with Google docs.
Comment 1 Robert Großkopf 2024-04-09 09:17:07 UTC
Open here in about 10 seconds:

OpenSUSE 15.6 64bit rpm Linux, 
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Install original LibreOffice from LibreOffice, not the packages from OpenSUSE.
Comment 2 Martin Wilck 2024-04-09 10:06:50 UTC
So I didn't wait long enough... indeed the loading finishes after 2:40 min. 
Thanks for pointing that out. I should add that GNOME shell shows pop-ups telling the user "Libreoffice Calc is not responding" after just 15s or so.

I'll also try the upstream package. But the openSUSE TW packages are pretty much identical with the upstream ones. There are only 4 patches that affect Tumbleweed / Factory, and they shouldn't have an effect on calc's file loading, afaict:

Patch2:         nlpsolver-no-broken-help.diff
Patch3:         mediawiki-no-broken-help.diff
Patch6:         gcc11-fix-error.patch
Patch9:         fix_math_desktop_file.patch

See https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice for details.
Comment 3 Martin Wilck 2024-04-09 10:17:26 UTC
The flatpak version of calc opens the file in ~15s.

So it really seems to be an issue with the openSUSE binary and/or the libraries.
Comment 4 Martin Wilck 2024-04-09 10:35:16 UTC
OpenSUSE bug https://bugzilla.suse.com/show_bug.cgi?id=1222533
Comment 5 Martin Wilck 2024-04-09 10:35:42 UTC
Closing for now, as it seems to be a downstream issue. Thanks for your help.