[Bug 47287] Accessible Event Watcher Tool 'accevent.exe' from Windows 10 SDK (10.0.17763.x) crashes on unimplemented function oleacc.dll.AccessibleObjectFromEvent

WineHQ Bugzilla wine-bugs at winehq.org
Wed Nov 24 02:55:18 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=47287

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
      Fixed by SHA1|                            |602a36a2538e356ae8e64b442e9
                   |                            |a5ad7f3748bd7

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/602a36a2538e356ae8e64b442e9a5ad7f3748bd7
("oleacc: Implement AccessibleObjectFromEvent.").

Part of Wine 6.17 release.

Thanks Connor. Piotr for the reminder.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x64

$ WINEDEBUG=+seh,+relay,+oleacc wine ./accevent.exe >>log.txt 2>&1
...
0120:Call
oleacc.AccessibleObjectFromEvent(000100b4,00000000,00000000,00118d40,00118ce0)
ret=016b3bc2
0120:trace:oleacc:AccessibleObjectFromEvent 00000000000100B4 0 0
0000000000118D40 0000000000118CE0
...
0120:trace:oleacc:AccessibleObjectFromWindow 00000000000100B4 0
{618736e0-3c3d-11cf-810c-00aa00389b71} 0000000000118BD0
...
0120:trace:oleacc:CreateStdAccessibleObject 00000000000100B4 0
{618736e0-3c3d-11cf-810c-00aa00389b71} 0000000000118BD0
...
0120:trace:oleacc:find_class_data got window class: L"#32768"
...
0120:fixme:oleacc:find_class_data unhandled window class: L"#32768"
0120:trace:oleacc:Window_QueryInterface
(00000000001BBCC0)->({618736e0-3c3d-11cf-810c-00aa00389b71} 0000000000118BD0)
0120:trace:oleacc:Window_AddRef (00000000001BBCC0) ref = 2
0120:trace:oleacc:Window_Release (00000000001BBCC0) ref = 1
0120:fixme:oleacc:Window_get_accChild (00000000001BBCC0)->(0000000000118BE0
{VT_I4: 0} 0000000000118BD8)
0120:trace:oleacc:AccessibleObjectFromEvent get_accChild failed with
0x80004001!
0120:Ret  oleacc.AccessibleObjectFromEvent() retval=00000000 ret=016b3bc2
0120:fixme:oleacc:Window_get_accName (00000000001BBCC0)->(0000000000118BD0
{VT_I4: 0} 0000000000118BB0) 
... 
0120:fixme:oleacc:Window_get_accRole (00000000001BBCC0)->(0000000000118C10
{VT_I4: 0} 0000000000118C30)
...
0120:fixme:oleacc:Window_get_accState (00000000001BBCC0)->(0000000000118C10
{VT_I4: 0} 0000000000118C30)
...
0120:fixme:oleacc:Window_accLocation (00000000001BBCC0)->(0000000000118BD0
0000000000118BD4 0000000000118BD8 0000000000118BDC 0000000000118B70 {VT_I4: 0}) 
...
--- snip ---

Direct download links for minimal install:

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/Windows%20SDK%20for%20Windows%20Store%20Apps%20Tools-x86_en-us.msi

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/15bc5316e373960d82abc253bceaa25d.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/2630bae9681db6a9f6722366f47d055c.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/61d57a7a82309cd161a854a6f4619e52.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/68de71e3e2fb9941ee5b7c77500c0508.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/69661e20556b3ca9456b946c2c881ddd.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/b82881a61b7477bd4eb5de2cd5037fe2.cab

https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/e072b3b3d3164e26b63338dce51862a7.cab

You can get the direct download links by running the the Windows 10 SDK
web-installer, selecting the wanted packages and inspecting the log file.

Alternatively unpack the offline install (ISO in URL field) and "grep" for the
main app MSI package. Run the msi installer multiple times until it doesn't
complain about missing CAB files.

https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/

I've created snapshots for those on archive.org. Just prepend
"https://web.archive.org/web/*/" to the original direct links from MDC.

One liner for downloading all required payloads:

--- snip ---
for file in \
    15bc5316e373960d82abc253bceaa25d.cab \
    2630bae9681db6a9f6722366f47d055c.cab \
    61d57a7a82309cd161a854a6f4619e52.cab \
    68de71e3e2fb9941ee5b7c77500c0508.cab \
    69661e20556b3ca9456b946c2c881ddd.cab \
    b82881a61b7477bd4eb5de2cd5037fe2.cab \
    e072b3b3d3164e26b63338dce51862a7.cab \
    e3d1b35aecfccda1b4af6fe5988ac4be.cab \
    "Windows SDK for Windows Store Apps Tools-x86_en-us.msi" ; \
do \
    wget
"https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/Installers/$file"
|| break ; \
done
--- snip ---

Minimal install:

--- snip ---
$ wine msiexec -i "Windows SDK for Windows Store Apps Tools-x86_en-us.msi"
--- snip ---

After minimal install:

--- snip ---
$ find .wine/drive_c/ -iname "acc*.exe"

.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm64/AccChecker/AccCheckConsole.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm64/AccChecker/acccheckui.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm64/accevent.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x64/AccChecker/AccCheckConsole.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x64/AccChecker/acccheckui.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x64/accevent.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm/AccChecker/AccCheckConsole.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm/AccChecker/acccheckui.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/arm/accevent.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x86/AccChecker/AccCheckConsole.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x86/AccChecker/acccheckui.exe
.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x86/accevent.exe
--- snip ---

$ wine --version
wine-6.22

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list