https://bugs.documentfoundation.org/show_bug.cgi?id=172156
Bug ID: 172156
Summary: Writer hangs at 100% CPU when opening a DOCX with
multiple Square-wrapped images in a single table cell
Product: LibreOffice
Version: 25.8.3.2 release
Hardware: All
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Opening a specific DOCX file in LibreOffice Writer causes the application to
hang. The soffice process pegs at ~100% CPU and the document never finishes
loading. Writer has to be force-quit.
The file contains a table where a single cell holds multiple images, all with
their text-wrap set to "Square". Reducing the document to that minimal
structure still reproduces the hang.
The same file opens, renders and prints normally in Microsoft Word.
Workaround: changing the images' Wrap Text setting from "Square" to "In Line
with Text" makes the document open instantly. This suggests the bug is in how
Writer handles layout/anchoring when multiple Square-wrapped images coexist
inside one table cell.
A minimal reproducer is attached.
Steps to Reproduce:
1. Open LibreOffice Writer on macOS.
2. Open the attached .docx file (File → Open).
3. Observe.
Actual Results:
Writer becomes unresponsive. The soffice process consumes ~100% CPU
indefinitely. The document never finishes loading; the only way out is to
force-quit the application.
Expected Results:
The document should open and render correctly, matching Microsoft Word's
behaviour for the same file.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Additional context: the same hang also reproduces in headless mode (soffice
--headless --convert-to pdf), which means it also affects automated DOCX→PDF
pipelines built on LibreOffice (e.g. Gotenberg). Confirmed on LibreOffice 7.6.4
and 26.2.0 in Docker as well.
--
You are receiving this mail because:
You are the assignee for the bug.