https://bugs.winehq.org/show_bug.cgi?id=49217
Bug ID: 49217 Summary: Denuvo Anti-Cheat 'denuvo-anti-cheat.sys' crashes on unimplemented function ntoskrnl.exe.KeQueryActiveProcessorCountEx Product: Wine Version: 5.8 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntoskrnl Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 49216 (split out from bug 49198).
--- snip --- $ WINEDEBUG=+seh,+relay,+int,+ntoskrnl,+ntdll wine net start "Denuvo Anti-Cheat" >>log.txt 2>&1 ... 00d0:Call driver init 0000000000C81184 (obj=000000000078EFF0,str=L"\Registry\Machine\System\CurrentControlSet\Services\Denuvo Anti-Cheat") ... 00d0:trace:ntoskrnl:MmGetSystemRoutineAddress L"NtQuerySystemInformation" -> 0000000000227C58 00d0:Ret ntoskrnl.exe.MmGetSystemRoutineAddress() retval=00227c58 ret=00c891bf 00d0:Call ntoskrnl.exe.RtlGetVersion(008ec1f0) ret=00c84b6c 00d0:Call ntdll.RtlGetVersion(008ec1f0) ret=7bca040f 00d0:Ret ntdll.RtlGetVersion() retval=00000000 ret=7bca040f 00d0:Ret ntoskrnl.exe.RtlGetVersion() retval=00000000 ret=00c84b6c 00d0:Call ntoskrnl.exe.KdRefreshDebuggerNotPresent() ret=00c84e5a 00d0:trace:ntoskrnl:KdRefreshDebuggerNotPresent . 00d0:Ret ntoskrnl.exe.KdRefreshDebuggerNotPresent() retval=00000001 ret=00c84e5a 00d0:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc6cb0c ip=7bc6cb0c tid=00d0 00d0:trace:seh:raise_exception info[0]=0000000000e00266 00d0:trace:seh:raise_exception info[1]=0000000000dffc92 00d0:trace:seh:call_vectored_handlers calling handler at 0x22cf60 code=80000100 flags=1 ... wine: Call from 0x7bc6cb0c to unimplemented function ntoskrnl.exe.KeQueryActiveProcessorCountEx, aborting --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk...
$ wine --version wine-5.8-320-g71647c8657
Regards
https://bugs.winehq.org/show_bug.cgi?id=49217
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://store.steampowered. | |com/app/782330/ Keywords| |obfuscation
https://bugs.winehq.org/show_bug.cgi?id=49217
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
correction, split out from bug 49194 patchset. Too many tabs open :)
Regards
https://bugs.winehq.org/show_bug.cgi?id=49217
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
addendum, the patch '0006-ntoskrnl-Add-KeQueryActiveProcessorCountEx-semi-stub.patch' contained in https://bugs.winehq.org/show_bug.cgi?id=49194#c1 depends on the definition of 'ALL_PROCESSOR_GROUPS'.
--- quote --- GroupNumber
The group number. If a multiprocessor system contains n groups, valid group numbers range from 0 to n-1. To count all active processors in all groups in the system, set this parameter to ALL_PROCESSOR_GROUPS, which is defined in header files Winnt.h and Ntdef.h. --- quote ---
Wine-Staging https://github.com/wine-staging/wine-staging/blob/master/patches/kernel32-Pr... introduces it.
Regards
https://bugs.winehq.org/show_bug.cgi?id=49217
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/ntoskrnl.exe-KeQ | |ueryActiveProcessorCountEx Status|NEW |STAGED CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=49217
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |2716e215df3aff2ccf2635289d1 | |0b938fdfc2069 Status|STAGED |RESOLVED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/2716e215df3aff2ccf2635289d... ("ntoskrnl.exe: Add KeQueryActiveProcessorCountEx() function.")
Thanks Paul.
$ wine --version wine-5.9-23-gba920246e5
Regards
https://bugs.winehq.org/show_bug.cgi?id=49217
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.