Created attachment 187954 [details] docx warning message SAXException sax/source/fastparser/fastparser.cxx:1055 * open bugdocx17062023.docx * message displayed: "An error occurred during opening the file. This may be caused by incorrect file contents. The error details are: SAXException: No input source at /home/abuild/rpmbuild/BUILD/libreoffice-7.5.4.2/sax/source/fastparser/fastparser.cxx:1055 Proceeding with import may cause data loss or corruption, and application may become unstable or crash." * it opens without any message/warning on word & libreoffice viewer on android repro: libreoffice: Version: 7.5.4.2 (ARM_EABI) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: x11 Locale: en-US (C); UI: en-US Calc: threaded OS: NAME="openSUSE Tumbleweed", VERSION_ID="20230604" * no repro: libreoffice: f-droid: Version: 7.6.0.0.alpha1+, Build ID: 5c1c768e128d OS: Android Word: Version: 1.0.1 (16.0.1.16501.20160) OS: Android
Tested with the linux-64-releases bibisect repo. - Crash on fileopen in LO 5.1.0.1 - Error + crash in LO 5.4.0.0 alpha1 - Only error in LO 5.4.6.1 and recent master build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ec60d354359067f8c5c686ef2239ee705916de43 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded No error in OOo 3.3, nor on Office.com, nor in ONLYOFFICE Desktop Editors version 7.3.3.50 (flatpak)
(In reply to Stéphane Guillou (stragu) from comment #1) > No error in OOo 3.3, nor on Office.com, nor in ONLYOFFICE Desktop Editors > version 7.3.3.50 (flatpak) I do get the crash in LO 3.3.0 / OOo 3.3.0.
* repro with slightly modified message * .docx opens Version: 7.6.3.1 (ARM_EABI) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded An error occurred during opening the file. This may be caused by incorrect file contents. The error details are: SAXException: No input source at /home/abuild/rpmbuild/BUILD/libreoffice-7.6.3.1/sax/source/fastparser/fastparser.cxx:1042 Proceeding with import may cause data loss or corruption, and application may become unstable or crash.
How was the file created in the first place?