Bug 133633 - LO crashes with SuperNova Magnifier & ScreenReader
Summary: LO crashes with SuperNova Magnifier & ScreenReader
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All Windows (All)
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:7.1.0 target:7.0.0.1 target:6.4.5
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-03 11:59 UTC by Michael Weghorn
Modified: 2020-06-04 07:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Video demonstrating the issue (4.74 MB, video/webm)
2020-06-03 12:01 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2020-06-03 11:59:51 UTC
Description:
When the SuperNova Magnifier & Screen Reader [1] is used on Windows, LibreOffice crashes every once in a while.

[1] https://yourdolphin.com/products/individuals/supernova-magnifier-screen-reader

Steps to Reproduce:
1. install and start SuperNova
2. start LibreOffice Calc, click around "wildly" while typing


Actual Results:
After a while, LibreOffice crashes, s. attached screencast. (It usually took less than a minute in my case. Unfortunately I could not come up with a better way to reliable reproduce this.)

Expected Results:
no crash


Reproducible: Sometimes


User Profile Reset: Yes



Additional Info:
SuperNova is proprietary software. Version used (German):

SuperNova-Bildschirmvergrößerung und Screen Reader
Version 19.02
Build 2438
Enterprise Edition

LibreOffice version:

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 41d8b41767032681a9897b7551f011d450e3725e
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2020-06-03 12:01:17 UTC
Created attachment 161572 [details]
Video demonstrating the issue
Comment 2 Michael Weghorn 2020-06-03 12:02:45 UTC
This was originally observed by other users in our organization with a 6.1-based LibreOffice version.

I've taken a look, will submit a patch soon.
Comment 3 Michael Weghorn 2020-06-03 12:14:15 UTC
(In reply to Michael Weghorn from comment #2)
> I've taken a look, will submit a patch soon.

-> https://gerrit.libreoffice.org/c/core/+/95430
Comment 4 Michael Weghorn 2020-06-03 12:33:56 UTC
Backtrace for the crash:

    1  CMAccessible::get_accFocus     MAccessible.cxx  793  0x7fffe66c4aab 
    2  ObjectFromLresult              OLEACC                0x7ff813f89024 
    3  ObjectFromLresult              OLEACC                0x7ff813f88fde 
    4  WindowPattern_WaitForInputIdle uiautomationcore      0x7ff8142ada04 
    5  UiaRegisterProviderCallback    uiautomationcore      0x7ff814239fc9 
    6  WindowPattern_WaitForInputIdle uiautomationcore      0x7ff8142e9864 
    7  WindowPattern_WaitForInputIdle uiautomationcore      0x7ff81429fd15 
    8  WindowPattern_WaitForInputIdle uiautomationcore      0x7ff8142abe7e 
    9  UiaRegisterProviderCallback    uiautomationcore      0x7ff814242f37 
    10 UiaReturnRawElementProvider    uiautomationcore      0x7ff8141e5ad2 
    11 uiautomationcore                                     0x7ff8141cc05b 
    12 uiautomationcore                                     0x7ff8141cb4fd 
    13 uiautomationcore                                     0x7ff8141c9cc9 
    14 UiaReturnRawElementProvider    uiautomationcore      0x7ff8141ea7e7 
    15 uiautomationcore                                     0x7ff8141c37d0 
    16 uiautomationcore                                     0x7ff8141c34d7 
    17 Ordinal2712                    USER32                0x7ff82c8bf736 
    18 IsWindowVisible                USER32                0x7ff82c8c1f73 
    19 KiUserCallbackDispatcher       ntdll                 0x7ff82cc7fde4 
    20 NtUserPeekMessage              win32u                0x7ff829f910c4 
    21 PeekMessageW                   USER32                0x7ff82c8b94e2 
    22 PeekMessageW                   USER32                0x7ff82c8b9449 
    23 ImplHandleKeyMsg               salframe.cxx     3623 0x7fffe34fbcd7 
    24 SalFrameWndProc                salframe.cxx     5576 0x7fffe3502837 
    25 SalFrameWndProcW               salframe.cxx     5894 0x7fffe3503630 
    26 CallWindowProcW                USER32                0x7ff82c8b5c0d 
    27 DispatchMessageW               USER32                0x7ff82c8b5602 
    28 ImplSalDispatchMessage         salinst.cxx      425  0x7fffe3488ed8 
    29 ImplSalYield                   salinst.cxx      456  0x7fffe3489017 
    30 WinSalInstance::DoYield        salinst.cxx      527  0x7fffe3488911 
    31 ImplYield                      svapp.cxx        455  0x7fffe5abb935 
    32 Application::Yield             svapp.cxx        520  0x7fffe5abe826 
    33 Application::Execute           svapp.cxx        434  0x7fffe5ab9101 
    34 desktop::Desktop::Main         app.cxx          1602 0x7ffff7057283 
    35 ImplSVMain                     svmain.cxx       200  0x7fffe5acec5e 
    36 SVMain                         svmain.cxx       233  0x7fffe5acf3c2 
    37 soffice_main                   sofficemain.cxx  98   0x7ffff709e6d4 
    38 sal_main                       main.c           48   0x7ff7ac121013 
    39 main                           main.c           47   0x7ff7ac12105a 
    40 invoke_main                    exe_common.inl   79   0x7ff7ac121469 
    41 __scrt_common_main_seh         exe_common.inl   288  0x7ff7ac12138e 
    42 __scrt_common_main             exe_common.inl   331  0x7ff7ac12124e 
    43 mainCRTStartup                 exe_main.cpp     17   0x7ff7ac1214d9 
    44 BaseThreadInitThunk            KERNEL32              0x7ff82b147bd4 
    45 RtlUserThreadStart             ntdll                 0x7ff82cc4ce51
Comment 5 Commit Notification 2020-06-03 15:25:27 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f5f9cac0c5f04246718c438b4673b36e803fda29

tdf#133633 winaccessibility: Add null check

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2020-06-03 18:27:44 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/b062daefa9efe63b0c5be395ae6fc3aecc25259a

tdf#133633 winaccessibility: Add null check

It will be available in 7.0.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2020-06-04 07:42:26 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "libreoffice-6-4":

https://git.libreoffice.org/core/commit/bf5e0dc9bd54069f57f41de8746dc29d0ec41061

tdf#133633 winaccessibility: Add null check

It will be available in 6.4.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.