Bug 75548 - FILEOPEN: Writer freezes on particular Word 2007 DOCX file (OK if saved in Word 2010)
Summary: FILEOPEN: Writer freezes on particular Word 2007 DOCX file (OK if saved in Wo...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:docx, haveBacktrace
Depends on:
Blocks: DOCX-Opening
  Show dependency treegraph
 
Reported: 2014-02-26 22:10 UTC by larophel
Modified: 2017-09-08 16:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File that freezes Writer (125.07 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-02-27 04:13 UTC, larophel
Details
Debug with WinDBG in LO 5.0 alpha1 (45.65 KB, text/plain)
2015-05-19 12:41 UTC, Timur
Details
File saved again in MSO doesn't freeze Writer (114.98 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-08-25 18:24 UTC, Timur
Details
Debug with Procdump+WinDBG in LO 5.2+ (10.18 KB, text/plain)
2016-03-29 18:39 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description larophel 2014-02-26 22:10:21 UTC
Problem description: Libre Office Writer freezes upon opening a particular file. 
If you open the attached file in MS Word and save it to the Doc format, Writer does not freeze anymore when opening the new Doc file. 
I checked bug 73936. Thinking it could be the same issue, I replaced all non breaking spaces with normal spaces, but that did not help.

Steps to reproduce:
1. Open the attached file.

Current behavior: Writer freezes and must be killed to close.

Expected behavior: Writer should not freeze. 

              
Operating System: Linux (Other)
Version: 4.1.4.2 release
Comment 1 Joel Madero 2014-02-27 03:05:54 UTC
Please don't open a bug which is reporting the exact same problem. The other bug says you can't open the file - this one says libreoffice freezes - this is the exact same issue about the same exact file.

*** This bug has been marked as a duplicate of bug 73936 ***
Comment 2 larophel 2014-02-27 04:13:15 UTC
> this is the exact same issue about the same exact file.

No, it is not. Why do you think that?

I see that there is no file attached. I thought I had attached a file.
Did you remove the attached file? If I did not attach any file, how can you know whether the file is "the same exact file"?

As I wrote in my original bug description, I do not think this is the same problem as bug 73936. The file attached to bug 73936 can be fixed by replacing all non breaking spaces with normal spaces.
The file attached to this bug *cannot* be fixed by replacing non breaking spaces by normal spaces.
Comment 3 larophel 2014-02-27 04:13:47 UTC
Created attachment 94797 [details]
File that freezes Writer
Comment 4 Joel Madero 2014-02-27 04:35:53 UTC
It was because there was no file attached and only a link to the other bug ;) But all is well that ends well - thanks for attaching :) Marking as UNCONFIRMED as it's the appropriate status
Comment 5 larophel 2014-02-27 04:42:57 UTC
Great, thanks for fixing the status. :)
Comment 6 Jean-Baptiste Faure 2014-02-27 05:44:55 UTC
Reproducible with LO 4.2.3.0.0+ under Ubuntu 13.10 x86-64.
The file opens fine but LO starts immediately in an endless loop and it eats the whole memory. It seems that the problem could be in the page count. Indeed the status bar show an information like "459 10/11" pages.

Best regards. JBF
Comment 7 Joel Madero 2014-02-27 05:52:33 UTC
This is almost undoubtedly a dupe - found it - adding as "see also" as I'm not 100% sure that it's the same problem but from JBF's remark - seems likely ;)
Comment 8 Joel Madero 2015-05-02 15:43:24 UTC Comment hidden (obsolete)
Comment 9 Timur 2015-05-19 12:41:04 UTC
Created attachment 115708 [details]
Debug with WinDBG in LO 5.0 alpha1

I'd say it's inherited. Debug attached.
Comment 10 Timur 2015-08-25 18:24:42 UTC
Created attachment 118178 [details]
File saved again in MSO doesn't freeze Writer

But, it we open the same file and save again as DOCX in MSO (I did that in MSO 2010), it doesn't freeze Writer, both if saved as compatible or not.
Comment 11 Timur 2016-03-29 18:39:15 UTC
Created attachment 123934 [details]
Debug with Procdump+WinDBG in LO 5.2+

This debug is different, I can't say why, how I did it before. 
For the sake of search: utllo.dll ImplKillTrailing.

FOLLOWUP_IP: 
utllo!ImplKillTrailing+33 [c:\cygwin\home\tinderbox\master\unotools\source\config\fontcfg.cxx @ 661]
6760e1f3 833900          cmp     dword ptr [ecx],0
Comment 12 Telesto 2016-12-10 13:48:37 UTC
Repro with:
Version: 5.4.0.0.alpha0+
Build ID: b894104a0b02a9b074c76feb925389d7bee6a493
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-12-10_01:00:52
Locale: nl-NL (nl_NL); Calc: CL
Comment 13 Timur 2017-09-08 16:19:27 UTC
Doesn't freeze with 5.4.1 and 6.0+