https://bugs.winehq.org/show_bug.cgi?id=56259
Bug ID: 56259 Summary: Microsoft Webview 2 installer hangs forever Product: Wine Version: 9.1 Hardware: x86-64 URL: https://developer.microsoft.com/en-us/microsoft-edge/w ebview2/?form=MA13LH OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Created attachment 75970 --> https://bugs.winehq.org/attachment.cgi?id=75970 stub that lets installer finish
A user reported troubles with this at the forum. Apparently (didn't verify this) the installer works in win 7 because it downloads an older version of webview2. When version is set to win10 another version seems to be downloaded.
See https://forum.winehq.org/viewtopic.php?t=38443
A +relay showed following trace, the kernelbase.SleepConditionVariableCS sequence keeps going on and on forever.
Adding a stub for the function that the program tries to find (RtlGetDeviceFamilyInfoEnum) just before the "loop" of SleepConditionVariableCS, makes the installer succeed for me (it exits without a success message, but the files seem to be installed).
I'll try to add a test and submit the patch later
+relay log:
0204:Call KERNEL32.GetProcAddress(6fffffc50000,14038602f "RtlGetDeviceFamilyInfoEnum") ret=1401736ba 0204:Ret KERNEL32.GetProcAddress() retval=00000000 ret=1401736ba 0204:Call kernelbase.SleepConditionVariableCS(1403deb48,1403deb58,00000064) ret=14020442a 0204:Call ntdll.RtlSleepConditionVariableCS(1403deb48,1403deb58,7ffffe1ff2f8) ret=6fffff4cbd7d 0204:Ret ntdll.RtlSleepConditionVariableCS() retval=00000102 ret=6fffff4cbd7d 0204:Call ntdll.RtlNtStatusToDosError(00000102) ret=6fffff4cbd98 0204:Ret ntdll.RtlNtStatusToDosError() retval=000005b4 ret=6fffff4cbd98 0204:Ret kernelbase.SleepConditionVariableCS() retval=00000000 ret=14020442a 0204:Call kernelbase.SleepConditionVariableCS(1403deb48,1403deb58,00000064) ret=14020442a 0204:Call ntdll.RtlSleepConditionVariableCS(1403deb48,1403deb58,7ffffe1ff2f8) ret=6fffff4cbd7d 0204:Ret ntdll.RtlSleepConditionVariableCS() retval=00000102 ret=6fffff4cbd7d