Bug 54985 - FILEOPEN: Cannot open some DOC files (corrupted symbols/ouput). OpenOffice opens them fine.
Summary: FILEOPEN: Cannot open some DOC files (corrupted symbols/ouput). OpenOffice op...
Status: CLOSED DUPLICATE of bug 53909
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: All All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
: 55472 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-16 10:00 UTC by xing
Modified: 2013-12-12 16:08 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test One (95.50 KB, application/msword)
2012-09-16 10:00 UTC, xing
Details
Test Two (54.00 KB, application/msword)
2012-09-16 10:01 UTC, xing
Details
Valid .doc file displays as garbage (39.00 KB, application/msword)
2012-12-10 19:06 UTC, tom+bugs.freedesktop.org
Details
same .doc showing corruption on Writer but OK in Calligra (101.07 KB, image/png)
2012-12-10 19:15 UTC, tom+bugs.freedesktop.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xing 2012-09-16 10:00:38 UTC
Created attachment 67228 [details]
Test One

Fails in Libreoffice 3.5.6 and 3.6.1.2. When trying to open the following two attached samples, Libreoffice popups a character set prompt screen but selecting any does not help as the output is always corrupted with garbage symbols.

Versus

OpenOffice 3.4.1 opens up these two files perfectly fine without any type of character set prompt.
Comment 1 xing 2012-09-16 10:01:14 UTC
Created attachment 67229 [details]
Test Two
Comment 2 Urmas 2012-09-16 10:17:30 UTC
Same with 3.6.l
Comment 3 xing 2012-09-16 10:58:40 UTC
Version 3.6.0.4 (Build ID: 932b512) has no problem at all. This is a very bad regression in the 3.6.1 new DOC import code.
Comment 4 Julien Nabet 2012-09-16 12:24:23 UTC
On pc Debian x86-64 with master sources updated today, I reproduced the problem.
I noticed a lot of this log:
/home/julien/compile-libreoffice/libo/sw/source/core/text/porlay.cxx:1258: Heavy InitScriptType() confusion

Miklos: one for you?
Comment 5 Urmas 2012-09-30 21:17:00 UTC
*** Bug 55472 has been marked as a duplicate of this bug. ***
Comment 6 Roman Eisele 2012-10-01 16:57:37 UTC
Comment on attachment 67228 [details]
Test One

Improved MIME type.
Comment 7 Roman Eisele 2012-10-01 16:57:56 UTC
Comment on attachment 67229 [details]
Test Two

Improved MIME type.
Comment 8 tom+bugs.freedesktop.org 2012-12-10 19:06:13 UTC
Created attachment 71287 [details]
Valid .doc file displays as garbage

Still broken in latest Win32 and Linux builds. See attached; fine in MS Word Viewer on Win32, broken in LO.
Comment 9 tom+bugs.freedesktop.org 2012-12-10 19:15:39 UTC
Created attachment 71288 [details]
same .doc showing corruption on Writer but OK in Calligra

KDEs office suite displays .doc fine too
Comment 10 Julien Nabet 2012-12-10 20:48:00 UTC
I don't reproduce this on 3.6.4 Win7.

Tom: if you reproduce the problem with 3.6.4, don't hesitate to reopen this tracker.
Comment 11 tom+bugs.freedesktop.org 2012-12-11 13:19:19 UTC
This was a fresh install on Win XP on Saturday, so would have been 3.6.4.

My local machine is Ubuntu 12.10, which ships a slightly older version, but it does have the same issue.

Tom
Comment 12 Urmas 2012-12-11 14:22:29 UTC

*** This bug has been marked as a duplicate of bug 53909 ***
Comment 13 tom+bugs.freedesktop.org 2012-12-11 14:36:54 UTC
This isn't a duplicate. The bug it's meant to duplicate was fixed in 3.6.4 but this doesn't fix this issue.
That issue also talks about an ASCII filter window, which doesn't appear here (see screen shots).
Comment 14 Julien Nabet 2012-12-11 20:43:23 UTC
(In reply to comment #11)
> This was a fresh install on Win XP on Saturday, so would have been 3.6.4.
> 
"Fresh": do you mean with a brand new LO profile (see 
http://wiki.documentfoundation.org/UserProfile)?
If not, could you rename your LO directory profile and test again?

If you still reproduce, could you answer these questions
- did you install any specific fonts?
- did you install any specific extensions?
Comment 15 xing 2012-12-13 04:31:48 UTC
Bug is no longer reproducible on Windows 7 and latest LO. 

Clean Windows 7 LO 3.6.4.3 install with new UserProfile directory and no other extension or system fonts.

1) Tests One - Opened CORRECTLY with no artifacts.

2) Tests Two - Opened CORRECTLY with no artifacts.

3) Tom's "Valid Doc" - Opened CORRECTLY with no artifacts.
Comment 16 Michael Stahl (allotropia) 2012-12-17 21:48:45 UTC
import of these bugdocs was fixed by ef9f9b750eac2966634c385a2021716c4de0e4cd

=> duplicate

*** This bug has been marked as a duplicate of bug 53909 ***