Created attachment 125315 [details] .docx file that pushes CPU usage, nearly kills Writer The submitted file is from the NSF web site (public). It is 4 pages of text with some decoration, but the file size is 5 MB. On opening this file, the initial load takes minutes with CPU usage near 50% (90%+ on one core). All Writer functions stop until this file finishes displaying. System Monitor (openSuse 42.1, 64-bit) shows that "X" is the top activity by CPU percentage (24%, or one thread of a dual-core CPU). soffice.bin takes almost as much, and produces a zombie process when I try to kill LibreOffice. Tried to delete the decorations (possibly in the header), but the system was so slow that I couldn't. Managed to save this file as .odt and .doc but upon opening those formats found the same problem.
I can confirm with Version: 5.2.0.0.alpha1+ Build ID: fa9416906e615f5f19ad8524176d2ed693662769 CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-05-24_00:05:55 File works in word2010.
Reproduced with 5.1.3.2, 4.3.0.4 and 3.6.0.4 in Windows 7. In 3.3 the document opened quickly, but it seemed like some elements of the document were missing. Like those headers in pages 2-4. The logo is a 27 MB EMF embedded in the doc, which is handled extremely slowly (the header of the 1st page is an embedded png, no problem with that). So, not a regression. When I tried inserting the extracted EMF into ane empty document, LibreOffice became unresponsive. This seems to be the same issue as bug 60425, just a lot more severe due to the much larger file size. *** This bug has been marked as a duplicate of bug 60425 ***