https://bugs.winehq.org/show_bug.cgi?id=45248
Bug ID: 45248 Summary: CPU-Z kernel driver crashes on unimplemented function ntoskrnl.exe.SeSinglePrivilegeCheck, Product: Wine Version: 3.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,
extracted from:
https://bugs.winehq.org/show_bug.cgi?id=11908#c31 https://bugs.winehq.org/show_bug.cgi?id=11908#c32
--- snip ---- ... 002e:fixme:heap:RtlSetHeapInformation 0x9c0000 0 0x23fd20 4 stub 002e:fixme:shell:InitNetworkAddressControl stub wine: Call from 0x7b44d2a7 to unimplemented function ntoskrnl.exe.SeSinglePrivilegeCheck, aborting wine: Unimplemented function ntoskrnl.exe.SeSinglePrivilegeCheck called at address 0x7b44d2a7 (thread 0034), starting debugger... --- snip ----
Regards
https://bugs.winehq.org/show_bug.cgi?id=45248
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|CPU-Z kernel driver crashes |CPU-Z 1.8x kernel driver |on unimplemented function |crashes on unimplemented |ntoskrnl.exe.SeSinglePrivil |function |egeCheck, |ntoskrnl.exe.SeSinglePrivil | |egeCheck URL| |https://www.cpuid.com/downl | |oads/cpu-z/cpu-z_1.85-en.ex | |e
https://bugs.winehq.org/show_bug.cgi?id=45248
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bc4624c740256e266c0a25cb747 | |794041b23e63c Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/bc4624c740256e266c0a25cb74...
Thanks Alex
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/CPUID/CPU-Z
$ WINEDEBUG=+seh,+relay,+ntoskrnl wine ./cpuz.exe >>log.txt 2>&1 ... 0009:Call KERNEL32.CreateFileA(0033e73c "C:\windows\temp\cpuz147\cpuz145_x32.sys",c0000000,00000000,00000000,00000002,00000080,00000000) ret=00439f5f 0009:Ret KERNEL32.CreateFileA() retval=00000084 ret=00439f5f ... 0009:Call advapi32.CreateServiceW(0017bf18,0033e338 L"cpuz145",0033e338 L"cpuz145",000f01ff,00000001,00000003,00000001,0033df38 L"C:\windows\temp\cpuz147\cpuz145_x32.sys",00000000,00000000,00000000,00000000,00000000) ret=00439355 ... 0009:Ret advapi32.CreateServiceW() retval=0017c788 ret=00439355 ... 0031:Starting process L"C:\windows\system32\winedevice.exe" (entryproc=0x7effc17b) 0031:Call advapi32.StartServiceCtrlDispatcherW(0033fe60) ret=7effc171 ... 0036:trace:ntoskrnl:IoCreateDriver (L"\Driver\cpuz145", 0x7effb106) 0037:Starting thread proc 0x7bca399f (arg=0x11cba8) ... 0036:Call KERNEL32.LoadLibraryW(0011cdf0 L"C:\windows\temp\cpuz147\cpuz145_x32.sys") ret=7effaa36 ... 0036:Ret KERNEL32.LoadLibraryW() retval=00780000 ret=7effaa36 ... 0036:Ret driver init 0x78573e (obj=0x11cc28,str=L"\Registry\Machine\System\CurrentControlSet\Services\cpuz145") retval=00000000 0036:Ret ntoskrnl.exe.IoCreateDriver() retval=00000000 ret=7effb7de 0036:Call ntoskrnl.exe.ObReferenceObjectByName(0065fdc0,00000040,00000000,00000000,00000000,00000000,00000000,0065fdc8) ret=7effb868 0036:trace:ntoskrnl:ObReferenceObjectByName mostly-stub:L"\Driver\cpuz145" 64 (nil) 0 (nil) 0 (nil) 0x65fdc8 ... 0034:trace:ntoskrnl:dispatch_create device 0x11cdf0 -> file 0x11cb28 ... 0034:fixme:ntoskrnl:SeSinglePrivilegeCheck stub: 000000000000000a 1 ... 0034:Ret ntoskrnl.exe.SeSinglePrivilegeCheck() retval=00000001 ret=00784487 ... --- snip ---
$ du -sh cpu-z_1.85-en.exe 1.8M cpu-z_1.85-en.exe
$ sha1sum cpu-z_1.85-en.exe be8f85c2af8ce3933672875196c7cf9c50632da7 cpu-z_1.85-en.exe
$ wine --version wine-3.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=45248
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.10.
https://bugs.winehq.org/show_bug.cgi?id=45248
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.cpuid.com/downl |https://web.archive.org/web |oads/cpu-z/cpu-z_1.85-en.ex |/20200911053654/http://down |e |load.cpuid.com/cpu-z/cpu-z_ | |1.85-en.exe