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
  Show dependency treegraph
 
Reported: 2024-10-09 17:29 UTC by Sean Young
Modified: 2024-10-15 20:54 UTC (History)
4 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

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