Created attachment 125010 [details] testcase Writer mismanages the attached odt testcase, is lost into long compute loops at document opening and when modifying the document content
The document does load (on win32 & underpowered Fedora x86-64 chromebook), it's just pathologically long. It seems writer has lots of problems computing page and column breaks in this document. I did gave up on document loading several times, killing writer and restarting it on the same document usually succeeded (after a looong time). The issue seems to be inherited from openoffice.org.
Confirmed in https://bugs.documentfoundation.org/show_bug.cgi?id=99803#c1 Since bug #99803 uses the same testcase for another problem
Created attachment 125080 [details] Callgrind with 5.2 Took a callgrind of opening the document fully. Arch Linux 64-bit, KDE Plasma 5 Version: 5.2.0.0.alpha1+ Build ID: 1dbdc947fcc9d843764731e6dae7ce60082576e0 CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; Locale: fi-FI (fi_FI.UTF-8) Built on May 14th 2016
After further testing on the actual document that served as basis for the testcase, the loops seem to be linked to the "balance column contents" enabled in some sections. Unchecking this option removes (so far, crossing fingers) the pathologic slowdowns on my test system (5.2.1, win x86_64) So it's probably a broken balancing algorithm.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170929
I just tested it with 5.1.6.2. I didn't have any trouble opening the document, but multiple times it would freeze my entire windowing system when I tried to scroll through page 16. I couldn't get other windows to respond, even. My CPU usage seemed fine though. I think the particular issue described here may be fixed but it's exposing another issue.
Modifying the document doesn't seem to trigger any issues.
Perhaps I spoke too soon. When reloading the document after editing, it did freeze up for a long time.
I'm using Linux Mint 18.1 by the way.
I tried using a build of the trunk that I checked out yesterday. Initial load was fine, but when I used File->Reload it was very slow to open. I see a million of these warnings in my console: warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910 warn:legacy.osl:7671:7671:sw/source/core/layout/wsfrm.cxx:1501: Negative reduction? warn:legacy.osl:7671:7671:sw/source/core/layout/wsfrm.cxx:2764: nDist < 0 warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910 warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910 warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910 warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910 warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by fix i44910
(In reply to Michael Warner from comment #10) > I tried using a build of the trunk that I checked out yesterday. Initial > load was fine, but when I used File->Reload it was very slow to open. I see > a million of these warnings in my console: > > warn:legacy.osl:7671:7671:sw/source/core/layout/tabfrm.cxx:2635: debug > assertion: <SwTabFrame::MakeAll()> - format of table lowers suppressed by > fix i44910 Ah, are you using a build ending with -dbg? Those unfortunately mess with the performance. I'm getting the same load time with reload with a non-debug build. Yet, there is something pathological about the document. Like you say in comment 6, if we scroll the document past half way, it freezes the whole system for a while. Bug 99803 is at least solved, the replace completes in 6 seconds for me. I guess I should open a new report for the scrolling freeze. Arch Linux 64-bit Version: 6.3.0.0.alpha0+ Build ID: 038e4b3b1e10d072b432cb06234521ae9a262a70 CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US Calc: threaded Built on 12 May 2019