http://bugs.winehq.org/show_bug.cgi?id=3528
Summary: Serious Sam demos don't work Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: jpakkane@yahoo.com
Serious Sam is a popular game that uses DirectX 7 and OpenGL graphics. The retail games have SafeDisc so they can't currently work with Wine. There are two playable demos which don't have copy protection. Unfortunately they don't run under Wine.
Serious Sam First Encounter can be downloaded here:
http://files.seriouszone.com/catdisplay.php?catid=36
Second Encounter is available here:
http://files.seriouszone.com/download.php?fileid=338
First Encounter crashes with the following:
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x7fb2fbc0,0x7fb2fbc4): stub wine: Unhandled exception (thread 003d), starting debugger... WineDbg starting on pid 0x23 Unhandled exception: page fault on read access to 0x00000005 in 32-bit code (0x7f81d3e9). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033 EIP:7f81d3e9 ESP:7fb290d0 EBP:7fb29174 EFLAGS:00010246( - 00 -RIZP1) EAX:601e7000 EBX:7f83e524 ECX:60216608 EDX:00000001 ESI:00000000 EDI:7c0cf858 Stack dump: 0x7fb290d0: 00000020 00000000 b7e0d391 b7ed3910 0x7fb290e0: 60216608 7f678520 7fb2f908 7fb298c4 0x7fb290f0: 7fb29e8c b7ed3900 7f691590 00000017 0x7fb29100: b7e0a9e4 00000004 00000002 00000001 0x7fb29110: 00000001 00000000 00000000 7fe13870 0x7fb29120: 7c0cfa20 00000001 b7ed20dc 7c03f37c 0200: sel=1007 base=7fee6000 limit=00001fff 32-bit rw- Backtrace: =>1 0x7f81d3e9 cxx_frame_handler+0x1a9(dispatch=0x7fb295b8, descr=0x601e6f88, nested_frame=0x0, nested_trylevel=0x0, context=0x7fb291b0) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:139] in msvcrt (0x7fb29174) 2 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb298c4, frame=0x7fb2f908, exc_context=0x7fb295f8, dispatch=0x7fb295b8, context=0x7fb291b0) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb29194) 3 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb294fc) 4 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb29538) 5 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb298c4, context=0x7fb295f8) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb295c8) 6 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb298c4, context=0x7fb295f8) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb295e4) 7 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb299c0) 8 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2a110, frame=0x7fb2f908, exc_context=0x7fb29e44, dispatch=0x7fb29e04, context=0x7fb299fc) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb299e0) 9 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb29d48) 10 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb29d84) 11 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2a110, context=0x7fb29e44) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb29e14) 12 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2a110, context=0x7fb29e44) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb29e30) 13 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2a20c) 14 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2a95c, frame=0x7fb2f908, exc_context=0x7fb2a690, dispatch=0x7fb2a650, context=0x7fb2a248) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2a22c) 15 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2a594) 16 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2a5d0) 17 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2a95c, context=0x7fb2a690) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2a660) 18 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2a95c, context=0x7fb2a690) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2a67c) 19 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2aa58) 20 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2b1a8, frame=0x7fb2f908, exc_context=0x7fb2aedc, dispatch=0x7fb2ae9c, context=0x7fb2aa94) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2aa78) 21 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2ade0) 22 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2ae1c) 23 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2b1a8, context=0x7fb2aedc) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2aeac) 24 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2b1a8, context=0x7fb2aedc) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2aec8) 25 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2b2a4) 26 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2b9f4, frame=0x7fb2f908, exc_context=0x7fb2b728, dispatch=0x7fb2b6e8, context=0x7fb2b2e0) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2b2c4) 27 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2b62c) 28 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2b668) 29 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2b9f4, context=0x7fb2b728) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2b6f8) 30 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2b9f4, context=0x7fb2b728) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2b714) 31 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2baf0) 32 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2c240, frame=0x7fb2f908, exc_context=0x7fb2bf74, dispatch=0x7fb2bf34, context=0x7fb2bb2c) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2bb10) 33 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2be78) 34 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2beb4) 35 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2c240, context=0x7fb2bf74) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2bf44) 36 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2c240, context=0x7fb2bf74) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2bf60) 37 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2c33c) 38 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2ca8c, frame=0x7fb2f908, exc_context=0x7fb2c7c0, dispatch=0x7fb2c780, context=0x7fb2c378) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2c35c) 39 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2c6c4) 40 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2c700) 41 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2ca8c, context=0x7fb2c7c0) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2c790) 42 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2ca8c, context=0x7fb2c7c0) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2c7ac) 43 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2cb88) 44 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2d2d8, frame=0x7fb2f908, exc_context=0x7fb2d00c, dispatch=0x7fb2cfcc, context=0x7fb2cbc4) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2cba8) 45 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2cf10) 46 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2cf4c) 47 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2d2d8, context=0x7fb2d00c) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2cfdc) 48 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2d2d8, context=0x7fb2d00c) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2cff8) 49 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2d3d4) 50 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2db24, frame=0x7fb2f908, exc_context=0x7fb2d858, dispatch=0x7fb2d818, context=0x7fb2d410) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2d3f4) 51 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2d75c) 52 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2d798) 53 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2db24, context=0x7fb2d858) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2d828) 54 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2db24, context=0x7fb2d858) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2d844) 55 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2dc20) 56 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2e370, frame=0x7fb2f908, exc_context=0x7fb2e0a4, dispatch=0x7fb2e064, context=0x7fb2dc5c) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2dc40) 57 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2dfa8) 58 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2dfe4) 59 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2e370, context=0x7fb2e0a4) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2e074) 60 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2e370, context=0x7fb2e0a4) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2e090) 61 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2e46c) 62 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2ebbc, frame=0x7fb2f908, exc_context=0x7fb2e8f0, dispatch=0x7fb2e8b0, context=0x7fb2e4a8) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2e48c) 63 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2e7f4) 64 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2e830) 65 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2ebbc, context=0x7fb2e8f0) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2e8c0) 66 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2ebbc, context=0x7fb2e8f0) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2e8dc) 67 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2ecc4) 68 0x7f81dd13 __regs___CxxFrameHandler+0x23(rec=0x7fb2f414, frame=0x7fb2f908, exc_context=0x7fb2f148, dispatch=0x7fb2f108, context=0x7fb2ed00) [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:370] in msvcrt (0x7fb2ece4) 69 0x7bee274d __wine_call_from_32_regs+0xb9 in ntdll (0x7fb2f04c) 70 0x7f81d056 __CxxFrameHandler+0x6 in msvcrt (0x7fb2f088) 71 0x7beb8dd7 __regs_RtlRaiseException+0x397(rec=0x7fb2f414, context=0x7fb2f148) [/home/jpakkane/wine/dlls/ntdll/exception.c:277] in ntdll (0x7fb2f118) 72 0x7bed7d3f raise_segv_exception+0x2f(rec=0x7fb2f414, context=0x7fb2f148) [/home/jpakkane/wine/dlls/ntdll/signal_i386.c:889] in ntdll (0x7fb2f134) 73 0x7bee27bc __wine_call_from_32_restore_regs+0x0 in ntdll (0x7fb2f478) 74 0x600d8f8c ??0CModelCollisionBox@@QAE@ABV0@@Z+0xcac in engine (0x7fb2f914) 75 0x600d8e9c ??0CModelCollisionBox@@QAE@ABV0@@Z+0xbbc in engine (0x7fb2fbc8) 76 0x601c547b ?SE_InitEngine@@YAXVCTString@@@Z+0xb3b in engine (0x7fb2fdc0) 77 0x00421059 in serioussam (+0x21059) (0x7fb2fdfc) 78 0x00422a80 in serioussam (+0x22a80) (0x7fb2fe4c) 79 0x00423828 in serioussam (+0x23828) (0x7fb2fe90) 80 0x00425c70 EntryPoint+0x134 in serioussam (0x7fb2ff2c) 81 0x7fcfb157 start_process+0xb7(arg=0x0) [/home/jpakkane/wine/dlls/kernel/process.c:992] in kernel32 (0x7fb2fff4) 82 0xb7ef7b71 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000) 0x7f81d3e9 cxx_frame_handler+0x1a9 [/home/jpakkane/wine/dlls/msvcrt/cppexcept.c:139] in msvcrt: movl 0x4(%edx),%eax 139 if (catchblock->type_info != type->type_info) Modules: Module Address Debug info Name (67 modules) PE 0x00400000-00474000 Export serioussam PE 0x600c0000-6025d000 Export engine ELF 0x7be8f000-7bf00000 Stabs ntdll<elf> -PE 0x7bea0000-7bf00000 \ ntdll ELF 0x7bf00000-7bf03000 Deferred <wine-loader> ELF 0x7e833000-7e890000 Deferred winedos<elf> -PE 0x7e840000-7e890000 \ winedos ELF 0x7eadb000-7eaf0000 Deferred midimap<elf> -PE 0x7eae0000-7eaf0000 \ midimap ELF 0x7ec10000-7ec31000 Deferred msacm32<elf> -PE 0x7ec20000-7ec31000 \ msacm32 ELF 0x7ec31000-7ec48000 Deferred msacm.drv<elf> -PE 0x7ec40000-7ec48000 \ msacm.drv ELF 0x7ec48000-7ec8a000 Deferred wineoss.drv<elf> -PE 0x7ec60000-7ec8a000 \ wineoss.drv ELF 0x7ecce000-7ecd7000 Deferred libxcursor.so.1 ELF 0x7ecd7000-7ecf3000 Deferred imm32<elf> -PE 0x7ece0000-7ecf3000 \ imm32 ELF 0x7ecf3000-7ed0f000 Deferred ximcp.so.2 ELF 0x7ed0f000-7f478000 Deferred libglcore.so.1 ELF 0x7f478000-7f4f7000 Deferred libgl.so.1 ELF 0x7f4f7000-7f5b7000 Deferred libx11.so.6 ELF 0x7f5b7000-7f5d0000 Deferred libice.so.6 ELF 0x7f5d0000-7f648000 Deferred winex11.drv<elf> -PE 0x7f5e0000-7f648000 \ winex11.drv ELF 0x7f648000-7f667000 Deferred libexpat.so.1 ELF 0x7f667000-7f695000 Deferred libfontconfig.so.1 ELF 0x7f6a0000-7f6b4000 Deferred libz.so.1 ELF 0x7f6b4000-7f71e000 Deferred libfreetype.so.6 ELF 0x7f71e000-7f73b000 Deferred iphlpapi<elf> -PE 0x7f730000-7f73b000 \ iphlpapi ELF 0x7f73b000-7f764000 Deferred ws2_32<elf> -PE 0x7f740000-7f764000 \ ws2_32 ELF 0x7f764000-7f77f000 Deferred wsock32<elf> -PE 0x7f770000-7f77f000 \ wsock32 ELF 0x7f77f000-7f7fe000 Deferred winmm<elf> -PE 0x7f790000-7f7fe000 \ winmm ELF 0x7f7fe000-7f85d000 Stabs msvcrt<elf> -PE 0x7f810000-7f85d000 \ msvcrt ELF 0x7f85d000-7f897000 Deferred advapi32<elf> -PE 0x7f870000-7f897000 \ advapi32 ELF 0x7f897000-7f91b000 Deferred gdi32<elf> -PE 0x7f8b0000-7f91b000 \ gdi32 ELF 0x7f91b000-7fa30000 Deferred user32<elf> -PE 0x7f940000-7fa30000 \ user32 ELF 0x7fb33000-7fb40000 Deferred libxext.so.6 ELF 0x7fb43000-7fb47000 Deferred libxfixes.so.3 ELF 0x7fb47000-7fb49000 Deferred xlcutf8load.so.2 ELF 0x7fb49000-7fb4d000 Deferred libxdmcp.so.6 ELF 0x7fc95000-7fd90000 Stabs kernel32<elf> -PE 0x7fcb0000-7fd90000 \ kernel32 ELF 0x7fea0000-7fea3000 Deferred libxrandr.so.2 ELF 0x7fea3000-7feaa000 Deferred libsm.so.6 ELF 0x7feaa000-7feb4000 Deferred libnss_files.so.2 ELF 0x7feb4000-7febd000 Deferred libnss_nis.so.2 ELF 0x7febd000-7fed2000 Deferred libnsl.so.1 ELF 0x7fed2000-7fedb000 Deferred libnss_compat.so.2 ELF 0x7fedc000-7fee4000 Deferred libxrender.so.1 ELF 0x7fee9000-7ff0b000 Deferred libm.so.6 ELF 0x7ff0b000-80000000 Deferred libwine_unicode.so.1 ELF 0xb7da1000-b7da3000 Deferred libnvidia-tls.so.1 ELF 0xb7da5000-b7da8000 Deferred libdl.so.2 ELF 0xb7da8000-b7ed6000 Deferred libc.so.6 ELF 0xb7ed6000-b7ee8000 Deferred libpthread.so.0 ELF 0xb7ee8000-b7eeb000 Deferred libxau.so.6 ELF 0xb7ef3000-b7f0d000 DIA libwine.so.1 ELF 0xb7f10000-b7f26000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000023 (D) C:\Program Files\Croteam\Serious Sam Demo\Bin\SeriousSam.exe 0000002b 15 0000003d 0 <== 0000000e 0000001f 0 00000013 0 00000012 0 00000011 0 00000010 0 0000000f 0 WineDbg terminated on pid 0x23
Second Encounter prints the following and then freezes:
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x7fb2fb9c,0x7fb2fba0): stub err:seh:setup_exception stack overflow 464 bytes in thread 000d eip 7bee269e esp 7fa30e30 stack 0x7fa30000-0x7fb30000
Testing done on Ubuntu Breezy, Wine CVS version.