[Bug 27221] Multiple games using SoftWrap DRM scheme crash on startup (Full Spectrum Warrior, The Suffering)(Wine must not send window object creation event/call notify event hook for fake D3D window)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 25 13:35:54 CST 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Full Spectrum Warrior       |Multiple games using
                   |crashes on start (SoftWrap  |SoftWrap DRM scheme crash
                   |DRM scheme, Wine must not   |on startup (Full Spectrum
                   |send window object creation |Warrior, The
                   |event/call notify event     |Suffering)(Wine must not
                   |hook for fake D3D window)   |send window object creation
                   |                            |event/call notify event
                   |                            |hook for fake D3D window)

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

found another game with SoftWrap protection suffering from this: 'The Suffering
' (Midway Games).

Refining summary.

Download: http://megagames.com/freeware/suffering-free-full-game

--- snip ---
-=[ ProtectionID v0.6.5.5 OCTOBER]=-
(c) 2003-2013 CDKiLLER & TippeX
Build 31/10/13-21:09:09
Ready...
Scanning -> Z:\home\focht\.wine\drive_c\Program Files\Midway Home
Entertainment\The Suffering\Suffering.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 1429504 (015D000h)
Byte(s)
[File Heuristics] -> Flag : 00000000000000000100000000100011 (0x00004023)
[Entrypoint Section Entropy] : 7.65
[!] SoftWrap detected !
[!] Possible License Protection String -> License Activation
- Scan Took : 0.331 Second(s) [00000014Bh tick(s)] [533 scan(s) done]
--- snip ---

Trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Midway Home Entertainment/The Suffering

$ WINEDEBUG=+tid,+seh,+relay wine ./Suffering.exe >>log.txt 2>&1
...
002d:Call winex11.drv.CreateWindow(0001067e) ret=7eb246e9
002d:Ret  winex11.drv.CreateWindow() retval=00000001 ret=7eb246e9
002d:Call winevent hook proc 0xc33550
(hhook=0x2006a,event=8000,hwnd=0x1067e,object_id=0,child_id=0,tid=002d,time=321733)
002d:Call KERNEL32.GetModuleHandleA(00d463e0 "ddraw.dll") ret=00c3e678
002d:Ret  KERNEL32.GetModuleHandleA() retval=00000000 ret=00c3e678
002d:Call KERNEL32.GetModuleHandleA(00d463e0 "ddraw.dll") ret=00c3e678
002d:Ret  KERNEL32.GetModuleHandleA() retval=00000000 ret=00c3e678
002d:Call KERNEL32.GetModuleHandleA(00d4668c "d3d8.dll") ret=00c3e678
002d:Ret  KERNEL32.GetModuleHandleA() retval=00000000 ret=00c3e678
002d:Call KERNEL32.GetModuleHandleA(00d46ae4 "d3d9.dll") ret=00c3e678
002d:Ret  KERNEL32.GetModuleHandleA() retval=7e630000 ret=00c3e678
002d:Call KERNEL32.GetProcAddress(7e630000,00d46b50 "Direct3DCreate9")
ret=00c4f60a
002d:Ret  KERNEL32.GetProcAddress() retval=7e63862c ret=00c4f60a
002d:Call d3d9.Direct3DCreate9(00000020) ret=00c4f612
002d:Call ntdll.RtlAllocateHeap(00110000,00000008,00000010) ret=7e63ad17
002d:Ret  ntdll.RtlAllocateHeap() retval=0111b9d8 ret=7e63ad17
002d:Call wined3d.wined3d_mutex_lock() ret=7e649700
002d:Ret  wined3d.wined3d_mutex_lock() retval=00000000 ret=7e649700
002d:Call wined3d.wined3d_create(00000009,0000000c) ret=7e649713
002d:Call ntdll.RtlAllocateHeap(00110000,00000008,00002f20) ret=7e5d06cb
002d:Ret  ntdll.RtlAllocateHeap() retval=0111bcb8 ret=7e5d06cb
002d:Call user32.GetDC(00000000) ret=7e526a9e
002d:Ret  user32.GetDC() retval=000f0033 ret=7e526a9e
002d:Call gdi32.__wine_get_wgl_driver(000f0033,0000000b) ret=7e526ab7
002d:Ret  gdi32.__wine_get_wgl_driver() retval=7dd96fe0 ret=7e526ab7
002d:Call user32.ReleaseDC(00000000,000f0033) ret=7e526acd
002d:Ret  user32.ReleaseDC() retval=00000001 ret=7e526acd
002d:Call advapi32.AllocateLocallyUniqueId(0111ebc0) ret=7e526b8d
002d:Ret  advapi32.AllocateLocallyUniqueId() retval=00000001 ret=7e526b8d
002d:Call opengl32.wglGetCurrentDC() ret=7e516782
002d:Ret  opengl32.wglGetCurrentDC() retval=00000000 ret=7e516782
002d:Call opengl32.wglGetCurrentContext() ret=7e51678d
002d:Ret  opengl32.wglGetCurrentContext() retval=00000000 ret=7e51678d
002d:Call user32.CreateWindowExA(00000000,7e5e1103 "WineD3D_OpenGL",7e5e10ef
"WineD3D fake
window",00cf0000,0000000a,0000000a,0000000a,0000000a,00000000,00000000,00000000,00000000)
ret=7e5167fb
002d:Call winex11.drv.SystemParametersInfo(00000029,00000000,00242ed8,00000000)
ret=7eb1159a
002d:Ret  winex11.drv.SystemParametersInfo() retval=00000000 ret=7eb1159a
002d:trace:seh:raise_exception code=c00000fd flags=0 addr=0xf741d8f7
ip=f741d8f7 tid=002d
002d:trace:seh:raise_exception  eax=00000019 ebx=f7595000 ecx=7bcecb88
edx=fbad8001 esi=00242480 edi=00242480
002d:trace:seh:raise_exception  ebp=00242458 esp=00241f40 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210246
002d:trace:seh:call_stack_handlers calling handler at 0xd2c728 code=c00000fd
flags=0 
...
--- snip ---

$ sha1sum midway_suffering.exe 
3c14c4f529f5c720a8440d027d98efb0c9731150  midway_suffering.exe

$ du -sh midway_suffering.exe 
1.3G    midway_suffering.exe

$ wine --version
wine-1.7.13-53-g37e0a1a

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