Bug 126704 - LibreOffice hangs when you open a document
Summary: LibreOffice hangs when you open a document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks:
 
Reported: 2019-08-05 10:55 UTC by progmo
Modified: 2023-10-11 08:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
doc (22.60 KB, application/vnd.oasis.opendocument.text)
2019-08-05 10:56 UTC, progmo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description progmo 2019-08-05 10:55:18 UTC
Description:
LibreOffice hangs when you open a document

Actual Results:
hangs when you open a document

Expected Results:
the document should open


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 progmo 2019-08-05 10:56:56 UTC
Created attachment 153137 [details]
doc
Comment 2 Xisco Faulí 2019-08-05 11:05:06 UTC
it takes

real	1m25,706s
user	1m24,910s
sys	0m0,410s

in

Version: 6.4.0.0.alpha0+
Build ID: 620fff54ca9cd04459cc5d963ef94d4438129fe4
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Xisco Faulí 2019-08-05 11:20:24 UTC
Regression introduced by https://cgit.freedesktop.org/libreoffice/core/commit/?id=6f5024de2e1a5cc533527e45b33d9a415467c48d which is the same as in bug 121720
Closing as RESOLVED DUPLICATED

*** This bug has been marked as a duplicate of bug 121720 ***
Comment 4 Timur 2023-10-10 17:34:54 UTC
Sems wrong assumption... Fixed in 7.1 with:

commit 583ca42c3f83058aa6ccfff1063aef373d98e4c8	[log]
author	Michael Stahl <michael.stahl@allotropia.de>	Fri Jun 25 10:25:59 2021 +0200
committer	Thorsten Behrens <thorsten.behrens@allotropia.de>	Mon Jun 28 09:40:54 2021 +0200
tree 844213d328ea14b8b7c70f72c45d2195c5b55270
parent 82ec493928ae35d224ffdc735fd8e427c390610c [diff]

sw: layout: fix table split loop caused by RemoveFollowFlowLinePending

In no_view.odt, the table 1340 does RemoveFollowFlowLine(), then splits
again, and by the time Split() returns, its flag
m_bRemoveFollowFlowLinePending is set and so in the next
SwTabFrame::MakeAll() it will do the same thing again, until eventually
it hits
layact.cxx:544: LoopControl_1 in SwLayAction::InternalAction

The flag is set during lcl_RecalcSplitLine(), in SwContentFrame::Cut(),
which operates under the assumption that there are no other cells in the
follow flow line that may contain content frames.

This only happens if "Verdana" and "Arial" fonts are available and not
substituted with "DejaVu Sans" etc.