The .docx file's size is 5.3MB, with chinese characters inside.
Writer hangs on opening the file, 100% CPU, growing MEM.
I run htop to watch the status of Writer, it took about 6min to display the file content, with long lasting 100% CPU and 1G MEM.
Steps to Reproduce:
1. open the large .docx file
2. run htop command and watch the writer's status
about 6min later, the Writer is operational, but with lasting 100% CPU and 1G+ MEM.
open the file within 1min, and consume normal cpu and mem.
User Profile Reset: No
OpenGL enabled: Yes
Version: 18.104.22.168 / LibreOffice Community
Build ID: 20(Build:4)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Created attachment 174911 [details]
The problematic large .docx file.
Created attachment 174912 [details]
The htop's view on Writer.
Repro. I modified title to make it more specific and recognizable.
Could be a duplicate.
Interesting that one CPU goes 100% and that's not a single one, but different.
That's seen with 'time' as user+sys is similar to real, but it should be higher with multicore.
To compare versions on the same system with time loexit:
6.4 o 1st time 2nd time
real 1m18,501s 1m11,729s
user 1m8,507s 1m6,241s
sys 0m3,689s 0m4,042s
Based on time, I mark regression from 6.4.
Date: Tue Sep 17 16:56:00 2019 +0200
commit 5ba30f588d6e41a13d68b1461345fca7a7ca61ac [log]
author Michael Stahl <Michael.Stahl@cib.de> Fri Sep 06 2019
tdf#64222 sw: better DOCX import/export of paragraph marker formatting
Hi Michael. Here is a slow down bibisected to your commit, please see.
I got the crash when tried to open the file after 3 min 30 sec in
Version: 22.214.171.124.alpha1+ (x64) / LibreOffice Community
Build ID: a8df5c815c8b002b7083b8777e3dd8beac573bf3
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU