Bug 155888 - SAXException: No input source at /home/abuild/rpmbuild/BUILD/libreoffice-7.5.4.2/sax/source/fastparser/fastparser.cxx:1055
Summary: SAXException: No input source at /home/abuild/rpmbuild/BUILD/libreoffice-7.5....
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-SAXParse
  Show dependency treegraph
 
Reported: 2023-06-17 01:47 UTC by jindam, vani
Modified: 2023-11-23 13:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
docx warning message SAXException sax/source/fastparser/fastparser.cxx:1055 (1.02 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-06-17 01:47 UTC, jindam, vani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jindam, vani 2023-06-17 01:47:21 UTC
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
Comment 1 Stéphane Guillou (stragu) 2023-06-19 10:36:21 UTC
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)
Comment 2 Aron Budea 2023-08-20 03:40:04 UTC
(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.
Comment 3 jindam, vani 2023-11-23 10:00:11 UTC
* 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.
Comment 4 Stéphane Guillou (stragu) 2023-11-23 13:15:03 UTC
How was the file created in the first place?