Bug 166622 - Hang opening the doc or docx file whith the complex structure of table.
Summary: Hang opening the doc or docx file whith the complex structure of table.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2025-05-18 15:21 UTC by Peter
Modified: 2025-05-20 06:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
MS Word file with the complex structure of table. (19.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-05-19 06:07 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2025-05-18 15:21:12 UTC
Description:
I have a Word file containing a complex table. When I try to open this file, Writer freezes, continuing to increase the amount of memory it occupies.



Steps to Reproduce:
1.Open the file.
2.
3.

Actual Results:
Writer freezing and gradually increasing the amount of occupied memory.

Expected Results:
Open the file and show his contents.


Reproducible: Always


User Profile Reset: No

Additional Info:
Additionally:
- the file format (doc or docx) does not matter, the result is the same;
- the error appears on LibreOffice v.24.8.1 on OpenSUSE 15.6;
- Calligra opens this file, but cut upper part of the table header.
Comment 1 Alan B. 2025-05-18 16:08:31 UTC
Hello Peter,

Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public; remove any sensitive information before attaching it. 
See <https://wiki.documentfoundation.org/QA/FAQ#sanitize> for help on how to do so.)
Comment 2 Peter 2025-05-19 06:07:47 UTC
Created attachment 200859 [details]
MS Word file with the complex structure of table.

this file not open in the:

LO Version: 24.8.6.2 (X86_64) / LibreOffice Community,
LO Version: 25.2.3 (X86_64) / LibreOffice Community, and

MS Office 2007 (!)

this file successfully open in the:
MS Office 2010 and MS Office 2019.
Comment 3 Peter 2025-05-19 06:11:50 UTC
more detailed information about the computer and software on which the file does not open:

Version: 24.8.6.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded
Comment 4 Xisco Faulí 2025-05-19 08:25:11 UTC
it doesn't crash for me for it hangs forever

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5913201efff027e683b2ff15349943d99b726414
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 5 Xisco Faulí 2025-05-19 08:26:06 UTC
It doesn't hang in

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3; 
Locale: en-US (es_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Xisco Faulí 2025-05-19 08:33:05 UTC
Regression introduced by:

commit a4af5432753408c4eea8a8d56c2f48202160c5fe	[log]
author	Miklos Vajna <vmiklos@collabora.com>	Mon Jul 17 09:00:33 2023 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	Mon Jul 17 11:21:32 2023 +0200
tree ddfcdbb2d1fc345b004d7b24e0a387a6b20283b2
parent 107ab712725e92fc527b54e91f317f932b78146a [diff]

tdf#120262 sw floattable, legacy: fix text wrap around fly when no content fits

Bisected with: bibisect-linux64-24.2
Comment 7 Miklos Vajna 2025-05-19 09:10:33 UTC
Thanks for the bisect! I'm aware of 8 other floattable regressions in the bugzilla, I should look at them together, just need to find the time.