Bug 168555 - FILEOPEN DOCX Endless loop upon opening specific file
Summary: FILEOPEN DOCX Endless loop upon opening specific file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2025-09-26 08:27 UTC by Gabor Kelemen (Collabora)
Modified: 2025-09-26 09:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (42.35 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-09-26 08:27 UTC, Gabor Kelemen (Collabora)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-09-26 08:27:10 UTC
Created attachment 202971 [details]
Example file from Word

Specific file, created while minimizing and anonimizing a customer-made file, causes an endless loop when opening.

1. Open attached file
-> Endless loop 

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4ba94c18b2ebf1872d1db1f03857172e9a114917
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

Seems to have started in 7.6 with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=ebf0c3155f04e1294667860f69b4fbe2ff46c9bf

author	Miklos Vajna <vmiklos@collabora.com>	2023-06-12 08:12:44 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2023-06-13 15:03:00 +0200
commit ebf0c3155f04e1294667860f69b4fbe2ff46c9bf (patch)

sw floattable: import non-split inner floating tables from DOCX
Comment 1 Miklos Vajna 2025-09-26 08:46:13 UTC
Yes, I see a layout loop:

warn:legacy.osl:17628:17628:sw/source/core/layout/tabfrm.cxx:3372: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910
warn:sw.layout:17628:17628:sw/source/core/layout/tabfrm.cxx:985: Cannot remove in-use Follow Flow Line
warn:sw.layout:17628:17628:sw/source/core/layout/tabfrm.cxx:1853: LoopControl in SwContentFrame::CalcLowers