Download it now!
Bug 120351 - Writer hangs for over 20 minutes loading a 3MB, 450-page DOCX Edit with thousands of endnotes
Summary: Writer hangs for over 20 minutes loading a 3MB, 450-page DOCX Edit with thous...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Opening CPU-AT-100%
  Show dependency treegraph
 
Reported: 2018-10-05 18:47 UTC by Asaf Bartov
Modified: 2019-12-28 22:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
the docx that hangs Writer on opening. (3.51 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-10-05 18:49 UTC, Asaf Bartov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Asaf Bartov 2018-10-05 18:47:43 UTC
Description:
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 6.1.2.1. 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. :)

Actual Results:
as described above, it took literally half an hour of 100% CPU effort to open.

Expected Results:
I expect it to open in under 30 seconds.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.2.1
Build ID: libreoffice-6.1.2.1-snap1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 1 Asaf Bartov 2018-10-05 18:49:02 UTC
Created attachment 145419 [details]
the docx that hangs Writer on opening.
Comment 3 MM 2018-10-05 19:22:05 UTC
Confirmed on windows 7 x64 with Version: 6.0.6.2 (x64)
Build ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU threads: 3; OS: Windows 6.1; UI render: default

and 

ubuntu 16.04 x64 with Version: 6.2.0.0.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

and

Version: 5.1.6.2
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: single
Comment 4 Timur 2018-11-19 09:09:53 UTC
Cold be a duplicate of Bug 76260. Please compare console errors.