Bug 163367 - FILEOPEN DOCX Cannot open file with nested floating tables, writer goes to 100% CPU and loops forever
Summary: FILEOPEN DOCX Cannot open file with nested floating tables, writer goes to 10...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, implementationError, perf
Depends on:
Blocks: DOCX-Tables DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2024-10-09 17:29 UTC by Sean Young
Modified: 2025-07-08 10:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
File that makes writer hang (78.84 KB, application/octet-stream)
2024-10-09 17:30 UTC, Sean Young
Details
Perf flamegraph of file opening (5.00 MB, image/svg+xml)
2024-10-10 13:03 UTC, Buovjaga
Details
Screencast (1.23 MB, video/mp4)
2025-07-08 10:03 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Young 2024-10-09 17:29:19 UTC
Description:
libreoffice gets stuck

Steps to Reproduce:
1. Download https://media.smart.com/uk/download/8c6e1608-5b5a-4d88-817a-7edef451e2c0/smart3vehiclespecificationsheet.docx
2. Open in writer
3. Does not open 

Actual Results:
soffice process consumes 100% and does not finish (waited 40 minutes)

Expected Results:
Open file - I can open it in google docs


Reproducible: Always


User Profile Reset: No

Additional Info:
I'm using Fedora 40
Comment 1 Sean Young 2024-10-09 17:30:07 UTC
Created attachment 196989 [details]
File that makes writer hang
Comment 2 Buovjaga 2024-10-09 19:15:38 UTC
Bibisected with linux-64-7.6 to d647a4f0bf873dfec685fd9f1e2d29896ca801a4
sw floattable, nesting: add DOCX import

As this is a new addition, let's call it implementationError.
Comment 3 m_a_riosv 2024-10-09 19:21:07 UTC
No issue with
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0fb23379e63071ec155cb6683c19212859e399b5
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
neither
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 Buovjaga 2024-10-09 20:17:22 UTC
Indeed, seems to be Linux-only based on current evidence.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0fb23379e63071ec155cb6683c19212859e399b5
CPU threads: 2; OS: Windows 11 X86_64 (10.0 build 22621); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-GB
Calc: threaded
Comment 5 Buovjaga 2024-10-10 13:03:21 UTC
Created attachment 196996 [details]
Perf flamegraph of file opening

I let it run for a moment and canceled.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5daac16a03c84f5908808be446c705e19445c150
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 10 October 2024
Comment 6 Timur 2025-07-07 18:42:28 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2025-07-08 05:56:45 UTC
(In reply to Timur from comment #6)
> I could not reproduce in Linux in any of these versions.

Still repro with attachment 196989 [details] with kf6 and gtk3. It renders the document, but UI never becomes active. Do you mean you can scroll and interact with the document?

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5427624c78f879ae83b5db1f5a0f67d3b4d04e2d
CPU threads: 8; OS: Linux 6.15; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Comment 8 Timur 2025-07-08 10:03:37 UTC
Created attachment 201699 [details]
Screencast

I can open and scroll and use, not sure how. Here is screencast with version.
Unlike other ticket I CCed, this also works for me in debug build.