Bug 143011 - FILEOPEN ODT: Writer hangs opening a file containing a table nested into another table with specific heights
Summary: FILEOPEN ODT: Writer hangs opening a file containing a table nested into anot...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: File-Opening Memory Performance CPU-AT-100%
  Show dependency treegraph
 
Reported: 2021-06-23 16:21 UTC by Michele Salvador
Modified: 2024-04-25 06:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Writer hangs opening this ODT file (11.49 KB, application/vnd.oasis.opendocument.text)
2021-06-23 16:24 UTC, Michele Salvador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Salvador 2021-06-23 16:21:27 UTC
Description:
I created an ODT document with LO Writer that hangs on opening.
Table1 is 2x2 and with specific row heights.
Table1.B1 and Table1.B2 are merged.
Table2 is nested inside Table1.B1:B2.
Table2.A1 has specific height too.

Steps to Reproduce:
1. Open the attached ODT file.

Actual Results:
Writer hangs for undefined time.

Expected Results:
The file should open.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
The file can be "opened" creating a new Writer document and then Insert > Text from File...

For the hanging to happen, Table2.A1 must be higher than Table1.A1.

The problem disappears clicking on Table1.A2 > Minimize Row Height.

The original file was created with LO Writer 6.x.
This file has then been simplified to the essential.
I don't remember the exact steps I did to obtain the hanging, so I'm unable to recreate a new file that produces the same result.
Comment 1 Michele Salvador 2021-06-23 16:24:27 UTC
Created attachment 173114 [details]
Writer hangs opening this ODT file
Comment 2 Roman Kuznetsov 2021-06-24 13:51:20 UTC
confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

and in 4.4.7 too

possibly ODT is broken

ODF validator shows many errors

but anyway LO should just shows an error message about broken ODT file at once but not hangs

I'm not sure about Status, but set it to NEW as I see the problem
Comment 3 Roman Kuznetsov 2022-05-25 10:25:55 UTC
Still repro in

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: b6266207b55a7633dc82b02142215757512adfb7
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

and I see the memory leak also