Bug 132198 - Slow Table lay-outing
Summary: Slow Table lay-outing
Status: RESOLVED DUPLICATE of bug 121720
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks: Writer-Table-Layouting
  Show dependency treegraph
 
Reported: 2020-04-17 16:43 UTC by Telesto
Modified: 2021-07-26 04:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (30.42 KB, application/vnd.oasis.opendocument.text)
2020-04-17 16:44 UTC, Telesto
Details
Perf flamegraph (189.58 KB, image/svg+xml)
2020-08-31 17:16 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-17 16:43:49 UTC
Description:
Slow Table lay-outing

Steps to Reproduce:
1. Open the attached file (somewhere from the bug tracker)
2. Enter cell Szene
3. Hold enter for 4 seconds...

Actual Results:
Layout 'loop' (not sure if recursive) starts.

Expected Results:
It should finish within reasonable time frame


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-04-17 16:44:11 UTC
Created attachment 159664 [details]
Example file
Comment 2 Telesto 2020-04-17 16:54:18 UTC
It's also possible to crash the document. Pressing Enter a view times + UNDO. However, the 90% change hitting a layout loop first
Comment 3 Buovjaga 2020-08-31 17:16:22 UTC
Created attachment 164931 [details]
Perf flamegraph

Repro

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: d784e711c102f204552c3c816636da01b1085f61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 August 2020
Comment 4 Buovjaga 2020-08-31 17:26:39 UTC
Loop doesn't seem to be hit consistently. Tried with some bibisect repos, but not confident to attempt bibisect.
Comment 5 Telesto 2021-06-18 14:18:40 UTC
Lets assume bug 121720 being the root cause

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