[Bug 37852] Sentinel HASP 'hardlock.sys' kernel driver custom imports resolver can't cope with many 'ntoskrnl.exe' functions being fowarded to 'ntdll.dll' (Minitab 16 fails to start)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 28 18:03:46 CST 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |bf35c2612c3c2a166e540fb062b
                   |                            |96e9f062131e1

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

this is fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/bf35c2612c3c2a166e540fb062b96e9f062131e1

Thanks Alexandre.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Minitab/Minitab 16

$ WINEDEBUG=+seh,+relay,+winedevice,+ntoskrnl wine ./Mtb.exe >>log.txt 2>&1
...
0019:Call ntoskrnl.exe.RtlInitUnicodeString(0065fc74,007efa18
L"\\REGISTRY\\MACHINE\\System\\CurrentControlSet\\Services\\HaspNt")
ret=00786720
0019:Call ntdll.RtlInitUnicodeString(0065fc74,007efa18
L"\\REGISTRY\\MACHINE\\System\\CurrentControlSet\\Services\\HaspNt")
ret=7bc7e247
0019:Ret  ntdll.RtlInitUnicodeString() retval=0065fc74 ret=7bc7e247
0019:Ret  ntoskrnl.exe.RtlInitUnicodeString() retval=0065fc74 ret=00786720
0019:Call ntoskrnl.exe.ExAllocatePoolWithTag(00000001,00000084,36346b48)
ret=00786748
0019:Call ntdll.RtlAllocateHeap(00110000,00000000,00000084) ret=7ecce269
0019:Ret  ntdll.RtlAllocateHeap() retval=0011cd08 ret=7ecce269
0019:trace:ntoskrnl:ExAllocatePoolWithTag 132 pool 1 -> 0x11cd08
0019:Ret  ntoskrnl.exe.ExAllocatePoolWithTag() retval=0011cd08 ret=00786748
0019:Call ntoskrnl.exe.ExAllocatePoolWithTag(00000001,00000148,34356b48)
ret=007879d7
0019:Call ntdll.RtlAllocateHeap(00110000,00000000,00000148) ret=7ecce269
0019:Ret  ntdll.RtlAllocateHeap() retval=0011d2e8 ret=7ecce269
0019:trace:ntoskrnl:ExAllocatePoolWithTag 328 pool 1 -> 0x11d2e8
0019:Ret  ntoskrnl.exe.ExAllocatePoolWithTag() retval=0011d2e8 ret=007879d7
0019:Call ntoskrnl.exe.RtlInitUnicodeString(0011d2e8,00000000) ret=00787a0f
0019:Call ntdll.RtlInitUnicodeString(0011d2e8,00000000) ret=7bc7e247
0019:Ret  ntdll.RtlInitUnicodeString() retval=0011d2e8 ret=7bc7e247
0019:Ret  ntoskrnl.exe.RtlInitUnicodeString() retval=0011d2e8 ret=00787a0f 
...
--- snip ---

The driver still crashes but that's a different problem, actually another
variant of bug 30220 (different register operand in opcode).

$ wine --version
wine-3.2-293-g0a72708126

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