Bug 138026

Summary: FILEOPEN Big table in DOCX cause writer hangs - regression
Product: LibreOffice Reporter: Andrew <tenchem>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: 79045_79045, aron.budea, buzea.bogdan, mikekaganski, telesto, timur, xiscofauli
Priority: medium Keywords: bibisected, bisected, filter:docx, perf, regression
Version: 5.4 all versions   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=161508
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104444    
Attachments: File with multipage table

Description Andrew 2020-11-06 06:58:57 UTC
Created attachment 167048 [details]
File with multipage table

Some files cause writer to work extremely slowly.
Also this file cause LO 7 to hang.
In LO 6 this cause only to slowdown.
Comment 1 Roman Kuznetsov 2020-11-06 17:29:30 UTC
LO can't open the file and CPU has 100% loading, confirm in

Version: 7.1.0.0.alpha1+
Build ID: 7dc234fa57ca409d0db131c93abea738014b5e1f
CPU threads: 4; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

but LO opens the file in

Версия: 6.4.2.2
ID сборки: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
Потоков ЦП: 4; ОС: Mac OS X 10.15.7; Отрисовка ИП: GL; VCL: osx; 
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded

and CPU still has 100% loading and you can't edit the file, when you try scroll the document then LO hangs anyway

the same in 5.4 version
Comment 2 Telesto 2020-11-06 19:55:08 UTC
No issue opening and scrollng the file with
Version: 5.2.5.0.0+
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-2, Time: 2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: group
Comment 3 Aron Budea 2020-11-06 22:04:24 UTC
Seems that this started with the following commit, bibisected using repo bibisect-linux-64-5.4. Adding CC: to Mike Kaganski.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=6f5024de2e1a5cc533527e45b33d9a415467c48d
author		Mike Kaganski <mike.kaganski@collabora.com>	2016-12-08 23:01:03 +0300
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2016-12-12 08:23:30 +0000

tdf#104425 sw: split rows w/large min height (fix layout loop)
Comment 4 Telesto 2020-11-06 22:10:52 UTC Comment hidden (obsolete)
Comment 5 Timur 2023-10-10 18:57:39 UTC
Hangs in 24.2.