Bug 158349 - FILEOPEN "General Error. General input/output error." when opening .docx files
Summary: FILEOPEN "General Error. General input/output error." when opening .docx files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha1+
Hardware: x86-64 (AMD64) All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Opening
  Show dependency treegraph
 
Reported: 2023-11-24 03:02 UTC by Dario
Modified: 2023-11-30 16:32 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX file that triggers the error (91.82 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-11-24 03:04 UTC, Dario
Details
gdb bt (31.95 KB, text/plain)
2023-11-24 18:16 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dario 2023-11-24 03:02:16 UTC
Description:
The attached .docx files give the error when trying to open them.
The files are common word forms that can be downloaded from a government website.

Steps to Reproduce:
1.Access the file from the link provided
2.Click to open
3.Error appears

Actual Results:
Error window
General Error.
General input/output error.

Expected Results:
Open the file properly to edit


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Here is the link to the file:

https://www.landgate.wa.gov.au/siteassets/forms/strata-titles-forms/approved/application-to-register-strata-titles-scheme-2020-43934-1.docx
Comment 1 Dario 2023-11-24 03:04:00 UTC
Created attachment 191017 [details]
DOCX file that triggers the error
Comment 2 Roman Kuznetsov 2023-11-24 14:19:10 UTC
I got the error message about corrupted file too:

SAXException: [word/footnotes.xml line 2]: unknown error at C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/sax/source/fastparser/fastparser.cxx:604

But I could to open file after YES pressing in the dialog in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9602f8a9318dd4d3409856e2ae06abe96e72b51b
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

but

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

opens the file just good without any error => regression
Comment 3 Julien Nabet 2023-11-24 18:16:36 UTC
Created attachment 191028 [details]
gdb bt

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 4 Julien Nabet 2023-11-24 18:17:24 UTC
Let's increase the importance since:
- it's a regression
- it's on several platforms
- it prevents user from opening the file
Comment 5 Gabor Kelemen (allotropia) 2023-11-24 18:50:59 UTC
Seems to have started in:

https://git.libreoffice.org/core/+/5082d50d24c3fec4487c724a15eb0d54a82ecd0d

author	Jaume Pujantell <jaume.pujantell@collabora.com>	Wed Sep 13 08:58:21 2023 +0200
committer	Jaume Pujantell <jaume.pujantell@collabora.com>	Wed Oct 11 15:19:58 2023 +0200

writerfilter: use content controls for text in block SDTs

Adding CC to: Jaume Pujantell
Comment 6 Xisco Faulí 2023-11-30 16:09:33 UTC
it seems there are two issues here because LibreOffice hangs in

Version: 7.6.5.0.0+ (X86_64) / LibreOffice Community
Build ID: ebc730f8657af18412c47fc671c3c459072da0ea
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded