Bug 143537 - FILEOPEN DOCX Document with tables goes into infinite loop in fastparser code
Summary: FILEOPEN DOCX Document with tables goes into infinite loop in fastparser code
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.beta1+
Hardware: x86-64 (AMD64) All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Opening
  Show dependency treegraph
 
Reported: 2021-07-25 17:00 UTC by elias estatistics
Modified: 2024-09-10 15:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
a docx file of MS office (758.00 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-07-25 17:00 UTC, elias estatistics
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elias estatistics 2021-07-25 17:00:35 UTC
Created attachment 173837 [details]
a docx file of MS office

It fails to open a .docx document.
Comment 1 Julien Nabet 2021-07-25 17:26:01 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

It seems there's a never ending loop in https://opengrok.libreoffice.org/xref/core/sax/source/fastparser/fastparser.cxx?r=ceef618f#1091
Comment 2 elias estatistics 2021-07-25 18:32:57 UTC
I transformed .docx files through online service to .odt and they were opened.
Comment 3 elias estatistics 2022-10-14 09:51:57 UTC
repro with

 Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: af2879e434fa0dc6b2a626617ed865e4f66eb5ad
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2024-09-10 15:07:04 UTC
Still loopy.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 880096c3a970389de9f1272509d2d03df046570a
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 10 September 2024