[Bug 48988] Riot Vanguard (Riot Games) 'vgk.sys' needs KSHARED_USER_DATA access instruction emulation for 'CMP r/m16/32/64, r16/32/64'

WineHQ Bugzilla wine-bugs at winehq.org
Thu Oct 28 14:41:17 CDT 2021


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

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

revisiting, still present. Also encountered with Vanguard v1.0.x.x versions.

https://web.archive.org/web/20211026070447/https://riot-client.secure.dyn.riotcdn.net/channels/public/rccontent/vanguard/1.0.5.251/setup.exe

v1.0.x.x needs bug 51939 to be worked around to come to this place.

--- snip ---
$ WINEDEBUG=+seh,+relay,+ntoskrnl,+module,+imports wine net start vgk >>log.txt
2>&1
...
0118:trace:seh:dispatch_exception code=c0000005 flags=0 addr=00000000012F45B8
ip=00000000012F45B8 tid=0118
0118:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception
(code=c0000005) raised
0118:trace:seh:dispatch_exception  rax=0000000000000001 rbx=0000000000173aa8
rcx=0000000000000006 rdx=fffff78000000270
0118:trace:seh:dispatch_exception  rsi=0000000000173810 rdi=0000000000173aa8
rbp=0000000000c6f8b0 rsp=0000000000c6f760
0118:trace:seh:dispatch_exception   r8=0000000000000000  r9=0000000000000040
r10=00007f3d604ff6a0 r11=0000000000000000
0118:trace:seh:dispatch_exception  r12=0000000000173940 r13=0000000000173aa8
r14=0000000067fd0000 r15=0000000000000000
0118:trace:seh:call_vectored_handlers calling handler at 00000000003ED430
code=c0000005 flags=0
0118:trace:seh:call_vectored_handlers handler at 00000000003ED430 returned 0
0118:trace:seh:call_stack_handlers found wine frame 0000000000C6FE80 rsp
0000000000C6FFE0 handler 000000007BC61270
0118:trace:seh:call_teb_handler calling TEB handler 000000007BC61270
(rec=0000000000C6F560, frame=0000000000C6FE80 context=0000000000C6EB50,
dispatch=0000000000C6EA28)
0118:Call ntdll.NtCreateEvent(00c6e6d0,001f0003,00c6e7b0,00000000,00c6e600)
ret=7b013093
0118:Ret  ntdll.NtCreateEvent() retval=00000000 ret=7b013093
0118:Call ntdll.RtlInitUnicodeString(00c6e6e0,7b070a96
L"\\Registry\\Machine\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\AeDebug") ret=7b01311a
0118:Ret  ntdll.RtlInitUnicodeString() retval=0000008e ret=7b01311a 
...
--- snip ---

--- snip ---
...
012F4577 | A1 6C02000080F7FFFF    | mov eax,dword ptr ds:[FFFFF7800000026C]
012F4580 | E9 09000000            | jmp vgk.12F458E                        
012F4585 | 6641:0F43CF            | cmovae cx,r15w                         
012F458A | 48:0FB7CC              | movzx rcx,sp                           
012F458E | 8BC8                   | mov ecx,eax                            
012F4590 | D3D8                   | rcr eax,cl                             
012F4592 | D3D0                   | rcl eax,cl                             
012F4594 | D3F0                   | shl eax,cl                             
012F4596 | B8 01000000            | mov eax,1                              
012F459B | 83F9 06                | cmp ecx,6                              
012F459E | E9 00000000            | jmp vgk.12F45A3                        
012F45A3 | 0F82 1C000000          | jb vgk.12F45C5                         
012F45A9 | 48:BA 7002000080F7FFFF | mov rdx,FFFFF78000000270               
012F45B3 | 66:F7C6 9468           | test si,6894                           
012F45B8 | 3902                   | cmp dword ptr ds:[rdx],eax ; *boom*
012F45BA | E9 00000000            | jmp vgk.12F45BF                        
012F45BF | 0F83 13000000          | jae vgk.12F45D8                        
012F45C5 | 83F9 0A                | cmp ecx,A                              
012F45C8 | E9 00000000            | jmp vgk.12F45CD                        
012F45CD | 0F83 05000000          | jae vgk.12F45D8
...
--- snip ---

$ sha1sum setup.exe 
b8ff7192073b701557354f75e9232e8e237e5814  setup.exe

$ du -sh setup.exe 
17M    setup.exe

$ wine --version
wine-6.20-159-g80a30625a70

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