http://bugs.winehq.org/show_bug.cgi?id=18819
Summary: LOK Soul Reaver program error Product: Wine Version: 1.1.23 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: irnbld@gmail.com
The program kain2.exe has encountered a serious problem and needs to close, blah-blah-blah.
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-06-07 11:55:00 --- Attach a terminal output please http://wiki.winehq.org/FAQ#get_log
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #2 from rgnr irnbld@gmail.com 2009-06-07 12:29:28 --- err:sync:CreateEventExW Bad security attributes pointer 0x1 fixme:tape:BackupSeek ((nil), 256, 5167704, 0x1, (nil), (nil)) fixme:profile:CloseProfileUserMapping (), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f130,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 62 err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 63 err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 64 fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 27/09/2009, dlt (d/m/y): 27/03/2009 fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16 wine: Unhandled page fault on write access to 0x030d7000 at address 0x10002d51 (thread 0009), starting debugger... Unhandled exception: page fault on write access to 0x030d7000 in 32-bit code (0x10002d51). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:10002d51 ESP:0032f7d8 EBP:030d6a00 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:00000400 ECX:000001e2 EDX:000001ff ESI:00000500 EDI:00000602 Stack dump: 0x0032f7d8: 00000001 0032f817 004f34b4 0000000c 0x0032f7e8: 0047d6fe 00000000 00000000 00000500 0x0032f7f8: 00000400 00000002 00200000 00000000 0x0032f808: 705c3a41 6f6c6275 722e6f67 7e006c70 0x0032f818: 00000000 00110000 00000001 0000ffff 0x0032f828: 0014c0a0 00680002 00000100 61666564 Backtrace: =>0 0x10002d51 in winplay (+0x2d51) (0x030d6a00) 1 0x00000000 (0x00000000) 0x10002d51: movw $0x0,0xfffffffe(%ebp,%edi,1) Modules: Module Address Debug info Name (88 modules) PE 330000- 348000 Deferred winstr PE 350000- 3ae000 Deferred dec130 PE 3b0000- 3d3000 Deferred edec PE 3e0000- 3fc000 Deferred winsdec PE 400000- c6b800 Deferred kain2 PE 10000000-10013000 Export winplay ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7c026000-7cf3e000 Deferred libglcore.so.1 ELF 7d13b000-7d14a000 Deferred libgcc_s.so.1 ELF 7d6bf000-7d779000 Deferred libgl.so.1 ELF 7d799000-7d82e000 Deferred opengl32<elf> -PE 7d7b0000-7d82e000 \ opengl32 ELF 7d88c000-7d9ae000 Deferred wined3d<elf> -PE 7d8a0000-7d9ae000 \ wined3d ELF 7d9ae000-7d9c3000 Deferred midimap<elf> -PE 7d9b0000-7d9c3000 \ midimap ELF 7d9c3000-7d9ec000 Deferred msacm32<elf> -PE 7d9d0000-7d9ec000 \ msacm32 ELF 7e1ed000-7e24c000 Deferred libpulse.so.0 ELF 7e253000-7e26c000 Deferred msacm32<elf> -PE 7e260000-7e26c000 \ msacm32 ELF 7e26c000-7e275000 Deferred librt.so.1 ELF 7e275000-7e33d000 Deferred libasound.so.2 ELF 7e33d000-7e374000 Deferred winealsa<elf> -PE 7e350000-7e374000 \ winealsa ELF 7e374000-7e37d000 Deferred libxcursor.so.1 ELF 7e37d000-7e382000 Deferred libxfixes.so.3 ELF 7e382000-7e386000 Deferred libxcomposite.so.1 ELF 7e386000-7e38e000 Deferred libxrandr.so.2 ELF 7e38e000-7e398000 Deferred libxrender.so.1 ELF 7e398000-7e39e000 Deferred libxxf86vm.so.1 ELF 7e39e000-7e3a1000 Deferred libxinerama.so.1 ELF 7e3a1000-7e3c2000 Deferred imm32<elf> -PE 7e3b0000-7e3c2000 \ imm32 ELF 7e3c2000-7e3c7000 Deferred libxdmcp.so.6 ELF 7e3c7000-7e3e1000 Deferred libxcb.so.1 ELF 7e3e1000-7e4d0000 Deferred libx11.so.6 ELF 7e4d0000-7e4e0000 Deferred libxext.so.6 ELF 7e4e0000-7e4f8000 Deferred libice.so.6 ELF 7e4fd000-7e4ff000 Deferred libnvidia-tls.so.1 ELF 7e4ff000-7e505000 Deferred libattr.so.1 ELF 7e505000-7e50c000 Deferred libgdbm.so.3 ELF 7e50c000-7e511000 Deferred libcap.so.2 ELF 7e511000-7e518000 Deferred libasound_module_pcm_pulse.so ELF 7e518000-7e5b4000 Deferred winex11<elf> -PE 7e530000-7e5b4000 \ winex11 ELF 7e611000-7e638000 Deferred libexpat.so.1 ELF 7e638000-7e665000 Deferred libfontconfig.so.1 ELF 7e667000-7e66b000 Deferred libxau.so.6 ELF 7e66b000-7e670000 Deferred libuuid.so.1 ELF 7e670000-7e679000 Deferred libsm.so.6 ELF 7e685000-7e6fc000 Deferred libfreetype.so.6 ELF 7e6fc000-7e790000 Deferred winmm<elf> -PE 7e710000-7e790000 \ winmm ELF 7e790000-7e7dc000 Deferred dsound<elf> -PE 7e7a0000-7e7dc000 \ dsound ELF 7e7dc000-7e814000 Deferred dinput<elf> -PE 7e7e0000-7e814000 \ dinput ELF 7e814000-7e82a000 Deferred libresolv.so.2 ELF 7e84a000-7e86a000 Deferred iphlpapi<elf> -PE 7e850000-7e86a000 \ iphlpapi ELF 7e86a000-7e8d1000 Deferred rpcrt4<elf> -PE 7e880000-7e8d1000 \ rpcrt4 ELF 7e8d1000-7e9e2000 Deferred ole32<elf> -PE 7e8f0000-7e9e2000 \ ole32 ELF 7e9e2000-7ea3c000 Deferred ddraw<elf> -PE 7e9f0000-7ea3c000 \ ddraw ELF 7ea3c000-7ea91000 Deferred advapi32<elf> -PE 7ea50000-7ea91000 \ advapi32 ELF 7ea91000-7eb31000 Deferred gdi32<elf> -PE 7eaa0000-7eb31000 \ gdi32 ELF 7eb31000-7ec7f000 Deferred user32<elf> -PE 7eb50000-7ec7f000 \ user32 ELF 7eda9000-7eee9000 Deferred kernel32<elf> -PE 7edc0000-7eee9000 \ kernel32 ELF 7eee9000-7eef5000 Deferred libnss_files.so.2 ELF 7eef5000-7ef0e000 Deferred libnsl.so.1 ELF 7ef0e000-7ef34000 Deferred libm.so.6 ELF 7ef3c000-7ef52000 Deferred libz.so.1 ELF 7ef54000-7f000000 Deferred ntdll<elf> -PE 7ef70000-7f000000 \ ntdll ELF f7ce1000-f7cec000 Deferred libnss_nis.so.2 ELF f7ced000-f7cf1000 Deferred libdl.so.2 ELF f7cf1000-f7e54000 Deferred libc.so.6 ELF f7e55000-f7e6e000 Deferred libpthread.so.0 ELF f7e85000-f7e8e000 Deferred libnss_compat.so.2 ELF f7e8e000-f7fc5000 Deferred libwine.so.1 ELF f7fc7000-f7fe8000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\Eidos Interactive\Soul Reaver\kain2.exe 00000025 15 00000023 0 00000020 15 0000001e -2 00000009 0 <== 0000000c 0000001a 0 00000016 0 00000013 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 00000017 0000001b 0 00000019 0 00000018 0 0000001c 0000001d 0 Backtrace: =>0 0x10002d51 in winplay (+0x2d51) (0x030d6a00) 1 0x00000000 (0x00000000) fixme:winmm:MMDRV_Exit Closing while ll-driver open
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #3 from rgnr irnbld@gmail.com 2009-06-07 12:32:59 --- Created an attachment (id=21627) --> (http://bugs.winehq.org/attachment.cgi?id=21627) LOK Soul Reaver backtrace
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #4 from rgnr irnbld@gmail.com 2009-06-07 12:33:33 --- Oops :)
http://bugs.winehq.org/show_bug.cgi?id=18819
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #21627|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #5 from Austin English austinenglish@gmail.com 2010-03-11 17:21:37 --- This is your friendly reminder that there has been no bug activity for 8 months. Is this still an issue in current (1.1.40 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18819
samoylovfp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samoylovfp@gmail.com
--- Comment #6 from samoylovfp@gmail.com 2011-02-19 09:17:34 CST --- wine-1.3.13, Have the same bug
http://bugs.winehq.org/show_bug.cgi?id=18819
Patrick Rudolph patrick1804@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick1804@web.de
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #7 from Patrick Rudolph patrick1804@web.de 2011-06-11 14:32:37 CDT --- still present in wine1.3.22
This error occurs only if the resolutions is greater than 640x480 px. This error doesn't occur if the game is started at 640x480px.
LOK Soul Reaver program relays on winplay.dll, which provides some helper functions. I guess its related to some old DX functions, that are not implemented (in correct manner).
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #8 from GyB gyebro69@gmail.com 2011-11-01 09:26:41 CDT --- Created attachment 37240 --> http://bugs.winehq.org/attachment.cgi?id=37240 Soul Reaver demo crash log with backtrace (wine-1.3.31-213-g996b451)
For those who own the full version of the game, can you confirm that the issue is still present in current Wine (1.3.31) and that this demo shares the same problem? http://www.fileplanet.com/23327/20000/fileinfo/Legacy-Of-Kain:-Soul-Reaver
I've just tried the demo and indeed, there is a crash when the game is starting, and the crash has something to do with the selected screen resolution: it only happens with resolutions >640x480. Most of the time it happens just after the intro video ends, and the generated backtrace is what you see in the attached log. Other times the crash happens before the video, and Wine produces the same backtrace as pasted in comment #2.
If I add WINEDEBUG=warn+heap, I receive these messages just before the crash occurs: err:heap:validate_large_arena Heap 0x110000: block 0x37b0020 tail overwritten at 0x3846030 (byte 0/4048 == 0x00) warn:heap:validate_large_arena Heap 0x110000: invalid large arena 0x3847000 values 0/0
and one more message at the end of the log: err:heap:validate_large_arena Heap 0x110000: block 0x3710020 tail overwritten at 0x37a6030 (byte 0/4048 == 0x00)
Fedora 15 x86 Nvidia 250 / driver 280.13 X.Org X Server 1.10.4 gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)
http://bugs.winehq.org/show_bug.cgi?id=18819
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #9 from GyB gyebro69@gmail.com 2011-12-11 01:36:01 CST --- I can no longer reproduce the crash with the demo since 1.3.34. It was fixed by http://source.winehq.org/git/wine.git/commit/94c0da184e18252ca2df7f9f462e9a4...
Please try the full version of the game with Wine-1.3.34 (or newer) and confirm the fixed state.
http://bugs.winehq.org/show_bug.cgi?id=18819
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |94c0da184e18252ca2df7f9f462 | |e9a4df9c5f2df Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com 2013-02-18 18:34:15 CST --- Assuming fixed as per last comment.
http://bugs.winehq.org/show_bug.cgi?id=18819
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2013-03-01 14:50:15 CST --- Closing bugs fixed in 1.5.25.
http://bugs.winehq.org/show_bug.cgi?id=18819
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2013-03-01 15:09:44 CST --- Really closing bugs fixed in 1.5.25.