Problem description: When the ia2 branch was integrated it seems that this commit made LibreOffice freeze very easily on Mac OS X. http://cgit.freedesktop.org/libreoffice/core/commit/?id=76c549eb01dcb7b5bf28a271ce00e386f3d388ba Since it's a big commit I'm not sure if it will help that much but just in case it does ... Steps to reproduce: 1. Start typing characters fast Current behavior: LibreOffice quickly freezes Expected behavior: Before the commit above it did not freeze. Operating System: Mac OS X Version: 4.3.0.0.alpha0+ Master
Forgot to mention that you need to have VoiceOver running for the freeze to happen.
I finally narrowed it down to the else statement here: http://cgit.freedesktop.org/libreoffice/core/tree/sw/source/core/access/accpara.cxx?id=b1995a2f2d193d12bf189dfcfa2e0fcaa415bbf6#n958 If I remove the else statement then LibreOffice stops freezing. Now the only problem is that I do not really understand what the code is supposed to do so I don't want to remove it blindly. Looking even closer it seems that these parts in the else statement makes the code go into circles. rBound.endPos = min(nNext, rBound.endPos); It seems that this while loop never ends when the line above is called. http://cgit.freedesktop.org/libreoffice/core/tree/vcl/osx/a11ytextattributeswrapper.mm?id=b1995a2f2d193d12bf189dfcfa2e0fcaa415bbf6#n327
Niklas Johansson committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3fa4b0a00f78e940b32d546bac410890719502fd fdo#74983: Instability in A11y after integration of IA2-branch The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I just tried the daily build for windows and after the patch it is crashing the same way as mac did before the patch. Oh I haven't mentioned that auto spellcheck needs to be active for the bug to manifest it self.
This now seems stable on Mac/Windows/Linux so I close this as Resolved - fixed.