Bug 141655 - Hangs when opening a particular DOC file
Summary: Hangs when opening a particular DOC file
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: László Németh
URL: https://www.ceskaposta.cz/documents/1...
Keywords: bibisected, bisected, regression
Depends on:
Reported: 2021-04-12 17:34 UTC by Petr Vones
Modified: 2021-04-14 21:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

The DOC file that causes it to hang. (246.50 KB, application/msword)
2021-04-12 17:34 UTC, Petr Vones

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Vones 2021-04-12 17:34:08 UTC
LibreOffice hangs when opening following DOC file:


It is reproducible on multiple systems.

Steps to Reproduce:
1. Download file 'podaci-listek-vpis.doc' from here: https://www.ceskaposta.cz/documents/10180/461522/podaci-listek-vpis.doc/c98cc48f-1e7e-4d56-97e6-9b8ee7237a39
2. Open it

Actual Results:
File is opened or an error message is displayed.

Expected Results:
It hangs and becomes unresponsive, you can see high CPU utilization of the LibreOffice process.

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: cs-CZ (cs_CZ); UI: en-US
Calc: CL
Comment 1 Petr Vones 2021-04-12 17:34:50 UTC
Created attachment 171134 [details]
The DOC file that causes it to hang.
Comment 2 Telesto 2021-04-13 07:44:54 UTC
Waited 75 seconds with 
Version: (x64) / LibreOffice Community
Build ID: ea4fb1559f7b99a0bfaf18f26cb3b6972c9cde1c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

Opens with 19 seconds (which still 'slowish') with
Build ID: b1d1edff4e81a8299e2a17c7e562d144329549ab
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
Locale: nl-NL (nl_NL); Calc: CL

Similar score with
Comment 3 Raji 2021-04-13 12:35:42 UTC
I have checked in win64-7.0 this repos.

6d54cb6064c6bc3d0333f76e07a7dda83cf90b3b is the first bad commit
commit 6d54cb6064c6bc3d0333f76e07a7dda83cf90b3b
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Nov 26 10:27:04 2019 -0800

    source sha:2c918aa51e5528b090e52fa31b10fa17cf2593ae

    source sha:2c918aa51e5528b090e52fa31b10fa17cf2593ae

Adding CC to: Norbert Thiebaud <nthiebaud@gmail.com>
Comment 4 Telesto 2021-04-14 17:36:44 UTC
author	László Németh <nemeth@numbertext.org>	2019-11-19 21:12:28 +0100
committer	László Németh <nemeth@numbertext.org>	2019-11-21 19:50:25 +0100
commit	2c918aa51e5528b090e52fa31b10fa17cf2593ae (patch)
tree	27bcd35ab6c0929fadb0c44ee88a7a7a3e9e785f
parent	46f8f48ebfe25e26b4d1c0718c772abbee70b889 (diff)
tdf#125300 extend AddParaSpacingToTableCells with line spacing
Now default compatibility mode AddParaSpacingToTableCells uses
not only paragraph bottom margin, but also proportional line
spacing before bottom cell border, as in MSO.

Note: disable testForcepoint76, because it fails again with
its fixed layout.

Comment 5 Telesto 2021-04-14 17:37:35 UTC
Adding CC: to László Németh