Need help with debugging LO freeze
Daniel Naber
misc2006 at danielnaber.de
Thu May 3 13:13:37 PDT 2012
Hi,
I'm the author of LanguageTool, a style and grammar checker. We received a
lot of reports that LO freezes for several seconds if LanguageTool is
installed. I have now debugged this and it seems the problem occurs with
LanguageTool but is actually in LO and will also affect other grammar
checkers. My findings are in the bug report - I can see three potential
fixes, all of which might have bad side-effects, but I need help on how to
proceed now:
https://bugs.freedesktop.org/show_bug.cgi?id=35270
In a nutshell: the freeze happens when SvxLinguConfigUpdate::UpdateAll() is
called because it's slow. If we turn on caching in
LngSvcMgr::getAvailableServices(), the freeze is gone. Any help is welcome.
BTW, unless I didn't make a mistake, this also affects LightProof, only that
the freeze if shorter there (<400ms).
Regards
Daniel
--
http://www.danielnaber.de
More information about the LibreOffice
mailing list