Bug 162978 - LibreOffice freezes/hangs when opening multiple files.
Summary: LibreOffice freezes/hangs when opening multiple files.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-15 17:18 UTC by Apocalypse612
Modified: 2024-11-13 17:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Apocalypse612 2024-09-15 17:18:54 UTC
Description:
LibreOffice freezes for about a minute or two when I have several LibreOffice files already open (.odt's and .ods's, but .docx's and .xlsx files also apply).

At the moment, to reproduce this bug 100% of the time, I have x2 .odt and x2 .ods files open. When opening the fifth file, for example, another .odt (LibreWriter Document), the app freezes/hangs for ~1-2 minutes, then finally loads.

I tried disabling OpenCL but the issue persists. I do get a slight hang when opening the first 4 files (file #1 is always instant, then it gets slower from there), but on the 5th file and onwards LibreOffice runs into MAJOR issues. Please help.

Steps to Reproduce:
1. Have multiple documents open at once, then open another document.
2.
3.

Actual Results:
Don't know what this means, listed problem above.

Expected Results:
App not freezing or hanging.


Reproducible: Always


User Profile Reset: No

Additional Info:
Win 11 x64
Comment 1 m_a_riosv 2024-09-15 20:51:41 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode

Please paste here the information on Menu/Help/About LibreOffice (There is an icon to copy)
Comment 2 Apocalypse612 2024-09-15 21:08:50 UTC
The apps till hangs on document #'s 3-4+ (LibreOffice writer only) after opening safe mode and reverting to factory default settings, but the wait time is far less (down to about 10 seconds max), but I have no idea why.

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Apocalypse612 2024-09-15 21:12:02 UTC
From my view, the most important performance settings are the same on my user settings versus the default, which includes:

Menu --> LibreOffice --> View
[x] Use anti-aliasing
[x] Use Skia for allr rendering

Menu --> LibreOffice --> OpenCL
[x] Allow use of OpenCL

Though on safe mode, the settings are toggled on but it says OpenCL and Skia are both disabled for some reason.
Comment 4 m_a_riosv 2024-09-16 01:18:25 UTC
The reason to disable Skia and OpenCL in Safe Mode, it because they don't pass the test.

Please try updating the graphics driver, directly from the vendor,
Comment 5 Apocalypse612 2024-09-16 12:18:54 UTC
Done with the same issue.

Is there a way to generate a log or something to see where the app is hanging n LibreWriter?
Comment 6 Apocalypse612 2024-09-16 13:30:40 UTC
An interesting behavior is that even if I have 3-4+ LibreOffice writer documents open, if I use File --> New --> Text document from Writer, it'll always open the next document instantly. Obviously not the case for opening existing files, though.
Comment 7 QA Administrators 2024-09-18 03:17:36 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2024-11-13 17:29:32 UTC
It might be interesting to try with a master build, Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html

I'm not sure how to do performance debugging on Windows. I only do it on Linux on my own, non-debug, but symbols-enabled build: https://wiki.documentfoundation.org/Development/How_to_debug#Performance_debugging_(perf)