https://bugs.winehq.org/show_bug.cgi?id=46090
Bug ID: 46090 Summary: TopoEdit tool from Windows 10 SDK (10.0.17763.x) needs 'ext-ms-win-shell-comctl32-init-l1-1-0.dll' stub dll Product: Wine Version: 3.19 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ext-ms-win-* Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
root cause of bug 46089 (" TopoEdit tool from Windows 10 SDK (10.0.17763.x) crashes in ntdll.LdrResolveDelayLoadedAPI during resolver failure (NULL dll failure hook)") is the missing dll.
Encountered while playing with some 64-bit ARM apps from Win10 SDK (running in qemuarm64 machine). Most likely present with x86_64 Wine too.
Trace log:
--- snip --- $ WINEDEBUG=+seh,+relay,+loaddll,+process,+module,+ntdll wine64 ./topoedit.exe
log.txt 2>&1
... 002b:Ret PE DLL (proc=0x180035d70,module=0x180000000 L"tedutil.dll",reason=PROCESS_ATTACH,res=0x22fc48) retval=1 002b:trace:module:process_attach (L"tedutil.dll",0x22fc48) - END 002b:trace:module:process_attach (L"topoedit.exe",0x22fc48) - END 002b:Starting process L"Z:\home\focht\Downloads\win10sdk_arm64\arm64\topoedit.exe" (entryproc=0x14001ddb0) ... 002b:Call KERNEL32.LoadLibraryExW(140020a08 L"TEDUTIL.dll",00000000,00000000) ret=140012c64 ... 002b:Ret KERNEL32.LoadLibraryExW() retval=180000000 ret=140012c64 002b:Call ntdll.LdrResolveDelayLoadedAPI(140000000,140022588,00000000,7b43da8c,140027010,00000000) ret=14001e8fc 002b:fixme:module:LdrResolveDelayLoadedAPI (0x140000000, 0x140022588, (nil), 0x7b43da8c, 0x140027010, 0x00000000), partial stub 002b:trace:module:load_dll looking for L"ext-ms-win-shell-comctl32-init-l1-1-0.dll" in L"Z:\home\focht\Downloads\win10sdk_arm64\arm64;C:\windows\system32;C:\windows\system;C:\windows;.;C:\windows\system32;C:\windows;C:\windows\system32\wbem" ... 002b:trace:module:get_load_order looking for L"ext-ms-win-shell-comctl32-init-l1-1-0.dll" 002b:trace:module:get_load_order got hardcoded default for L"ext-ms-win-shell-comctl32-init-l1-1-0.dll" 002b:trace:module:load_builtin_dll Trying built-in L"ext-ms-win-shell-comctl32-init-l1-1-0.dll" 002b:warn:module:load_builtin_dll cannot open .so lib for builtin L"ext-ms-win-shell-comctl32-init-l1-1-0.dll": /home/focht/projects/wine/mainline-install-aarch64/bin/../lib64/wine/ext-ms-win-shell-comctl32-init-l1-1-0.dll.so: cannot open shared object file: No such file or directory 002b:warn:module:load_dll Failed to load module L"ext-ms-win-shell-comctl32-init-l1-1-0.dll"; status=c0000135 002b:trace:seh:raise_exception info[0]=0000000000000000 002b:trace:seh:raise_exception info[1]=0000000000000000 002b:trace:seh:call_stack_handlers calling handler at 0x7b4d6330 code=c0000005 flags=0 002b:Call ntdll.NtCurrentTeb() ret=7b466c40 002b:Ret ntdll.NtCurrentTeb() retval=7ffd8000 ret=7b466c40 002b:Call ntdll.NtCreateEvent(0022edf0,001f0003,0022edf8,00000000,00000000) ret=7b466f00 002b:Ret ntdll.NtCreateEvent() retval=00000000 ret=7b466f00 002b:Call ntdll.NtCurrentTeb() ret=7b4c5924 002b:Ret ntdll.NtCurrentTeb() retval=7ffd8000 ret=7b4c5924 wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 002b), starting debugger... ... System information: Wine build: wine-3.19-117-g4852130c82 Platform: arm64 Version: Windows 8.1 Host system: Linux Host version: 4.14.67-yocto-standard --- snip ---
Further information:
https://www.geoffchappell.com/studies/windows/win32/apisetschema/history/set... ("API Sets Added For Windows 10.0 - Geoff Chappell")
$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 815M 17763.1.180914-1434.rs5_release_WindowsSDK.iso
Regards
https://bugs.winehq.org/show_bug.cgi?id=46090
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://software-download.m | |icrosoft.com/download/pr/17 | |763.1.180914-1434.rs5_relea | |se_WindowsSDK.iso Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=46090
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com, | |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de --- Still didn't find that dll in my win10 install even after several painful updates. Adding Andrey Gusev, hopefully he can help
https://bugs.winehq.org/show_bug.cgi?id=46090
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46090
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
stable link from Internet Archive in case MS takes old stuff offline:
https://web.archive.org/web/20190317015617/https://software-download.microso...
--- snip --- $ mkdir -p unpacked && cd $_
$ 7z x ../17763.1.180914-1434.rs5_release_WindowsSDK.iso
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (306C3),ASM,AES-NI)
Scanning the drive for archives: 1 file, 854036480 bytes (815 MiB)
Extracting archive: ../17763.1.180914-1434.rs5_release_WindowsSDK.iso -- Path = ../17763.1.180914-1434.rs5_release_WindowsSDK.iso Type = Udf Physical Size = 854036480 Comment = KSDKWIN10_MULFRE_EN-US_DV5 Cluster Size = 2048 Created = 2018-09-16 02:00:00
Everything is Ok
Folders: 4 Files: 306 Size: 852474369 Compressed: 854036480
$ ll total 1344 drwx------. 2 focht focht 20480 Sep 15 2018 Installers drwx------. 4 focht focht 4096 Sep 15 2018 Redistributable -rw-rw-r--. 1 focht focht 1351600 Sep 15 2018 WinSDKSetup.exe --- snip ---
Install prerequisite: 'winetricks -q dotnet45 arial'
Unfortunately I couldn't find the tool after running full install. It might be a regression. I manually extracted the x64 version from CAB file and placed it in install folder.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64
$ winedump -j import topoedit.exe Contents of topoedit.exe: 206384 bytes
... grAttrs 00000001 offset 0001d508 ext-ms-win-shell-shell32-l1-2-0.dll Hint/Name Table: 0001e9c8 Address Table: 00025040 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) Thunk Ordn Name 00025040 94 ShellExecuteW
grAttrs 00000001 offset 0001d528 ext-ms-win-shell-comdlg32-l1-1-0.dll Hint/Name Table: 0001e9a8 Address Table: 00025020 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) Thunk Ordn Name 00025020 4 CommDlgExtendedError 00025028 12 GetSaveFileNameW 00025030 10 GetOpenFileNameW
grAttrs 00000001 offset 0001d548 ext-ms-win-shell-comctl32-init-l1-1-0.dll Hint/Name Table: 0001e998 Address Table: 00025010 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) Thunk Ordn Name 00025010 8 InitCommonControlsEx
Done dumping topoedit.exe --- snip ---
Tidbit: Might be useful later to test Wine's Media Foundation:
--- snip --- offset 0001d838 MF.dll Hint/Name Table: 0001EDB8 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 0001B130 Thunk Ordn Name 0001b130 67 MFCreateTopology 0001b138 68 MFCreateTopologyNode 0001b140 81 MFGetService 0001b148 89 MFRequireProtectedEnvironment 0001b150 27 MFCreateAudioRendererActivate 0001b158 75 MFCreateVideoRendererActivate 0001b160 66 MFCreateTopoLoader 0001b168 69 MFCreateTranscodeProfile 0001b170 71 MFCreateTranscodeTopology 0001b178 91 MFTranscodeGetAudioOutputAvailableTypes 0001b180 78 MFEnumDeviceSources 0001b188 43 MFCreateMediaSession 0001b190 48 MFCreatePMPMediaSession
offset 0001d84c MFPlat.DLL Hint/Name Table: 0001EE28 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 0001B1A0 Thunk Ordn Name 0001b1a0 198 MFShutdown 0001b1a8 40 MFCreateAsyncResult 0001b1b0 165 MFInvokeCallback 0001b1b8 41 MFCreateAttributes 0001b1c0 68 MFCreateMediaType 0001b1c8 89 MFCreateSourceResolver 0001b1d0 203 MFTEnumEx 0001b1d8 199 MFStartup --- snip ---
$ wine --version wine-4.8-343-g27bf52d12c
Regards
https://bugs.winehq.org/show_bug.cgi?id=46090
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f1c60104a7bd23ade044332978f | |256dc643d4a89 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commit/f1c60104a7bd23ade044332978f256... ("ext-ms-win-shell-comctl32-init-l1-1-0: Add dll.")
and follow-up commits, although these are not explicitly listed in summary.
* https://source.winehq.org/git/wine.git/commitdiff/f40c21c3c307c9bce1dafcdedf... ("ext-ms-win-shell-comdlg32-l1-1-0: Add dll.")
* https://source.winehq.org/git/wine.git/commitdiff/48505cad0564570edb6a6dd277... ("ext-ms-win-shell-shell32-l1-2-0: Add dll.")
See my comment #2 imports table dump.
Thanks Andrey
It still crashes to missing API set forwards, deserving a new bug report.
$ wine --version wine-4.9-46-g3139727a97
Regards
https://bugs.winehq.org/show_bug.cgi?id=46090
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.10.
https://bugs.winehq.org/show_bug.cgi?id=46090
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://software-download.m |https://web.archive.org/web |icrosoft.com/download/pr/17 |/20190317015617/https://sof |763.1.180914-1434.rs5_relea |tware-download.microsoft.co |se_WindowsSDK.iso |m/download/pr/17763.1.18091 | |4-1434.rs5_release_WindowsS | |DK.iso
https://bugs.winehq.org/show_bug.cgi?id=46090
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ext-ms-win-* |apiset