https://bugs.winehq.org/show_bug.cgi?id=39500
Bug ID: 39500 Summary: Secret Files: Tunguska demo crashes with unimplemented function hal.dll.KeQueryPerformanceCounter Product: Wine Version: 1.7.53 Hardware: x86-64 URL: http://www.gamewatcher.com/downloads/secret-files-tung uska-download/secret-files-tunguska-demo OS: Linux Status: NEW Keywords: download, obfuscation Severity: normal Priority: P2 Component: hal Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Depends on: 23033 Distribution: ---
Got an error message 'DLL not found shell.dll16.dll' and then
fixme:ntoskrnl:KeInitializeTimerEx stub: 0x111100 0 fixme:ntoskrnl:IoGetDeviceObjectPointer stub: L"\DosDevices\NTice" 20000 0x53e758 0x53e75c fixme:ntoskrnl:__regs_ObfDereferenceObject stub: (nil) fixme:ntoskrnl:MmProbeAndLockPages (0x111158, 1, 1): stub fixme:ntoskrnl:MmMapLockedPagesSpecifyCache (0x111158, 0, 1, (nil), 0, 32): stub wine: Unhandled page fault on write access to 0x00000000 at address 0x57fe27 (thread 0019), starting debugger... wine: Call from 0x7b839c6c to unimplemented function hal.dll.KeQueryPerformanceCounter, aborting wine: Unimplemented function hal.dll.KeQueryPerformanceCounter called at address 0x7b839c6c (thread 001f), starting debugger... err:service:service_send_command service protocol error - failed to write pipe! err:service:service_send_command service protocol error - failed to write pipe! fixme:ntoskrnl:KeInitializeTimerEx stub: 0x111100 0 wine: Call from 0x7b839c6c to unimplemented function hal.dll.KeQueryPerformanceCounter, aborting wine: Unimplemented function hal.dll.KeQueryPerformanceCounter called at address 0x7b839c6c (thread 0040), starting debugger...
wine-1.7.53-135-g4fb840b
https://bugs.winehq.org/show_bug.cgi?id=39500
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39500
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/hal-KeQueryPer | |formanceCounter
https://bugs.winehq.org/show_bug.cgi?id=39500
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39500
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Secret Files: Tunguska demo |Multiple game demos crashes |crashes with unimplemented |with |function |hal.dll.KeQueryPerformanceC |hal.dll.KeQueryPerformanceC |ounter (Secret Files: |ounter |Tunguska, Sherlock Holmes | |vs Jack the Ripper)
https://bugs.winehq.org/show_bug.cgi?id=39500
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple game demos crashes |Multiple game demos crashes |with |with unimplemented function |hal.dll.KeQueryPerformanceC |hal.dll.KeQueryPerformanceC |ounter (Secret Files: |ounter (Secret Files: |Tunguska, Sherlock Holmes |Tunguska, Sherlock Holmes |vs Jack the Ripper) |vs Jack the Ripper)
--- Comment #1 from Austin English austinenglish@gmail.com --- Please leave 'unimplemented function' in summaries, I have a saved search for them ;)
https://bugs.winehq.org/show_bug.cgi?id=39500 Bug 39500 depends on bug 23033, which changed state.
Bug 23033 Summary: Tages Protection v5.x: games report "DLL not found shell.dll16.dll" (Runaway 2: The Dream Of The Turtle, ...) https://bugs.winehq.org/show_bug.cgi?id=23033
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=39500
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Is there a reason this patch was never sent?
https://bugs.winehq.org/show_bug.cgi?id=39500
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |focht@gmx.net Fixed by SHA1| |02a5071674ef2c39f76c7388a10 | |d1cf63a332539 Summary|Multiple game demos crashes |DRM kernel drivers used by |with unimplemented function |some game demos crash on |hal.dll.KeQueryPerformanceC |unimplemented function |ounter (Secret Files: |hal.dll.KeQueryPerformanceC |Tunguska, Sherlock Holmes |ounter (Secret Files: |vs Jack the Ripper) |Tunguska, Sherlock Holmes | |vs Jack the Ripper) 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/02a5071674ef2c39f76c7388a1...
Thanks Michael
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Deep Silver/Secret Files Tunguska Demo
$ WINEDEBUG=+seh,+relay,+ntoskrnl,+hal wine ./Tunguska.exe >>log.txt 2>&1 ... 0041:Call KERNEL32.CreateFileA(0033f214 "\\.\lirsgt",c0000000,00000000,00000000,00000003,40000000,00000000) ret=004010b9 0041:Ret KERNEL32.CreateFileA() retval=00000040 ret=004010b9 0041:Call KERNEL32.DeviceIoControl(00000040,0022e013,0033f340,00000000,0033f340,00000000,0033f33c,00000000) ret=00401a43 001f:Ret KERNEL32.WaitForMultipleObjectsEx() retval=00000001 ret=7ecd9cec ... 001f:trace:ntoskrnl:dispatch_create device 0x11cca0 -> file 0x11b9e0 001f:trace:ntoskrnl:IoAllocateIrp 1, 0 001f:Call ntdll.RtlAllocateHeap(00110000,00000000,00000094) ret=7ecdc269 001f:Ret ntdll.RtlAllocateHeap() retval=0011d2e0 ret=7ecdc269 001f:trace:ntoskrnl:ExAllocatePoolWithTag 148 pool 0 -> 0x11d2e0 001f:trace:ntoskrnl:IoInitializeIrp 0x11d2e0, 148, 1 001f:Call ntdll.NtGetTickCount() ret=7ecdcb82 001f:Ret ntdll.NtGetTickCount() retval=0051e7c2 ret=7ecdcb82 001f:Call driver dispatch 0x782000 (device=0x11cca0,irp=0x11d2e0) 001f:Call hal.KeQueryPerformanceCounter(00000000) ret=0078200a 001f:trace:ntoskrnl:KeQueryPerformanceCounter ((nil)) 001f:Call ntdll.NtQueryPerformanceCounter(0054fbb0,00000000) ret=f76142c2 001f:Ret ntdll.NtQueryPerformanceCounter() retval=00000000 ret=f76142c2 001f:Ret hal.KeQueryPerformanceCounter() retval=0000000c7f6d191c ret=0078200a 001f:trace:ntoskrnl:__regs_IofCompleteRequest 0x11d2e0 0 001f:trace:ntoskrnl:IoCompleteRequest 0x11d2e0 0 001f:trace:ntoskrnl:IoCompleteRequest calling 0x7ecd8efc( 0x11cca0, 0x11d2e0, 0x48 ) 001f:trace:ntoskrnl:IoCompleteRequest CompletionRoutine returned 0 001f:trace:ntoskrnl:IoFreeIrp 0x11d2e0 001f:trace:ntoskrnl:ExFreePoolWithTag 0x11d2e0 ... --- snip ---
Still crashes in the end but these are different problem(s).
--- snip --- ... 001f:Call driver dispatch 0x7820c0 (device=0x11cca0,irp=0x11d2e0) 001f:Call ntoskrnl.exe.IoAllocateMdl(0011bac8,00000005,00000000,00000000,00000000) ret=0078165d 001f:trace:ntoskrnl:IoAllocateMdl (0x11bac8, 5, 0, 0, (nil)) 001f:Call ntdll.RtlAllocateHeap(00110000,00000008,00000020) ret=7ecda39c 001f:Ret ntdll.RtlAllocateHeap() retval=0011caf8 ret=7ecda39c 001f:Ret ntoskrnl.exe.IoAllocateMdl() retval=0011caf8 ret=0078165d 001f:Call ntoskrnl.exe.MmProbeAndLockPages(0011caf8,00000001,00000001) ret=00781679 001f:fixme:ntoskrnl:MmProbeAndLockPages (0x11caf8, 1, 1): stub 001f:Ret ntoskrnl.exe.MmProbeAndLockPages() retval=0000003f ret=00781679 001f:Call ntoskrnl.exe.MmMapLockedPagesSpecifyCache(0011caf8,00000000,00000001,00000000,00000000,00000020) ret=0078292c 001f:fixme:ntoskrnl:MmMapLockedPagesSpecifyCache (0x11caf8, 0, 1, (nil), 0, 32): stub 001f:Ret ntoskrnl.exe.MmMapLockedPagesSpecifyCache() retval=00000000 ret=0078292c 001f:Call ntoskrnl.exe.RtlInitUnicodeString(0054fb6c,0054fb74 L"\Device\atksgt") ret=00780388 001f:Call ntdll.RtlInitUnicodeString(0054fb6c,0054fb74 L"\Device\atksgt") ret=7bc7e247 001f:Ret ntdll.RtlInitUnicodeString() retval=0054fb6c ret=7bc7e247 001f:Ret ntoskrnl.exe.RtlInitUnicodeString() retval=0054fb6c ret=00780388 001f:Call ntoskrnl.exe.IoGetDeviceObjectPointer(0054fb6c,00020000,0054fb68,0054fb64) ret=007803a2 001f:fixme:ntoskrnl:IoGetDeviceObjectPointer stub: L"\Device\atksgt" 20000 0x54fb68 0x54fb64 001f:Ret ntoskrnl.exe.IoGetDeviceObjectPointer() retval=00000000 ret=007803a2 001f:trace:ntoskrnl:ObDereferenceObject ((nil)): stub 001f:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7803c2 ip=007803c2 tid=001f 001f:trace:seh:raise_exception info[0]=00000001 001f:trace:seh:raise_exception info[1]=00000004 001f:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=0054fb5c edx=00552f54 esi=0011cd58 edi=0054fe14 001f:trace:seh:raise_exception ebp=00000000 esp=0054fb60 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010212 001f:trace:seh:call_vectored_handlers calling handler at 0x7ecd7f55 code=c0000005 flags=0 001f:trace:seh:call_vectored_handlers handler at 0x7ecd7f55 returned 0 001f:trace:seh:call_stack_handlers calling handler at 0x7bcb01c8 code=c0000005 flags=0 001f:Call KERNEL32.UnhandledExceptionFilter(0054f664) ret=7bcb0203 wine: Unhandled page fault on write access to 0x00000004 at address 0x7803c2 (thread 001f), starting debugger... --- snip ---
It's TAGES copy protection system here ('lirsgt', 'atksgt').
$ sha1sum secretfilestunguskademo.exe dud081e71f3c0e6f01ed85185afaf938fe43031df6 secretfilestunguskademo.exe
$ du -sh secretfilestunguskademo.exe 575M secretfilestunguskademo.exe
$ wine --version wine-3.2-293-g0a72708126
Regards
https://bugs.winehq.org/show_bug.cgi?id=39500
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.3.
https://bugs.winehq.org/show_bug.cgi?id=39500
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=39500
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.
https://bugs.winehq.org/show_bug.cgi?id=39500
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|hal |ntoskrnl