Created attachment 70561 [details] Example of Microsoft Word 97 .doc file that won't open. This is a simple small text file (very old press release). Was converted years ago from original Word Perfect file. Problem description: LibreOffice 3.6.3.2. including the latest version 3.4.1 cannot open some MS Word 97 .doc files. It produces the error "Read Error: not a winword97 file". Steps to reproduce: 1. Double click on a Word 97 file that won't open. (Lots do but some don't) 2. LibO Writer will wait then produce the above error message. 3. Click OK on the error message and the file will not open. Current behavior: The 3.6.3.2 and the latest 3.4 version won't open some MS Word 97 .doc files. Expected behavior: All MS Word 97 .doc files should be opened. Operating System: Mac OS X Last worked in: 3.5.5.3 release
Note that where in the Description it mentions the latest version 3.4.1, this should read 3.6.4.1
Note that where it says "latest 3.4 version won't open some MS Word 97 .doc files." it should say "latest 3.6.4 version won't open some MS Word 97 .doc files."
Reproducible using both LO 3.6.4.1 and 4.0.0.0 alpha1, OS X 10.7.5
There are a total of 26 problem files I am looking at out of a total of 172 .doc files. This gives a percentage of 15.12% affected.
indeed doesn't open with 3.5.7.2 or current master... Caolan, since reporter claims it worked in 3.5.5 i'm suspicious of those robustness improvements, especially in sot...
well, I can make it work again anyway
This is a regression from d5345bfb40d6e33087fd053cc220308a2bc2945e FWIW
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca458daaf8ccb02980300addda7e8863bb5c6924&g=libreoffice-4-0 Resolves: fdo#57532 restrict page sanity check to non-storage chunks It will be available in LibreOffice 4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolan McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4a1044229afd6b52ca10e5c55f1957b153a8c6ea Resolves: fdo#57532 restrict page sanity check to non-storage chunks The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
submitted workaround for 3-6/3-5 review
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=05a116786648c0a045956b626c3f9f163f0a268e&g=libreoffice-3-6 Resolves: fdo#57532 restrict page sanity check to non-storage chunks It will be available in LibreOffice 3.6.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1ea379e0035a325b05f91da805425ff9f871eec6&g=libreoffice-3-5 Resolves: fdo#57532 restrict page sanity check to non-storage chunks It will be available in LibreOffice 3.5.8. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I have tested the LibreOffice LOdev Version 3.6.0.2+ (Build ID: a2267b) Beta against the 26 .doc Word 97 files that that wouldn't open in 3.6.3. They all opened successfully. This was on the Mac running MAC OS X 10.6.8. Snow Leopard. I also tested against: LOdev Version 4.0.0.0.beta1+ (Build ID: c1fa87738327413939f0355efd6cb73bc4eac88) TinderBox: MacOSX-Intel@27-OSX_10.7.0-gcc_4.2.1_llvm, Branch:libreoffice-4-0, Time: 2012-12-11_09:23:18 The 26 Word 97 files opened in this version 4.0.0.0. As far as I am concerned this patch solves this problem, for these files that wouldn't open.
*** Bug 58071 has been marked as a duplicate of this bug. ***
the attached file opens in 4.0-beta1 on Ubuntu 12.04 x86_64.
(In reply to comment #14) > *** Bug 58071 has been marked as a duplicate of this bug. *** Looking at 58071 the test file for this bug (print label) opens in 3.6.4.3 on Max OS X 10.6.8 successfully. For this bug 57532 the test file generates an error message in 3.6.4.3 and won't open. Both bugs appear to be fixed in 4.0.
Trying to check if the fix for this bug 57532 will work in LibreOffice daily 3.6.5 and 3.5.8 I have found that there isn't any 3.6.5 version for MAC OS X. There is definitely no MAC OS X version on the 3.5 branch. There isn't any 3.5 branch. How did the fix get propagated to 3.5.8 where there isn't any branch for 3.5? The only version for MAC OS X was 3.6.0.2 that I tested against. In the 3.6 branch the version: MacOSX-Intel@3-OSX_10.6.0-gcc_4.0.1/ doesn't have any file to download. When you click this link you just get an empty directory with "Parent Directory" at the top. Note that I have also tested the 4.0.0.0 version on the dailies. Don't really understand what is going on here 3.6.0.2 looks like a really old version, but it has the fix for this bug newly put in it.
Note that MacOSX-Intel@3-OSX_10.6.0-gcc_4.0.1/ should have the correct link:- http://dev-builds.libreoffice.org/daily/libreoffice-3-6/MacOSX-Intel@3-OSX_10.6.0-gcc_4.0.1/ The above link leads to an empty directory with "Parent Directory" at the top.
@all: Can you please always keep the Summary up to date and useful? These "Once, in a starlit summer night, I wanted to open a document, what always worked, but that day, while I was drinking some Beaujolais red whine what my girl friend sent me last year ..." are not helpful wrangling through lots of bugs trying to find relations ;-)