Description: LibreOffice hangs when opening following DOC file: https://www.ceskaposta.cz/documents/10180/461522/podaci-listek-vpis.doc/c98cc48f-1e7e-4d56-97e6-9b8ee7237a39 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: 7.0.5.2 (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
Created attachment 171134 [details] The DOC file that causes it to hang.
Waited 75 seconds with Version: 7.2.0.0.alpha0+ (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 Version: 6.2.0.0.alpha0+ Build ID: b1d1edff4e81a8299e2a17c7e562d144329549ab CPU threads: 4; OS: Windows 6.3; UI render: GL; Locale: nl-NL (nl_NL); Calc: CL Similar score with 4.4.7.2
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 2c918aa51e5528b090e52fa31b10fa17cf2593ae source 2c918aa51e5528b090e52fa31b10fa17cf2593ae Adding CC to: Norbert Thiebaud <nthiebaud@gmail.com>
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. https://cgit.freedesktop.org/libreoffice/core/commit/?id=2c918aa51e5528b090e52fa31b10fa17cf2593ae
Adding CC: to László Németh
Dear László Németh, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
Hi Timur, Could you please explain why this issue was changed to high/major? It seems to be a layout problem and it seems like a corner case to me
Major as it hangs LO, High as a regression.
(In reply to Timur from comment #8) > Major as it hangs LO, High as a regression. layout regressions are tricky. Can you check with different versions? (e.g Libo 3.3, 4.0, 5.0 and so on)
*** Bug 149330 has been marked as a duplicate of this bug. ***
Created attachment 180431 [details] The DOC file as opened in LO 6.3 (In reply to Telesto from comment #2) > Waited 75 seconds with Version: 7.2.0.0.alpha0+ (x64) / OS: Windows 6.3 > Opens with 19 seconds (which still 'slowish') with Version: 6.2.0.0.alpha0+ > Similar score with 4.4.7.2 Hangs in 7.4+ from 6.4 as reported. LO 6.3 opens 2 pages as attached, export from Linux. LO 6.0 and below up to 4.0 opened 3 pages, 3rd one empty. LO 3.6 opened with 2 pages. LO 3.5 was wrong. Same if DOC resaved with MSO. MSO saved DOCX opens.
Created attachment 180432 [details] The DOC saved in MSO as DOCX
No error in Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: f3a82a8ba51195cf31b0f78164735acc7ebbcd2f CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Still problem in Version: 7.4.2.3 (100 % CPU during load of file) @Petr, please could you test it with dev version? You can download it here: http://dev-builds.libreoffice.org/daily/master/. If you find time, please could you test all documents of Ceska posta - https://www.ceskaposta.cz/ke-stazeni/formulare-a-tiskopisy ? Thank you
The doc file seems to open quickly in 7.5 since: https://git.libreoffice.org/core/+/8c32cc17ce914188ea6783b0f79e19c5ddbf0b8d author Michael Stahl <michael.stahl@allotropia.de> Fri Oct 14 16:59:42 2022 +0200 committer Michael Stahl <michael.stahl@allotropia.de> Fri Oct 14 21:38:51 2022 +0200 tdf#146500 sw: try to fix some layout loops caused by fly in table cell *** This bug has been marked as a duplicate of bug 146500 ***