Bug 142731 - Cannot open 92-pages DOCX from 6.4
Summary: Cannot open 92-pages DOCX from 6.4
Status: RESOLVED DUPLICATE of bug 146955
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-SAXParse
  Show dependency treegraph
Reported: 2021-06-09 11:13 UTC by Timur
Modified: 2022-08-14 16:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

DOCX (426.48 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-09 11:20 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2021-06-09 11:13:55 UTC
This is DOCX follow-up of DOC bug 111341 that was fixed in 7.2+.
Attached is MSO saved DOCX from original DOC (that had macro, but DOCX is macro-free). DOCX is 92 pages.

Fileopen in 7.2+ master shows error: SAXException: word/footnotes-xml line 2. Proceeding loads a single page so NOK. 
That's a change from oldest where CPU would go high and freeze it. 
Previously, LO 6.4 oldest could open it (113 pages) and LO 6.4 master had high CPU (I didn't wait to see how high, I limited it).
Comment 1 Timur 2021-06-09 11:20:32 UTC
Created attachment 172728 [details]
Comment 2 Timur 2021-06-09 11:31:22 UTC
To reproduce from 6.4, keep PageDown to scroll to the end after opening. 

Bibisect in 6.4 Linux points to f661f818493e6206faeb004ea319a0204cb4fb53 which gives a range:

Hi Michael, please see, it's all your commits.
Comment 3 Timur 2021-06-09 11:44:42 UTC
Change in 7.2:
commit 93d819a322e6351c4474db0f481fc8d939973bf9
Date:   Fri Feb 12 18:33:12 2021 +0100
    source 9b39ce0e66acfe812e1d50e530dc2ccdef3e1357
    previous 3380163bc0fb9dab7f289cc36b0eeb0c9b3ddaa9

author	László Németh <nemeth@numbertext.org>	2021-02-10 00:12:52 +0100
tdf#76260 DOCX import: fix slow footnote import

So far, I consider primary regression that one in 6.4 and I don't add László here, not I link to bug 76260 because of large number of CCs.
Comment 4 Telesto 2021-06-10 07:11:14 UTC
Version: (x64) / LibreOffice Community
Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 5 Gabor Kelemen (allotropia) 2022-08-14 16:23:23 UTC
This was fixed in 7.4 with:


author	László Németh <nemeth@numbertext.org>	2022-05-25 11:57:13 +0200
committer	László Németh <nemeth@numbertext.org>	2022-05-26 20:26:13 +0200

tdf#146955 DOCX import: fix SAX exception with footnotes

*** This bug has been marked as a duplicate of bug 146955 ***