http://bugs.winehq.org/show_bug.cgi?id=27492
Summary: Starcraft locks up when attempting to use the mouse ingame Product: Wine Version: 1.3.20 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: aim_here2002@yahoo.co.uk
Created an attachment (id=35148) --> (http://bugs.winehq.org/attachment.cgi?id=35148) Regression test result.
After wine version 1.3.20, Starcraft 1/BroodWar is no longer playable. After starting the game and then attempting to click on any ingame unit or building, the game locks up. The console complains about a stack overflow. I then have kill the process to get a decent X resolution, and I don't know offhand how to get a backtrace or somesuch.
The actual overflow message is this: "err:seh:setup_exception_record stack overflow 816 bytes in thread 0009 eip 7efb77cb esp 00231000 stack 0x230000-0x231000-0x330000"
The bug only happens in fullscreen mode, and doesn't occur in virtual desktop mode.
Since this is a regression, I did the long boring compiley thing to get this:
a59c7cc8596b658d3c0854a737528cf60947ac1f is the first bad commit commit a59c7cc8596b658d3c0854a737528cf60947ac1f Author: Alexandre Julliard julliard@winehq.org Date: Wed May 11 12:30:03 2011 +0200
winex11: Automatically clip the pointer when the foreground window is full-screen.
:040000 040000 f94f9152b3112463b3bdf874a0d64dae1029e309 04faeb9831f686bb586fd81166ad95cf6da05738 M dlls
http://bugs.winehq.org/show_bug.cgi?id=27492
David aim_here2002@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=27492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=27492
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #1 from Wylda wylda@volny.cz 2011-06-18 14:59:14 CDT ---
Can't confirm. Works for me in all the following tested versions: * 1.3.20, 1.3.21, wine-1.3.22-203-gac90c1b
Debian Squeeze.
http://bugs.winehq.org/show_bug.cgi?id=27492
--- Comment #2 from David aim_here2002@yahoo.co.uk 2011-06-18 16:52:05 CDT --- Odd. There are two other reports in the appdb comments section of the bug manifesting itself. I'm using Debian Sid amd64 with an ATI card and the proprietary driver (though I don't think Starcraft will care that much). I use the retail CD, though the two other reports seem to relate to the version that can be downloaded from battle.net.
One of the reports is from John Lindgren, who apparently uses Arch Linux x86_64. Maybe it's a 64-bit-ism.
http://bugs.winehq.org/show_bug.cgi?id=27492
--- Comment #3 from Wylda wylda@volny.cz 2011-06-18 16:58:00 CDT ---
So more info from my side: * Debian Squeeze 32bit * KDE 4.4.5 * nVidia GT240 v275.09.07
http://bugs.winehq.org/show_bug.cgi?id=27492
Brandon Howard FinalCrisisSX@Hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |FinalCrisisSX@Hotmail.com
--- Comment #4 from Brandon Howard FinalCrisisSX@Hotmail.com 2011-06-24 01:28:45 CDT --- On my Arch Linux 64 bit, it works fine for me without virtual desktops using vanilla wine 1.3.22.
However, when I use my custom wine package from current git (pre-1.3.23) with 3rd party patches to 1) Add a pulseaudio driver 2) Fix the battle.net screen drawing improperly 3) Fix a bug with xfce's exo in wine apps that gives an error upon clicking links.. it gives the crash/hang mentioned here upon clicking anything when a game has started. In virtual desktop mode, the patched wine kinda sorta works; it doesn't draw while trying to 'box select' units even though the actual box selection process worked; it just freezes that frame until the box select is over. Is the OP using one of these patches or vanilla wine? I would guess the battlenet one is messing up the game as it is a somewhat commonly used patch.
Other potentially relevant packages / info:
Running liquorix kernel (kernel26-lqx 2.6.38.6-1) and nvidia-lqx 270.41.19-4 .
Running XFCE 4.8, but I have SC running in it's own X session so it is most probably unrelated to desktop environment if it is not the bnet patch.
http://bugs.winehq.org/show_bug.cgi?id=27492
--- Comment #5 from Brandon Howard FinalCrisisSX@Hotmail.com 2011-06-24 01:52:48 CDT --- Actually, ignore my previous question -- I just found out something interesting in my case, perhaps it applies to yours. I realized after I posted that I forgot to remove my --without-xinput2 flags. After doing this, so that wine is compiled with xinput2 as it is in the vanilla package, it no longer hangs, so it's nothing to do with the aforementioned patches most probably.
Perhaps your issue is the same?
http://bugs.winehq.org/show_bug.cgi?id=27492
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Wylda wylda@volny.cz 2011-06-24 18:17:00 CDT ---
That's it. It works for me thanks to Xinput2.
When i compiled wine-1.3.23 with --without-xinput2 then when i clicked on unit i got:
err:seh:setup_exception_record stack overflow 848 bytes in thread 0009 eip b777914a esp 00240fe0 stack 0x240000-0x241000-0x340000
http://bugs.winehq.org/show_bug.cgi?id=27492
--- Comment #7 from David aim_here2002@yahoo.co.uk 2011-06-25 07:30:11 CDT --- Oops, I forgot that I compiled --without-xinput2 (because it causes mouse glitches in Starcraft 2). That's likely the problem, I'll get back to you when I next compile wine.
http://bugs.winehq.org/show_bug.cgi?id=27492
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a59c7cc8596b658d3c0854a7375 | |28cf60947ac1f
http://bugs.winehq.org/show_bug.cgi?id=27492
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |nerv@dawncrow.de Resolution| |INVALID
--- Comment #8 from André H. nerv@dawncrow.de 2011-10-02 09:54:14 CDT --- marking invalid
http://bugs.winehq.org/show_bug.cgi?id=27492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com 2011-10-04 15:25:46 CDT --- Closing.