http://bugs.winehq.org/show_bug.cgi?id=6142
Summary: Gothic crashes on nvidia cards when entering a new level Product: Wine Version: 0.9.20. Platform: PC URL: http://liandri.mine.nu/testi/gerror.log OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: d1m1@gmx.ch
I start Gothic with default settings(but without Music and without Videos (renamed $gamedir/_work/DATA/video)). I can walk around in the world, but when I enter another level (From the outdoor map you can enter into some cave-maps) like the old mine, the level loads, but after I make a single step inside the new level, the game crashes (resolution change, puzzled "screenshot" and after about a minute the game quits)
error messages on stderr, that appear right when the game crashes: [code] err:msvcrt:symbol_demangle Unknown operator: _R [/code] [code] err:msvcrt:demangle_datatype Unknown type Y [/code] [code] err:ntdll:RtlpWaitForCriticalSection section 0x7e4e4e40 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 0016, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7e4e4e40 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0015, blocked by 0016, retrying (60 sec) wine: Critical section 7e4e4e40 wait failed at address 0x7efb0030 (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: wait failed on critical section 0x7e4e4e40 usexvidmode+0x44err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7efb0030 Process of pid=0x00000008 has terminated [/code]
I tried to complete some code in msvcrt.dll using some tables i found here http://sparcs.kaist.ac.kr/~tokigun/article/vcmangle.html, but I have no idea what i did. The only change was that the unknown operator/type messages did/could not appear anymore, because msvcrt.dll "knew" them.
I did test gothic with several versions of wine, that use the newer ddraw code (0.9.16-0.9.20) and I also applied the patch to version 0.9.14 and 0.9.15 and I always had the same crash then. The game also crashed on wine 0.9.16 (I did not test it with the newest version of wine) when I walked around in the world for about 7 minutes without switching levels. It seems that it can't crash, when I am inside a chat dialog with a NPC, but it crashes as soon as you leave the chat dialog if time is up.
I did test wine on 2 debian sid systems with different nvidia-cards.
The game does not seem to crash after 7 minutes if you use wine 0.9.14 without the ddraw patch. As far as I remember the game crashes when switching levels anyway, but it crashes "faster" - the game quits and the desktop appears after level loading is complete, so maybe the reason is another.
I could test it on an ubuntu dapper system (wine 0.9.20) with an ati card (fglrx-drivers) too and the game did not crash when switching levels. I also heard of 2 other ati card owners that are able to play gothic without such a crash.
My system: debian sid i386, kernel: 2.6.17-1-686 (standard kernel image) Memory: 1 GB CPU: Intel P4 3.0 Ghz (Hyperthreding enabled, I thought that the crash maybe some kind of deadlock that only appears on SMP Systems, but i did also test it on an AMD 3500 with debian sid i386 with the same result)
wine configuration dll overrides for: dmband.dll dmime.dll dmloader.dll dmstyle.dll dmsynth.dll dmusic.dll dmcompos.dll I had to use these on wine >=0.9.19 even with music disabled, to get the game to run.
Version of Gothic: 1.08k german
nvidia driver version: 8762