Bug 49989

Summary: FILEOPEN: Opening .doc File Hangs
Product: LibreOffice Reporter: Ash Kyd <ash>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: amasterov
Priority: medium    
Version: 3.5.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Document exhibiting the hang behaviour.

Description Ash Kyd 2012-05-15 23:04:15 UTC
Created attachment 61707 [details]
Document exhibiting the hang behaviour.

Problem description: Certain files can take an unusually long time to open, even though there's nothing complex about them.

The 4 page .doc I have attached has a number of tables and no content, but it takes a little under two minutes to open in Writer. By comparison Microsoft Office opens it instantly.

Steps to reproduce:
1. Open the attached document.

Current behavior:
LibreOffice opens, a progress bar completes at the bottom of the Writer window, then the application hangs for several minutes while it takes up 100% CPU (or a whole core).

Expected behavior:
The document should open immediately, or close to.

Platform (if different from the browser):
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19
Comment 1 s-joyemusequna 2012-05-16 05:05:34 UTC
Confirmed. Same error in OOo 3.1, LibO 3.3.4, LibO 3.4.5, and LibO 3.5.3. LibO freezes for several minutes, the output is incorrect (tables are broken). Tested under Windows XP and Vista 64.

LOdev 3.6 (master - 14-May-2012 02h55 x86@6-fast; Build ID: 347e345): much better: tables seem OK, but header and footer are incorrect. File opens instantly.

So, I confirm for LibO 3.5.3, but this issue (opening speed) is solved in LibO 3.6.
Comment 2 bfoman (inactive) 2012-05-16 06:24:51 UTC
(In reply to comment #1)
> Confirmed. Same error in OOo 3.1, LibO 3.3.4, LibO 3.4.5, and LibO 3.5.3. LibO
> freezes for several minutes, the output is incorrect (tables are broken).
> Tested under Windows XP and Vista 64.

Confirmed with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 64 bit

24 pages with broken tables rendered after few minutes.
Comment 3 Alex Masterov 2013-04-04 07:42:07 UTC
LO 3.6.5.2/Linux have opened this document in few seconds.
Comment 4 Xisco FaulĂ­ 2014-03-07 11:43:51 UTC
I close this bug report as RESOLVED WOEKFORME because it is no longer reproducible.
Tested again with:
   - Libreoffice 4.1.4.2 Build  ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72
   - Libreoffice 4.2.1.1 Build  ID: d7dbbd7842e6a58b0f521599204e827654e1fb8b
   - Libreoffice 4.3.0.0.alpha0 ID: 20b8944cd4771f75564277a5144e96b7d9c3d616

Feel free to open this bug report again if you find that the bug is still reproducible under some special circumstances, etc.