Bug 162689 - FILEOPEN Custom made document crashes
Summary: FILEOPEN Custom made document crashes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2024-08-29 12:31 UTC by Gabor Kelemen (allotropia)
Modified: 2024-08-30 18:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: 1ac739bd-dd40-4900-b507-a0ea6e70c7cd


Attachments
Example file, anonimized manually, from customer (8.51 KB, application/vnd.oasis.opendocument.text)
2024-08-29 12:31 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-08-29 12:31:56 UTC
Created attachment 196095 [details]
Example file, anonimized manually, from customer

Attached example file was customized by a customer.

When opening in the Start Center, the following error is reported:

Format error discovered in the file in sub-document content.xml at 52,1(row,col).

and LO UI stops responding.

If I open an empty document in Writer and try to open this, LO crashes.

The https://odfvalidator.org/ reports this is invalid:

Error: tag name "office:scripts" is not allowed. Possible tag names are: <body>

Handling such an error more gracefully would be probably the best idea.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c52f139b4f7140033144dde29f70a39ebedb6aa0
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

The file opens in 3.5 without error, crashes since 3.6.
Comment 1 Rainer Bielefeld Retired 2024-08-30 18:02:31 UTC
REPRODUCIBLE with Installation of Version: 24.2.3.2 (X86_64)
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE; Theme: Element
Calc: threaded – normal User  Profile created from 7.6
Comment 3 Rainer Bielefeld Retired 2024-08-30 18:33:24 UTC
Still REPRODUCIBLE with Server Installation of Version: 25.2.0.0.alpha0+ (X86_64)
Build ID: d5143c058bfdc0f5674c3e0a88fae2f9cbe28a0a
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US; Theme: Automatic Colibre
Calc: threaded 
Special User Test File for testing

This Version sometimes shows error message when try to open:
"Format error discovered in the file in sub-document content.xml at 52,1(row,col).!