Description: Libreoffice Crashes if a new font is installed while libreoffice is open. Windows 10 x64 Steps to Reproduce: 1. On a windows 10 x64 PC, Open any Libreoffice application 2. Open a new font (.ttf or .otf) 3. Click install on the font viewer Actual Results: Libreoffice Crashes Expected Results: Crash should not occure (I would expect to close and re-open libreoffice to show the newly installed fonts) Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.4.3.2 (x64) / LibreOffice Community Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: CL
Thank you James. I could not reproduce a crash installing a TTF with the Windows Font Viewer while the below versions of writer were open, however it would hang for a few seconds, with a peak at 100% CPU usage of one core, enough to be a nuisance. This is using the standard toolbar UI. With the Tabbed UI, it would hang more significantly, up to 15 seconds at 100% of one core. Were you using the Tabbed UI, James? Versions tested: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b5c3a7502f7ff6ccf0f829c1f3a2ba50b8584c41 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-IN (en_GB); UI: en-GB Calc: threaded Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: ja-JP (en_GB); UI: en-GB Calc: threaded Version: 7.4.6.1 (x64) / LibreOffice Community Build ID: cf1691909b7b17c5e258d2635cae0072cf471be7 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded Couldn't reproduce on Ubuntu 20.04 with LO 7.6 alpha0+, so marking it as windows-only.
Hello, Yes, I am using the tabbed UI. I ahve just tried it again, I can also confirm I'm seeing 100% usage of one core, however in my case, it continues for over a minute. After some time it does start responding again, but stull with the high CPU usage. Thanks, James
We also have bug 105501 but it's about large fonts and I have tested with 16-KB fonts here, so there's definitely something extremely inefficient happening.
Created attachment 186156 [details] example font OccusionGrotesque
Created attachment 186160 [details] WinDbg break backtrace while TTF font is being loaded broke into soofice.bin while a TTF font from attachment 186156 [details] was being installed. Multiple calls to vcl::WindowOutputDevice::ImplRefreshFontData