Trying to load the attached DOCX results in a hang. I force-quit after 20 minutes. The DOCX was created in MS Word (2013 I think), and is about 450 pages, thousands of footnotes, but no graphics AFAIK.
I am using the latest package provided by snap. LibreOffice 220.127.116.11. Ubuntu 18.04.
Olivier Tilloy from Canonical confirmed the bug and added:
"I can observe the issue in an up-to-date bionic amd64 VM. Opening the attached document and rendering it completely took 32 minutes. This is an insane amount of time to load a 516 pages document (153316 words, 927209 characters), but it eventually completed and once done the document can be navigated and edited just fine, as far as I can tell."
"Note that I also tested libreoffice 6.0.6 that's installed by default in Ubuntu 18.04 (the deb packages, not the snap), and it took over 20 minutes to load the same document, so it's not a snap-specific problem."
Steps to Reproduce:
1. Open the attached DOCX file.
2. Observe time passing.
3. Observe more time passing. :)
as described above, it took literally half an hour of 100% CPU effort to open.
I expect it to open in under 30 seconds.
User Profile Reset: No
Build ID: libreoffice-18.104.22.168-snap1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: en-US (en_US.UTF-8); Calc: group threaded
Created attachment 145419 [details]
the docx that hangs Writer on opening.
Confirmed on windows 7 x64 with Version: 22.214.171.124 (x64)
Build ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU threads: 3; OS: Windows 6.1; UI render: default
ubuntu 16.04 x64 with Version: 126.96.36.199.alpha0+
Build ID: ad6adb1bfadf49af3187a0bb3ceffbf355e9eed1
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-09-29_02:45:20
Locale: en-US (en_US.UTF-8); Calc: threaded
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default;
Locale: en-US (en_US.UTF-8); Calc: single
Cold be a duplicate of Bug 76260. Please compare console errors.
László Németh committed a patch related to this issue.
It has been pushed to "master":
tdf#120351 DOCX import: fix slow endnote import
It will be available in 7.2.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
After the fix it takes
to open the attached document, before it, I takes
wow, super nice improvement.
@László Németh, thanks for fixing this issue!!
*** Bug 139211 has been marked as a duplicate of this bug. ***
*** Bug 137938 has been marked as a duplicate of this bug. ***
@Xisco: According to your data, loading the test document is not only 25 times faster, but we finally have a reasonable load time. :) Many thanks for verifying and closing the duplicates!