Created attachment 127344 [details] perf profile excerpt Hi, After upgrading libreoffice on debian unstable (to 1:5.2.1-2, but previous 5.2 releases also are affected) it became unusably slow. Every focus, even in a newly created document, of a text input element takes 10-15s. Deleting libreoffice's profile doesn't change anything. A fair amount of debugging revealed that that's only the case if the gtk3 integration is used. Uninstalling it restores acceptable speed. Profiles while the 100% CPU periods all roughly look like in the first attached document. The non-opened (to reduce size) callers all lead back to OutputDevice::ImplUpdateAllFontData. I've also attached a strace excerpt of one of the 100% period. There repeatedly seems to be a configmgrWriter thread started (c.f. clone() and prctl(PR_SET_NAME, "configmgrWriter\0") = 0), and several font files (like /usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf) opened. If there's anything I can do to help to nail this further... Regards, Andres
Created attachment 127345 [details] strace excerpt
Debian bugs that might be relevant: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837356 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836531 Note the first reports that a downgrade of gtk3 might solve the problem: > Downgrading Gtk3 to 3.20.9-1 fixes the bug!!
Looking at the bugs you indicated, it seems already fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=ef7abe81df10cb8a8c04afbb1fbe700f94e73f04