[Bug 46804] StarForce v3 kernel driver service 'sfhlp02' crashes in driver entry point due to ' ntoskrnl.exe.IoCreateSynchronizationEvent' stub

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 5 18:21:37 CDT 2019


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |fd8bc0c16dcfab29007b4e3af32
                   |                            |531aa23145007
         Resolution|---                         |FIXED
                URL|https://www.fileplanet.com/ |https://web.archive.org/web
                   |151268/download/TrackMania: |/20190405224925/http://down
                   |-Sunrise-Demo               |load.fileplanet.com/ftp1/03
                   |                            |2005/tmsunrisedemo_setup.ex
                   |                            |e?st=5enhbbW_nPuPEL3JShfg3Q
                   |                            |&e=1554515342
             Status|NEW                         |RESOLVED

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

this is fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/fd8bc0c16dcfab29007b4e3af32531aa23145007
("ntoskrnl.exe: Implement IoCreateSynchronizationEvent.").

Thanks Jacek

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

$ WINEDEBUG=+seh,+relay,+ntoskrnl,+loaddll,+process wine ./TmSunriseDemoMag.exe
>>log.txt 2>&1
...
0009:Call advapi32.CreateServiceA(001713a0,01daa35c "sfhlp02",01daa328
"StarForce Protection Helper Driver (version
2.x)",00000000,00000001,00000000,00000001,0033e720
"System32\\drivers\\sfhlp02.sys",00000000,00000000,00000000,00000000,00000000)
ret=00cb23a0 
...
0031:Call driver init 0x555300
(obj=0x11d7e0,str=L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\sfhlp02") 
...
0031:Call ntoskrnl.exe.RtlInitUnicodeString(0042fbf0,00555334
L"\\Device\\StarForce - {60E30D10-C32F-4845-8477-139131D5E900}") ret=00555406
...
0031:Ret  ntoskrnl.exe.RtlInitUnicodeString() retval=0042fbf0 ret=00555406
0031:Call ntoskrnl.exe.IoCreateSynchronizationEvent(0042fbf0,0042fbfc)
ret=00555414
0031:trace:ntoskrnl:IoCreateSynchronizationEvent (0x42fbf0 0x42fbfc)
0031:Call ntdll.NtCreateEvent(0042fb48,001f0003,0042fb4c,00000001,00000001)
ret=7e960671
0031:Ret  ntdll.NtCreateEvent() retval=00000000 ret=7e960671
0031:Call ntdll.NtQueryObject(0000003c,00000002,0042f9f0,00000100,0042faf0)
ret=7e956d72
0031:Ret  ntdll.NtQueryObject() retval=00000000 ret=7e956d72
0031:Call
ntdll.RtlCompareUnicodeStrings(7e96b168,00000005,0042fa50,00000005,00000000)
ret=7e956eab
0031:Ret  ntdll.RtlCompareUnicodeStrings() retval=00000000 ret=7e956eab
...
0031:Call ntdll.NtQueryEvent(0000003c,00000000,0042f9c4,00000008,00000000)
ret=7e9605ad
0031:Ret  ntdll.NtQueryEvent() retval=00000000 ret=7e9605ad
0031:trace:ntoskrnl:KeInitializeEvent event 0x11d620, type 1, state 1.
0031:Ret  ntoskrnl.exe.IoCreateSynchronizationEvent() retval=0011d620
ret=00555414
0031:Call ntoskrnl.exe.KeEnterCriticalRegion() ret=0055542c
0031:fixme:ntoskrnl:KeEnterCriticalRegion : stub
0031:Ret  ntoskrnl.exe.KeEnterCriticalRegion() retval=00000031 ret=0055542c
0031:Call
ntoskrnl.exe.KeWaitForSingleObject(0011d620,00000000,00000000,00000000,00000000)
ret=00555437
0031:trace:ntoskrnl:KeWaitForMultipleObjects count 1, objs 0x42fb70, wait_type
1, reason 0, mode 0, alertable 0, timeout (nil), wait_blocks (nil).
0031:Call
ntdll.NtWaitForMultipleObjects(00000001,0042f9d8,00000001,00000000,00000000)
ret=7e960266
0031:Ret  ntdll.NtWaitForMultipleObjects() retval=00000000 ret=7e960266
0031:Call ntdll.NtClose(00000040) ret=7e960331
0031:Ret  ntdll.NtClose() retval=00000000 ret=7e960331
0031:Ret  ntoskrnl.exe.KeWaitForSingleObject() retval=00000000 ret=00555437 
...
--- snip ---

$ wine --version
wine-4.5-222-g8ee1e3453e

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