https://bugs.documentfoundation.org/show_bug.cgi?id=153131

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=69
                   |                            |039,
                   |                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=15
                   |                            |6657
             Status|NEW                         |NEEDINFO
             Blocks|                            |60251

--- Comment #58 from Michael Weghorn <[email protected]> ---
I can reproduce on Windows 10 (Version 22H2 (OS Build 19045.3448)) as well.

At first glance, it looks like Windows Speech Recognition tries to iterate over
all of the cells of the table (or maybe "just" over the first 2147483648 ones,
since that's the max amount that the 32-bit API allows to return in
`CMAccessible::get_accChildCount`, or whatever other limit Windows Speech
Recognition or some library underneath have).

With a breakpoint in `CMAccessible::get_accChild` [1], I see this getting
called  e.g. with `varChild.lVal = 1141`, then `varChild.lVal = 1142`, etc. And
after letting it run for a while with `varChild.lVal = 3694`, then
`varChild.lVal = 3695`,... Backtrace below.

I can't see anything obviously wrong on LO side here, it seems to be getting
requests via the accessibility API that it is handling correctly.

Without knowing any further details on what Windows Speech Recognition is doing
here, it's hard to further analyze this and I tend to think that Windows Speech
Recognition shouldn't be requesting all of the cells (accessible children of
the table).

Can you please report this issue to Microsoft as well and report back here if
you get any reply from them?


Backtrace:                                                                      

1  CMAccessible::get_accChild        MAccessible.cxx  333  0x7fff7ba4b1ac 
2  CreateStdAccessibleProxyW         OLEACC                0x7fff93119f07 
3  UiaReturnRawElementProvider       uiautomationcore      0x7fff965938de 
4  UiaReturnRawElementProvider       uiautomationcore      0x7fff96594211 
5  UiaReturnRawElementProvider       uiautomationcore      0x7fff965939e8 
6  UiaReturnRawElementProvider       uiautomationcore      0x7fff96598f40 
7  UiaReturnRawElementProvider       uiautomationcore      0x7fff9659b407 
8  UiaGetReservedMixedAttributeValue uiautomationcore      0x7fff965bb46c 
9  DllCanUnloadNow                   uiautomationcore      0x7fff965760fe 
10 UiaClientsAreListening            uiautomationcore      0x7fff965aa999 
11 UiaGetReservedMixedAttributeValue uiautomationcore      0x7fff965b52e6 
12 UiaGetReservedMixedAttributeValue uiautomationcore      0x7fff965b44f1 
13 UiaGetReservedMixedAttributeValue uiautomationcore      0x7fff965b3058 
14 UiaClientsAreListening            uiautomationcore      0x7fff965ab2b8 
15 DllCanUnloadNow                   uiautomationcore      0x7fff965760fe 
16 UiaClientsAreListening            uiautomationcore      0x7fff965aa999 
17 UiaLookupId                       uiautomationcore      0x7fff9658d91e 
18 UiaLookupId                       uiautomationcore      0x7fff9658d744 
19 uiautomationcore                                        0x7fff96567300 
20 uiautomationcore                                        0x7fff96563c9c 
21 DllCanUnloadNow                   uiautomationcore      0x7fff965760fe 
22 DllCanUnloadNow                   uiautomationcore      0x7fff9657c997 
23 DllCanUnloadNow                   uiautomationcore      0x7fff9657c0e9 
24 uiautomationcore                                        0x7fff9656acf7 
25 UiaReturnRawElementProvider       uiautomationcore      0x7fff9659db15 
26 UiaReturnRawElementProvider       uiautomationcore      0x7fff9659d7d7 
27 Ordinal2712                       USER32                0x7fffade2e062 
28 SendMessageTimeoutW               USER32                0x7fffade30c93 
29 KiUserCallbackDispatcher          ntdll                 0x7fffaf850cd4 
30 NtUserGetMessage                  win32u                0x7fffad2c1104 
31 GetMessageW                       USER32                0x7fffade31c0e 
32 ImplSalYield                      salinst.cxx      531  0x7fff641c03da 
33 WinSalInstance::DoYield           salinst.cxx      580  0x7fff641bfe01 
34 ImplYield                         svapp.cxx        377  0x7fff674a7934 
35 Application::Yield                svapp.cxx        462  0x7fff674ab8a2 
36 Application::Execute              svapp.cxx        355  0x7fff674a4c5a 
37 desktop::Desktop::Main            app.cxx          1601 0x7fff7b3c96c2 
38 ImplSVMain                        svmain.cxx       204  0x7fff674bd1bc 
39 SVMain                            svmain.cxx       237  0x7fff674bda22 
40 soffice_main                      sofficemain.cxx  94   0x7fff7b418232 
41 sal_main                          main.c           51   0x7ff787e61013 
42 main                              main.c           49   0x7ff787e6105a 
43 invoke_main                       exe_common.inl   79   0x7ff787e61459 
44 __scrt_common_main_seh            exe_common.inl   288  0x7ff787e6137e 
45 __scrt_common_main                exe_common.inl   331  0x7ff787e6123e 
46 mainCRTStartup                    exe_main.cpp     17   0x7ff787e614ce 
47 BaseThreadInitThunk               KERNEL32              0x7fffae6c7344 
48 RtlUserThreadStart                ntdll                 0x7fffaf8026b1 


[1]
https://git.libreoffice.org/core/+/b47a69ebee54a4b399c90311e17b994635140002/winaccessibility/source/UAccCOM/MAccessible.cxx#333

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6f60670877208612b5ea320b3677480ef6508abb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=60251
[Bug 60251] [META] ACCESSIBILITY: Tracking Windows OS accessibility and AT
issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to