[Bug 44641] Sentinel HASP 'hardlock.sys' kernel driver crashes on unimplemented function ntoskrnl.exe.RtlCreateRegistryKey

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 16 13:02:23 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
      Fixed by SHA1|                            |535419a2bf8da3fd21cfdede44b
                   |                            |f51026a97b94d

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello Stefan,

thanks.

Technically it was
https://source.winehq.org/git/wine.git/commitdiff/f07e8ca8f01106b6d41a933f0ac393b30d505bad
("ntdll: Fix RtlCheckRegistryKey when called with empty path.") which returns
'STATUS_SUCCESS' now, causing the driver to execute a different code path, not
calling 'ntoskrnl.exe.RtlCreateRegistryKey' at this point.

I've created bug 44749 to separate the issues.

Using
https://source.winehq.org/git/wine.git/commitdiff/535419a2bf8da3fd21cfdede44bf51026a97b94d
which adds 'RtlCreateRegistryKey'.

--- snip ---
...
0019:Call ntoskrnl.exe.RtlCheckRegistryKey(00000001,0065fb20) ret=007a8edd
0019:Call ntdll.RtlCheckRegistryKey(00000001,0065fb20) ret=7bc7e547
0019:Ret  ntdll.RtlCheckRegistryKey() retval=00000000 ret=7bc7e547
0019:Ret  ntoskrnl.exe.RtlCheckRegistryKey() retval=00000000 ret=007a8edd
0019:Call ntoskrnl.exe.PsSetCreateProcessNotifyRoutine(007a0a6c,00000000)
ret=007a8f4e
0019:fixme:ntoskrnl:PsSetCreateProcessNotifyRoutine stub: 0x7a0a6c 0
0019:Ret  ntoskrnl.exe.PsSetCreateProcessNotifyRoutine() retval=00000000
ret=007a8f4e
0019:Call ntoskrnl.exe.ExAllocatePoolWithTag(00000001,00000090,6c766f48)
ret=007add79
...
0019:trace:ntoskrnl:ExAllocatePoolWithTag 144 pool 1 -> 0x11f800
0019:Ret  ntoskrnl.exe.ExAllocatePoolWithTag() retval=0011f800 ret=007add79
0019:trace:seh:raise_exception code=c0000096 flags=0 addr=0x7ecf79b5
ip=7ecf79b5 tid=0019
0019:trace:seh:raise_exception  eax=0011f800 ebx=0011d3b0 ecx=00000078
edx=00662f54 esi=0011cb20 edi=7ecb0000
0019:trace:seh:raise_exception  ebp=0065fbb8 esp=0065fb90 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010246
0019:trace:seh:call_vectored_handlers calling handler at 0x7ecc9f51
code=c0000096 flags=0
0019:trace:seh:call_vectored_handlers handler at 0x7ecc9f51 returned 0
0019:trace:seh:call_stack_handlers calling handler at 0x7bcb057c code=c0000096
flags=0
0019:Call KERNEL32.UnhandledExceptionFilter(0065f694) ret=7bcb05b7
0019:trace:seh:start_debugger Starting debugger "winedbg --auto 17 76" 
...
--- snip ---

It now runs into bug 44496

$ wine --version
wine-3.3-263-gbf7b21ec7b

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