http://bugs.winehq.org/show_bug.cgi?id=9294
Summary: Crash when loading Vampire - The Maquerade - Redemption Product: Wine Version: 0.9.43. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: nospam.nospam@mekanix.dk
Installation and patching goes well, but when I try to load the game Wine crashes. This is the terminal output:
$ WINEPREFIX="/home/mekanix/Wine/Vampire/" wine drive_c/Program\ Files/Vampire\ The\ Masquerade\ -\ Redemption/Vampire.exe libGL warning: 3D driver claims to not support visual 0x5c libGL warning: 3D driver claims to not support visual 0x5c err:wgl:X11DRV_wglGetProcAddress (wglMakeContextCurrentARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglGetCurrentReadDCARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglCreatePbufferARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglGetPbufferDCARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglReleasePbufferDCARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglDestroyPbufferARB) - not found err:wgl:X11DRV_wglGetProcAddress (wglQueryPbufferARB) - not found fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x172360) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1702e0)->((nil),00000008) fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1702e0)->(0x10024,00000013) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error) err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation". Unable to initialize threads: cannot find class java/lang/Thread wine: Unhandled page fault on write access to 0x00000008 at address 0x41ad2b (thread 0009), starting debugger... Unhandled exception: page fault on write access to 0x00000008 in 32-bit code (0x0041ad2b). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:0041ad2b ESP:0033fdb8 EBP:00614040 EFLAGS:00010202( - 00 - -RI1) EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000002 ESI:01093a60 EDI:01093b44 Stack dump: 0x0033fdb8: 004fd3a0 004190d4 00000000 7ebb6890 0x0033fdc8: 00000000 00000000 00418ca6 00000000 0x0033fdd8: 00000000 7ebb1240 01093a60 0033fef8 0x0033fde8: 004ea841 00000002 004010b9 00000000 0x0033fdf8: 7ebb3ec0 00000280 0042cdd3 00000280 0x0033fe08: 00429edb 7ebb6890 7ebb3ec0 00000000 Backtrace: =>1 0x0041ad2b in vampire (+0x1ad2b) (0x00614040) 2 0x00000005 (0x00000000) 0x0041ad2b: movl $0x41b2a0,0x8(%eax) Modules: Module Address Debug info Name (97 modules) PE 340000- 392000 Deferred binkw32 PE 400000- 733000 Export vampire PE 740000- 832000 Deferred wondll PE 1190000- 1455000 Deferred rldirect PE 10000000-10062000 Deferred javai PE 21100000-2115c000 Deferred mss32 PE 22100000-22111000 Deferred mssa3d.m3d PE 22200000-22212000 Deferred mssa3d2.m3d PE 22400000-22411000 Deferred mssds3dh.m3d PE 22500000-22511000 Deferred msseax.m3d PE 22600000-22612000 Deferred mssfast.m3d PE 22c00000-22c14000 Deferred msseax2.m3d PE 26f00000-26f26000 Deferred mp3dec.asi ELF 7b800000-7b926000 Deferred kernel32<elf> -PE 7b820000-7b926000 \ kernel32 ELF 7bc00000-7bca0000 Deferred ntdll<elf> -PE 7bc10000-7bca0000 \ ntdll ELF 7bcbc000-7bd36000 Deferred libglu.so.1 ELF 7bd36000-7be00000 Deferred wined3d<elf> -PE 7bd50000-7be00000 \ wined3d ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7bf4a000-7bf9e000 Deferred ddraw<elf> -PE 7bf50000-7bf9e000 \ ddraw ELF 7bf9e000-7bfc4000 Deferred msacm32<elf> -PE 7bfb0000-7bfc4000 \ msacm32 ELF 7bfc4000-7c000000 Deferred wineoss<elf> -PE 7bfd0000-7c000000 \ wineoss ELF 7c79c000-7c7b1000 Deferred midimap<elf> -PE 7c7a0000-7c7b1000 \ midimap ELF 7c7b1000-7c7c9000 Deferred msacm32<elf> -PE 7c7c0000-7c7c9000 \ msacm32 ELF 7c877000-7c8a9000 Deferred uxtheme<elf> -PE 7c880000-7c8a9000 \ uxtheme ELF 7c8a9000-7c8ae000 Deferred libxfixes.so.3 ELF 7c8ae000-7c8cb000 Deferred imm32<elf> -PE 7c8c0000-7c8cb000 \ imm32 ELF 7c8cb000-7c8e9000 Deferred ximcp.so.2 ELF 7c8e9000-7c8f1000 Deferred libxrender.so.1 ELF 7e1ab000-7e3d6000 Deferred i915_dri.so ELF 7e3d6000-7e3dd000 Deferred libdrm.so.2 ELF 7e3dd000-7e44c000 Deferred libgl.so.1 ELF 7e44c000-7e451000 Deferred libxdmcp.so.6 ELF 7e451000-7e51a000 Deferred libx11.so.6 ELF 7e51a000-7e527000 Deferred libxext.so.6 ELF 7e527000-7e52c000 Deferred libxxf86vm.so.1 ELF 7e52c000-7e544000 Deferred libice.so.6 ELF 7e544000-7e54d000 Deferred libsm.so.6 ELF 7e54d000-7e5d7000 Deferred winex11<elf> -PE 7e560000-7e5d7000 \ winex11 ELF 7e5d7000-7e5f5000 Deferred libexpat.so.1 ELF 7e5f5000-7e624000 Deferred libfontconfig.so.1 ELF 7e624000-7e638000 Deferred libz.so.1 ELF 7e638000-7e6a2000 Deferred libfreetype.so.6 ELF 7e6a2000-7e6d8000 Deferred dinput<elf> -PE 7e6b0000-7e6d8000 \ dinput ELF 7e6d8000-7e73d000 Deferred msvcrt<elf> -PE 7e6f0000-7e73d000 \ msvcrt ELF 7e73d000-7e796000 Deferred rpcrt4<elf> -PE 7e750000-7e796000 \ rpcrt4 ELF 7e796000-7e834000 Deferred ole32<elf> -PE 7e7a0000-7e834000 \ ole32 ELF 7e834000-7e8c1000 Deferred winmm<elf> -PE 7e840000-7e8c1000 \ winmm ELF 7e8c1000-7e97e000 Deferred comctl32<elf> -PE 7e8d0000-7e97e000 \ comctl32 ELF 7e97e000-7e989000 Deferred libgcc_s.so.1 ELF 7ea68000-7eb23000 Deferred gdi32<elf> -PE 7ea80000-7eb23000 \ gdi32 ELF 7eb23000-7ec5f000 Deferred user32<elf> -PE 7eb40000-7ec5f000 \ user32 ELF 7ec5f000-7ecb8000 Deferred shlwapi<elf> -PE 7ec70000-7ecb8000 \ shlwapi ELF 7ecb8000-7edba000 Deferred shell32<elf> -PE 7ecd0000-7edba000 \ shell32 ELF 7edba000-7ee01000 Deferred advapi32<elf> -PE 7edd0000-7ee01000 \ advapi32 ELF 7ee01000-7ee14000 Deferred libresolv.so.2 ELF 7ee16000-7ee1f000 Deferred libxcursor.so.1 ELF 7ee1f000-7ee21000 Deferred xlcutf8load.so.2 ELF 7ee21000-7ee24000 Deferred libxrandr.so.2 ELF 7ee26000-7ee44000 Deferred iphlpapi<elf> -PE 7ee30000-7ee44000 \ iphlpapi ELF 7ee44000-7ee70000 Deferred ws2_32<elf> -PE 7ee50000-7ee70000 \ ws2_32 ELF 7ee70000-7ee8a000 Deferred wsock32<elf> -PE 7ee80000-7ee8a000 \ wsock32 ELF 7ef94000-7ef9f000 Deferred libnss_files.so.2 ELF 7ef9f000-7efa9000 Deferred libnss_nis.so.2 ELF 7efa9000-7efbf000 Deferred libnsl.so.1 ELF 7efbf000-7efc8000 Deferred libnss_compat.so.2 ELF 7efc8000-7efee000 Deferred libm.so.6 ELF 7efef000-7eff2000 Deferred libxau.so.6 ELF b7d62000-b7d66000 Deferred libdl.so.2 ELF b7d66000-b7e9a000 Deferred libc.so.6 ELF b7e9b000-b7eae000 Deferred libpthread.so.0 ELF b7ec0000-b7fd4000 Deferred libwine.so.1 ELF b7fd6000-b7ff1000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000a 0000000c 0 0000000b 0 00000008 (D) Z:\home\mekanix\Wine\Vampire\drive_c\Program Files\Vampire The Masquerade - Redemption\Vampire.exe 0000000d 0 00000009 0 <==
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2007-08-13 03:23:08 --- First, you must use sound emulation. To do that, use winecfg: err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation".
If the crash still occurs, tell it.
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=9294
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2007-08-13 06:09:56 --- And please don't paste long logs into bug reports; attach them instead.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #3 from Bjarne Petersen nospam.nospam@mekanix.dk 2007-08-13 07:12:26 --- First, sorry for the long paste...
I went and changed the Audio-option (as suggested), but wine still crashes.
I might have an idea though. I've been playing around with demoes that - according to the appdb - should work (mostly). They all seem to crash/quit when trying to access a files *inside* an archive.
Eg. this is from the Vampire terminal output:
Unable to initialize threads: cannot find class java/lang/Thread
The java/lang/Thread is inside a classes.zip that can be found in Vampires top-directory.
And I have a similar problem with the Max Payne demo. It gives me the following warning: "Exception in startupInit:Directory \data not found"
Googling around I've found out that the \data-directory should be inside a ras-archive located a the demos top-directory. I've got to ras-archives there.
And again with Hitman Contracts demo. There too Wine crashed after it couldn't locate a file inside a zip-archive.
All 3 games have been run with a clean wine setup using WINEPREFIX=/home/username/Wine/NameOfGame
http://bugs.winehq.org/show_bug.cgi?id=9294
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Component|wine-directx-d3d |wine-directx
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-13 07:33:59 --- Then at least try to run these programs properly: cd ~/.wine/drive_c/Program\ Files/Vampire\The\ Masquerade\ -\ Redemption/ wine Vampire.exe
Not blocker
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #5 from Bjarne Petersen nospam.nospam@mekanix.dk 2007-08-13 13:21:12 --- I wasn't aware that it was necessary to cd into the directory?
But now the intro loads, and then it crashes.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #6 from Bjarne Petersen nospam.nospam@mekanix.dk 2007-08-13 13:21:30 --- Created an attachment (id=7573) --> (http://bugs.winehq.org/attachment.cgi?id=7573) terminal output
http://bugs.winehq.org/show_bug.cgi?id=9294
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7573|text/x-log |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9294
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_directx |-unknown
--- Comment #7 from Austin English austinenglish@gmail.com 2008-01-28 12:54:33 --- Can you retry this in wine 0.9.54?
http://bugs.winehq.org/show_bug.cgi?id=9294
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #8 from Alexander Dorofeyev alexd4@inbox.lv 2008-03-15 11:24:14 --- Problems with crashes in this game after watching a video cutscene then getting into a level still exist in git wine. BTW everything works great otherwise, for example if you skip the video by loading an autosave. The problem is not always a crash, sometimes it doesn't crash but part of textures are corrupted, contain blackness or some completely wrong images.
I debugged this a bit and I believe this is related to the fact that when it shows a video cutscene it does a reinitialization of ddraw/d3d of sorts and switch of resolution. Looks like it frees the primary surface and triggers Uninit3D/Init3D calls in wined3d. So far it looked like problematic textures are the one which were created before this re-initialization, but continue to be used after it. Maybe somehow such textures are supposed to work on Windows but become corrupted on Wine (like memory freed or something). The one used to draw the mouse pointer is one such texture, I believe. Needs more debugging. If I have time I'll try to investigate this further.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #9 from Austin English austinenglish@gmail.com 2008-06-16 12:57:55 --- Is this still an issue in current (1.0-rc5 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9294
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liquid.acid@gmx.net
--- Comment #10 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 17:57:39 --- I have just installed my german DVD version of the game (speech is still english though, only the subtitles are in german), and patched it to 1.2 (no fan patch applied yet).
It works even without a no-DVD patch, no crashes so far. I have some trouble with the sound but that's a different story.
Wine is 1.0.0 (also works with todays GIT).
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #11 from Alexander Dorofeyev alexd4@inbox.lv 2008-06-25 18:04:35 --- (In reply to comment #10)
It works even without a no-DVD patch, no crashes so far. I have some trouble with the sound but that's a different story.
Wine is 1.0.0 (also works with todays GIT).
Even after getting into a level that is preceded by a video cutscene (such as the very first one)? For me it's usually either corrupted textures or crashes.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #12 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 18:10:00 --- I didn't notice any video cutscenes.
I just played to the point where you encounte Jack and the pseudo-tutorial starts. No crashes up to that point.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #13 from Tobias Jakobi liquid.acid@gmx.net 2008-06-28 09:03:33 --- @Alexander: I made another run through the intro sequence plus tutorial.
The only real video sequences I encounter are the publisher and developer videos that are played before you reach the main menu (also the "how it's meant to be played" crap by nvidia).
Then when selecting new game I click my way through the character setup. ending up in the first "scene": "the embrace" Next comes the execution scene, after this one I can finally play on my own (tutorial scene). No videos are played up to that point.
Are you pointing at another video sequence?
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #14 from Alexander Dorofeyev alexd4@inbox.lv 2008-06-28 09:13:33 --- Huh? It doesn't sound like we are talking about same game. Are you sure you are testing this: http://en.wikipedia.org/wiki/Vampire:_The_Masquerade_-_Redemption? In the game I'm referring to, the player's character is named Christoff, and the first game scene you awake wounded in the convent. This is preceded by a video cutscene where Christoff fights pagans and gets wounded.
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #15 from Tobias Jakobi liquid.acid@gmx.net 2008-06-28 09:31:49 --- Oooops!! I was talking all the time about the sequel "Bloodlines".... sry!
But I can also check "Redemption", just give me some time.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #16 from Austin English austinenglish@gmail.com 2008-12-29 10:51:04 --- Is this still an issue in current (1.1.11 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9294
--- Comment #17 from joaopa jeremielapuree@yahoo.fr 2009-03-27 03:46:04 --- I have no problem with the demo. Does the problem still occur with the retail game?
http://bugs.winehq.org/show_bug.cgi?id=9294
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #18 from Alexander Dorofeyev alexd4@inbox.lv 2009-08-31 14:54:46 --- The problem that I have been seeing - texture corruption or game crash just after game level loads, right after watching any in-game video cutscene - is gone, somewhere between 1.1.17 and 1.1.18, and according to reverse regression test I just did it was this commit:
commit 24a4503d6133de126c4e34911baf3b79d81e0bd7 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Mar 23 13:54:34 2009 +0100
wined3d: Unload resources on Uninit3D().
This should prevent destroying GL objects without a GL context. Eg. when a ddraw surface has a GL texture and is released after a call to Uninit3D().
This makes sense because IIRC it was related to Uninit3D/Init3d calls.
I've just read the original report more carefully, and a bit unsure that HIS problem wasn't just incorrect use of Wine. Anyway, the game runs near perfect now, so I think this can be resolved as fixed, as indeed a real crash-causing bug was fixed.
http://bugs.winehq.org/show_bug.cgi?id=9294
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2009-09-02 14:11:12 --- Closing bugs fixed in 1.1.29.