http://bugs.winehq.org/show_bug.cgi?id=30936
Bug #: 30936 Summary: Star Wars: Knights of the Old Republic crashes after first location Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: oren.ginger@gmail.com Classification: Unclassified
I create a hero, walk through first location (Endire Spike or something like that), meet Karth Onasi - it works okay. And after, when I try to get into capsule, game crashes. stdout, stderr and wine backtrace are in attachement in TAR archive. However, this game worked fine with wine 1.0 and AMD Radeon HD2400 videocard, now I have nVidia GF210
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #1 from alix oren.ginger@gmail.com 2012-06-17 23:25:41 CDT --- Created attachment 40586 --> http://bugs.winehq.org/attachment.cgi?id=40586 stdin,stdout and backtrace
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #2 from Austin English austinenglish@gmail.com 2012-06-18 20:14:04 CDT --- Backtrace: =>0 0x7e20feb5 XIFreeDeviceInfo+0x15() in libxi.so.6 (0x032de310) 1 0x7e25fc29 in winex11 (+0x2fc28) (0x032de310) 2 0x7e2621e0 in winex11 (+0x321df) (0x032de370) 3 0x7e27c66a X11DRV_WindowMessage+0xc9() in winex11 (0x032de410) 4 0x7e9fdb11 in user32 (+0x5db10) (0x032de450) 5 0x7e9fdc1c in user32 (+0x5dc1b) (0x032de4b0) 6 0x7ea00cec in user32 (+0x60ceb) (0x032de8d0) 7 0x7ea0447e PeekMessageW+0x7d() in user32 (0x032de930) 8 0x7ea045f9 PeekMessageA+0xc8() in user32 (0x032de970) 9 0x00404c14 in swkotor (+0x4c13) (0x7b86dd00) 10 0x90e853ec (0x8b55ff8b) 0x7e20feb5 XIFreeDeviceInfo+0x15 in libxi.so.6: movl 0x4(%edi),%edx
Are you on Debian? I recall someone recently having a bug that was fixed by updating libxi.
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #3 from GyB gyebro69@gmail.com 2012-06-19 12:50:08 CDT --- Created attachment 40608 --> http://bugs.winehq.org/attachment.cgi?id=40608 crash log with backtrace
I bumped into this bug several months ago but was reluctant to report it at the time when the problem appeared in Wine. Maybe a bug in recent Xserver versions, but the fact is that there is a commit in Wine which made the problem appear. I must add that I couldn't find any other game in the past few months which was affected by this commit. I tested with Star Wars:KOTOR 1 (Steam version). The problem was present on my previous Fedora 16 installation (XServer 1.11.4) and now it's still there on Fedora 17 (XServer 1.12.2).
The crash always happens while in-game videos are playing. It seems to me that pressing either mouse buttons during video playback causes the crash. Right mouse button has no effect while videos are playing, but left mouse button can be used to skip the videos. If I let the videos play to the end (without pressing any mouse buttons), the crash doesn't occur.
According to my testing, this is the commit which introduced the problem:
126bb92717b3889a25a19d5acef4874c83b68543 is the first bad commit commit 126bb92717b3889a25a19d5acef4874c83b68543 Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 21 10:57:40 2011 +0100
winex11: Keep the device info around as long as XInput2 is active.
:040000 040000 ee0e3340cf34a84f97ab46c893be2217aef939d8 4a00e699d2ef5941de97f9c8d65594835c76ea7f M dlls
Fedora 17 x86 X.Org X Server 1.12.2 wine-1.5.6-216-gd0012f8 Gnome 3
http://bugs.winehq.org/show_bug.cgi?id=30936
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW CC| |gyebro69@gmail.com, | |julliard@winehq.org Component|-unknown |winex11.drv Ever Confirmed|0 |1 Severity|critical |normal
--- Comment #4 from GyB gyebro69@gmail.com 2012-06-19 12:51:38 CDT --- Priority should be normal. Adjusting component field and CC'ed Alexandre.
http://bugs.winehq.org/show_bug.cgi?id=30936
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |126bb92717b3889a25a19d5acef | |4874c83b68543
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-06-19 13:09:54 CDT --- Created attachment 40609 --> http://bugs.winehq.org/attachment.cgi?id=40609 Don't free device info on detach
Does this help or does it only crash further on?
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #6 from GyB gyebro69@gmail.com 2012-06-19 13:45:53 CDT --- (In reply to comment #5)
Created attachment 40609 [details] Don't free device info on detach
Does this help or does it only crash further on?
The patch fixes the crash problem, but now I can't turn around in 360 degrees in the game if I use the method to press and hold the right mouse button and dragging the mouse.The other method still works, though (pushing the mouse pointer to the edges of the screen).
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-06-19 13:56:23 CDT --- Are you saying that moving with the right mouse button works without the patch, or was it crashing at that point?
http://bugs.winehq.org/show_bug.cgi?id=30936
--- Comment #8 from GyB gyebro69@gmail.com 2012-06-19 14:01:32 CDT --- (In reply to comment #7)
Are you saying that moving with the right mouse button works without the patch, or was it crashing at that point?
Pressing the left or right mouse button causes the crash only in the videos, but not during normal gameplay.
http://bugs.winehq.org/show_bug.cgi?id=30936
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f5790913803323e4a36e9d7b7f6 | |d39f28e15f09a Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-08-17 06:47:50 CDT --- Hopefully fixed by f5790913803323e4a36e9d7b7f6d39f28e15f09a.
http://bugs.winehq.org/show_bug.cgi?id=30936
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-08-17 13:54:09 CDT --- Closing bugs fixed in 1.5.11.