Created attachment 73104 [details] Problem document The attached document originates from http://www.ieee.org/documents/TRANS-JOUR.doc It's a docx document disguised as doc. When opening this document LibreOffice claims that the file is corrupt. But if you change the file extension from .doc to .docx, it opens. The type detection should not have depended on the file extension to do its detection. Something is wrong here.
Confirming it, and taking it. I'll look into this later.
I'm looking into this right now.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=709f6ba6ae5d2b5461136595a2469bf1fe32ccff fdo#59426: Don't try to repair package during flat detection phase. 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.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ac2ee597d39fb45cd4873d4ae345e4dbfa2404eb&h=libreoffice-4-0 fdo#59426: Don't try to repair package during flat detection phase. It will be available in LibreOffice 4.0.1. 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.
*** Bug 57769 has been marked as a duplicate of this bug. ***
*** Bug 54949 has been marked as a duplicate of this bug. ***