Problem description: When the ia2 branch was integrated it seems that this commit made LibreOffice freeze very easily on Mac OS X.
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
LibreOffice quickly freezes
Before the commit above it did not freeze.
Operating System: Mac OS X
Version: 22.214.171.124.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:
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.
Niklas Johansson committed a patch related to this issue.
It has been pushed to "master":
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:
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.