Summary: | Crash / hang when installing new font on windows (worse with Tabbed UI) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | james |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | major | CC: | stephane.guillou, vsfoote |
Priority: | high | Keywords: | haveBacktrace, perf |
Version: | 7.0.0.3 release | ||
Hardware: | All | ||
OS: | Windows (All) | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=105501 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 102985, 107237 | ||
Attachments: |
example font OccusionGrotesque
WinDbg break backtrace while TTF font is being loaded |
Description
james
2023-01-04 16:16:01 UTC
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 |