Bug 156466 - FILESAVE DOC: Saved file made Word hang
Summary: FILESAVE DOC: Saved file made Word hang
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: DOC-Corrupted
  Show dependency treegraph
 
Reported: 2023-07-25 16:27 UTC by Regina Henschel
Modified: 2023-11-23 21:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Problematic doc (22.50 KB, application/msword)
2023-07-26 18:28 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-07-25 16:27:16 UTC
I was told by an employee of Microsoft, that OpenOffice produces a file which made Word hang. Because I know no better place, I report it here, so that our developers can look, whether the problem exists in LibreOffice too. The problem in the doc file was described to me as:

Word expects that every character of text in the document has some record of character level formatting in plcbteChpx as detailed in the DOC file spec here: https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-doc/ccd7b486-7881-484c-a137-51170af7cc22  Unfortunately, the plcbteChpx ends a few characters shy of the end of the document, leaving the final paragraph marker without any data, possibly the section mark character as well.
Comment 1 Regina Henschel 2023-07-26 18:28:10 UTC
Created attachment 188579 [details]
Problematic doc

I have got the problematic doc. Current Word 365 no longer hangs. You need to use an older Word to see the problem, but I haven't got such.
Comment 2 Stéphane Guillou (stragu) 2023-11-23 21:43:15 UTC
(In reply to Regina Henschel from comment #0)
> I was told by an employee of Microsoft, that OpenOffice produces a file
> which made Word hang. Because I know no better place, I report it here, so
> that our developers can look, whether the problem exists in LibreOffice too.
Is there any extra information on how OpenOffice would create such a corrupt DOC file? Or does it apply to all DOC files created with AOO?

In any case, the attached file open fine in LO, Office 365 and OnlyOffice.

Maybe something to mention on IRC.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7d357628d6e8ce3f9e3c3a567ada21f02bce8d42
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded