Description: In Microsoft Word the document opens and displays content as expected. In Libre 5.4.5.1 the document opens, but only shows the content (removed) up to the first <w:sdt> tag In Libre 6.2.2.2 the document does not open and Libre reports "Application Error" Steps to Reproduce: 1. Reproducible by opening the file with head (view it), or by trying to `cat` the contents Actual Results: Application Error - exit Expected Results: Display the document Reproducible: Always User Profile Reset: Yes Additional Info:
Created attachment 150336 [details] Opening file causes application error (opens fine in MS Word) I have removed all contents from the `document.xml` except for the parts that cause the application error.
Crashreport for Version: 6.2.2.2 (x64) Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: CL http://crashreport.libreoffice.org/stats/crash_details/31898198-1651-4d77-89db-48bad7e76420 But opening the attachment 150336 [details] with Word 2016 also gives an error: > Word experienced an error trying to open the file. > Try these suggestions. > * Check the file permissions for the document on drive. > * Make sure there is sufficient free memory and disk space. > * Open the file with the Text Recovery converter. > (D:\...\libre-application-error.docx) So the document is corrupted (possibly as a result of "removing all contents from the `document.xml` except for the parts that cause the application error"?). Please check and attach a valid document, since it's unreasonable to test something that might turn out to be a different problem.
Thanks for the heads up Mike. Sorry, I may have cut back too much in trying to isolate the issue. I've only got Libre 5 and 6 locally but will update the document with a slightly less cut back version that has been tested to load etc in Word asap. Apologies
Created attachment 150342 [details] Opening in libre v6 causes Application Error
Regression introduced in range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=9e1522ad1d2c2bd775fa50c2b142eb110a56af72..cf77d8f53b526b2896a02f8e8594f2dc7f560323
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=ff4f2ba3242d303f7f238a7a142440f1f4b1f288 author Serge Krot <Serge.Krot@cib.de> 2018-12-06 19:11:58 +0100 committer Thorsten Behrens <Thorsten.Behrens@CIB.de> 2019-01-09 22:30:08 +0100 commit ff4f2ba3242d303f7f238a7a142440f1f4b1f288 (patch) tree e26084095041d94378b9189ea026da22b8e456b6 parent f22f28e722a8a2efdc42bddba80a3a43025a61fd (diff) sw: DOCX: recognize TOC title during import Bisected with: bibisect-linux64-6.3 Adding Cc: to Serge Krot
Attachment 150336 [details] cannot be open in MSO with "experienced error", attachment 150342 [details] in MSO warns about unreadable content and recovers some. LO shouldn't crash though.
(In reply to Timur from comment #7) > Attachment 150336 [details] cannot be open in MSO with "experienced error", > attachment 150342 [details] in MSO warns about unreadable content and > recovers some. LO shouldn't crash though. Lowering severity then...
Serge Krot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/8a76b845e0376fd39014d6180c78b863f373633f%5E%21 tdf#124384 sw DOCX: fix crash during bibliography loading It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Serge Krot committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/ad6f0e2dc8bc9ed9f12e57c4dd94e11f439e9c5f%5E%21 tdf#124384 sw DOCX: fix crash during bibliography loading It will be available in 6.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.3.0.0.alpha0+ Build ID: 107fd82751c35818152eabd45bdf882972d3c100 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Serge Krot, thanks for the quick fix !!
Serge Krot committed a patch related to this issue. It has been pushed to "libreoffice-6-2-3": https://git.libreoffice.org/core/+/84f419917baf2318f126016def5b989dc9cb7bf7%5E%21 tdf#124384 sw DOCX: fix crash during bibliography loading It will be available in 6.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.