Apache OpenOffice (AOO) Bugzilla – Issue 124495
Crash when open document
Last modified: 2017-08-16 22:30:40 UTC
Created attachment 82962 [details] fault message SYMPTOMS: Open an odt document Go to "OpenOffice -" Settings " Click" Open Office Writer " " OpenOffice "is terminated bug report is created recovery option is displayed.
I was not able to reproduce the described crash on Mac OS X 10.9.2 nor with AOO 4.0.1 neither in AOO 4.1.0 Beta. @p.jungwirt: - Does the crash also occur, if you create a new text document instead of loading one? - Does the crash occur with every ODF text document (*.odt)? - Does the crash also occur with text document in other file formats (e.g. *.txt, *.rtf, *.doc, *.docx)
The bugdoc shows an endless recursion in hitTestRunner (vcl/aqua/source/a11y/aqua11ywrapper.mm). This implies that accessibility support has to be active in order to reproduce the bug. @p.jungwirt: Did you have accessibility support active when the crash occured?
At the moment I can not debug on Mac. After looking at the code and the stack trace maybe the following scenario could explain the crash: hitTestRunner is called for some (yet unknown) control C0. A call to getAccessibleAtPoint returns another control C1 for the given point. hitTestRunner is called for C1, does not find any control via getAccessibleAtPoint, and iterates over all children of C1. One of the children is C0. hitTestRunner is called again for C0 and we are in a loop that ends with a stack overflow. If this scenario is correct then the only thing I can say about C0 is that its accessible role is not AccessibleRole::LIST.
No news from OP: closed