Bug 168753 - Word document causes a loop/hung thread
Summary: Word document causes a loop/hung thread
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks:
 
Reported: 2025-10-08 15:03 UTC by Roman
Modified: 2025-10-09 10:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Word document (114.00 KB, application/msword)
2025-10-08 15:03 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2025-10-08 15:03:36 UTC
Created attachment 203214 [details]
Word document

Hello,

We have found that one type of documents we receive from our clients is not converted to PDF. Investigation shows that it was working in LibreOffice version 7, but does not work in 25.

It is possible to open this file in LibreOffice Writer 25, but when we Export Directly as PDF, then PDF is created but LibreOffice is showing a wait cursor.

In soffice PDF is not created and command is not finished in 5 minutes.

Thank you,
Roman
Comment 1 Telesto 2025-10-08 19:33:00 UTC
Repro
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 18bde21b1d700bbf97e001a13ba9389dc7f9efc7
CPU threads: 8; OS: macOS 14.7.4; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

fine with
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 8; OS: Mac OS X 14.7.4; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 2 Saburo 2025-10-09 05:02:17 UTC
It works fine from the command line.
When I export to PDF using the GUI, the file is created but hangs (CPU usage reaches 100%).

bibisected with linux-64-24.8
Version: 24.8.3.0.0+ (X86_64) / LibreOffice Community
Build ID: c62f17d84f1bbd67b9154c08c5559ee6b8042f23

commit c62f17d84f1bbd67b9154c08c5559ee6b8042f23
author	Michael Stahl <michael.stahl@allotropia.de>	Tue Sep 24 19:06:55 2024 +0200

tdf#162268 sw: ApplyParagraphMarkFormatToEmptyLineAtEndOfParagraph
Comment 3 Telesto 2025-10-09 10:39:22 UTC
FWIW: Reject All Changes in the given document Freezes Writer. Reported at bug 168768