http://bugs.winehq.org/show_bug.cgi?id=12455
Summary: Warcraft III 1.21b - Crashes with Fatal Error on Switch Desktop from 0.9.57+ Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lightrush@gmail.com
Created an attachment (id=11994) --> (http://bugs.winehq.org/attachment.cgi?id=11994) Wine output since run untill the error.
Hello everyone! I want to thank you for the great work on Wine first!
Now on the bug:
As of present Warcraft III TFT v1.21b crashes with Fatal Error when I switch desktops in GNOME sometimes. I usually run it in a separate desktop and instead of tabbing I use desk switching.
Reproduce like this - run the game in a random desktop, then press Ctrl+Alt and start pumping left/right or other arrows needed to switch to another desktop and back to the Warcraft one fast. Eventually it crashes the same way - usually in a few seconds of fast switching.
Machine 1: Ubuntu 7.10, 2.6.22-14-generic, AMD X2 5600+, NVIDIA 7600GT, 100% tested and stable hardware.
Machine 2: Ubuntu 8.04beta 2.6.24-14-generic, T7100, NVIDIA 8400M GS, tested and stable as well.
Testing:
Changed NVIDIA drivers to older, newer, diff versions - no effect. Tried it on both machines - so 2 kernels, 2 cards - no effect. Started switching Wine versions - problem appears to begin since 0.9.57 through 58 and 59. No problems prior 57.
Wine output in attachment. Screenshot of the error > http://lightrush.googlepages.com/Screenshot-1.png
http://bugs.winehq.org/show_bug.cgi?id=12455
tehblunderbuss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tehblunderbuss@gmail.com
--- Comment #1 from tehblunderbuss@gmail.com 2008-04-08 23:41:12 --- Do a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=12455
Nicolay Doytchev lightrush@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #2 from Nicolay Doytchev lightrush@gmail.com 2008-04-09 03:50:16 --- Regression test ran :) , jesus I wish a Core 2 Quad @ 4GHz...
eaea28e5d83b8d302eed62dbf574b5d6d2c14cdd is first bad commit commit eaea28e5d83b8d302eed62dbf574b5d6d2c14cdd Author: Alexandre Julliard julliard@winehq.org Date: Wed Feb 27 19:15:12 2008 +0100
winex11: Check the current window state on Map/UnmapNotify and ignore obsolete events.
:040000 040000 7e1445566b90d5698bf55518f394983085e88ad8 7f53d5ee2efbcca69979a10aec3338501e313674 M dlls
This is the resulting patch. Is there anything else I can do?
http://bugs.winehq.org/show_bug.cgi?id=12455
Nicolay Doytchev lightrush@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv Summary|Warcraft III 1.21b - Crashes|Warcraft III 1.21b - Crashes |with Fatal Error on Switch |with Fatal Error on Switch |Desktop from 0.9.57+ |Desktop from 0.9.57+ | |(Regression)
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #3 from Nicolay Doytchev lightrush@gmail.com 2008-04-09 12:17:21 --- Additional info:
Windows manager running is Metacity. Just in case will try Compiz. Warcraft runs in OpenGL.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #4 from Lei Zhang thestig@google.com 2008-04-09 12:42:57 --- Are you sure this isn't fixed in 0.9.59? See bug 12196.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #5 from Nicolay Doytchev lightrush@gmail.com 2008-04-09 15:09:42 --- I tested this with 59 compiled for Mepis since there is no binary 59 for Ubuntu/Debian yet.
Now I will get clean latest git again just to make sure :)
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #6 from Nicolay Doytchev lightrush@gmail.com 2008-04-09 16:35:06 --- Compiled 59 from SF.net, bug exists in 59. Identical behavior in 57,58,59.
Latest GIT compiles but doesn't install. The bug u referred me to doesn't appear in 59.
This one occurs while switching desktops.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #7 from Nicolay Doytchev lightrush@gmail.com 2008-04-10 16:42:10 --- In Ubuntu 8.04 with latest 0.9.59 + Compiz >
First off framerate is lower which is expected. When desktop is switched > game disappears from taskbar although it is still running > process exists and sound of the game is running. The only solution after this is to kill it.
I dont know if this behaviour in Compiz is caused by the same issue or not but honestly I dont think any1 will play seriously in Compiz because there are framerate drops and other problems. I mean I dont expect it to run OK in Compiz at all. :)
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #8 from Nicolay Doytchev lightrush@gmail.com 2008-04-10 19:45:18 --- OK here are last updates on my side.
The gentleman from this bug http://bugs.winehq.org/show_bug.cgi?id=12415 , has posted a hack to fix his issue:
Sorry I can not recreate your bug my 0.9.57 version of wine has a hack in it. A window hack... Find and replace "GetDesktopWindow()" with "0" Please note this restarts a other bug. But it fixes a bug with Warcraft 3x tabing to a other window and the game screen comes back with the gnome tool bars showing. I am not show if the is a bug open for that one.
"./dlls/winex11.drv/event.c" is the file you hack. I am going to look up that other bug and the bug the hack restarts.
Consequently I did what he said on wine-0.9.59 source, compiled etc. and this bug doesn't exist anymore. Or at least the crashing behaviour is not here anymore.
So I guess the issues are correlated after all and I hope this will help somehow.
Please state if you are going to fix this bug or if u do not plan to fix it due other issues/features so I/others will know to hack their event.c to prevent crashes in Warcraft III.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #9 from Nicolay Doytchev lightrush@gmail.com 2008-04-10 20:49:11 --- This hack actually fixed desktop switching behaviour in Compiz as well.
http://bugs.winehq.org/show_bug.cgi?id=12455
Nicolay Doytchev lightrush@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Version|0.9.57. |0.9.60
--- Comment #10 from Nicolay Doytchev lightrush@gmail.com 2008-04-20 21:47:27 --- Wine 0.9.60, makes the crash even more sharp. It crashes on 1st desktop switch now. No back and forth switching needed. Guys?
http://bugs.winehq.org/show_bug.cgi?id=12455
Nicolay Doytchev lightrush@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lightrush@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12455
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Keywords| |regression Summary|Warcraft III 1.21b - Crashes|Warcraft III 1.21b - Crashes |with Fatal Error on Switch |with Fatal Error on Switch |Desktop from 0.9.57+ |Desktop |(Regression) | Version|0.9.60 |0.9.59.
--- Comment #11 from Lei Zhang thestig@google.com 2008-04-21 13:55:12 --- Please don't change the original reported version. Severity is not major.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #12 from Nicolay Doytchev lightrush@gmail.com 2008-04-22 11:25:17 --- well the original version is not 0.9.59. This bug exists since 0.9.57. And .60 made the behaviour even worse. I am gonna as again - is this functionality being implemented that causes this behaviour in Warcraft III only, or is it bug/unfinished feature that will be fixed/finished? I am really sorry that I dont get C, which probably I will after next year but for now I can't figure it myself. :) Rephrased question - is this behaviour expected to persist in the future or is it expected to change. Don't get me wrong - if this is a feature and only Warcraft III crashes off it - I will just patch Wine myself or maybe upload patched version online for others as well, I can't expect you to halt other application compatibility for a single app, if that is the case. I just want to know what is the case.
http://bugs.winehq.org/show_bug.cgi?id=12455
clemens clemensb@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |clemensb@gmx.net
--- Comment #13 from clemens clemensb@gmx.net 2008-04-23 10:42:27 --- I can confirm that bug. With .9.60 everytime when I switch to the desktop, Warcraft crashes. I didn't had this problem with wine versions before .60 (some strange things like absolute X freezing of course, but not the same error).
http://bugs.winehq.org/show_bug.cgi?id=12455
Captain Anonymous CptAnonymous@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CptAnonymous@gmail.com
--- Comment #14 from Captain Anonymous CptAnonymous@gmail.com 2008-04-26 01:35:08 --- I have noticed that when I run "wine war3.exe -opengl" it crashes on switching desktops.
However, then I run: "wine war3.exe" (I guess it is using the default DirectX rendering) it seems ok. Is this the same for you guys?
http://bugs.winehq.org/show_bug.cgi?id=12455
Nicolay Doytchev lightrush@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #15 from Nicolay Doytchev lightrush@gmail.com 2008-04-26 01:57:12 --- Cpt, you are absolutely right.
Confirmig:
Warcraft crashes on desktop switch only in OpenGL mode.
http://bugs.winehq.org/show_bug.cgi?id=12455
Captain Anonymous CptAnonymous@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from Captain Anonymous CptAnonymous@gmail.com 2008-04-26 03:44:35 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=12455
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #17 from Lei Zhang thestig@google.com 2008-04-26 12:21:26 --- Nicolay, please leave the regression keyword in.
http://bugs.winehq.org/show_bug.cgi?id=12455
MGSX2 mgsx2@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mgsx2@hotmail.com
--- Comment #18 from MGSX2 mgsx2@hotmail.com 2008-04-27 11:35:05 --- Same here, with .59 it crashed randomly when switching between desktops or doing a task switch (ALT+TAB), with .60 it is crashing always as soon as the window doesn't have the focus anymore.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #19 from Nicolay Doytchev lightrush@gmail.com 2008-04-27 12:47:03 --- Guys please check this with Direct3D and OpenGL since it appears to happen only in OpenGL mode. I guess devs can benefit from it :) .
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #20 from Nicolay Doytchev lightrush@gmail.com 2008-04-27 22:08:48 --- Here is a patched bin for Ubuntu 8.04, 7.10 , most probably it would run on most other Debian children as well on Debian itself.
http://rapidshare.com/files/110937250/wine_0.9.60-noaccex-wmhack2-1_i386.deb...
Applied patches are the mentioned Window Management hack above and the IO port creation disable patch. Basically this provides a stable Wine 0.9.60 for Warcraft III.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #21 from Nicolay Doytchev lightrush@gmail.com 2008-05-11 03:07:39 --- Created an attachment (id=12913) --> (http://bugs.winehq.org/attachment.cgi?id=12913) Patch for dlls/winex11.drv/event.c which fixes the crashes.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #22 from Nicolay Doytchev lightrush@gmail.com 2008-05-11 03:08:49 --- Attached a patch which does the window management hack described above.
http://bugs.winehq.org/show_bug.cgi?id=12455
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=12455
Felson felson_spam@myte.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felson_spam@myte.ca
--- Comment #23 from Felson felson_spam@myte.ca 2008-05-22 10:22:18 --- Not sure I if I should post this as a new bug report, but I have exactly the same issue with "Star Wars, Knights of the Old Republic 2" and "Sin Episodes 1". Those are the only other ones I tested, but I will test some others after work. I just updated Ubuntu from 7.10, so I can not be 100% sure if this is a problem with the newer version of wine, or with the newer version of Ubuntu. Ubuntu 8.04 (64 bit), wine 0.9.61
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #24 from Nicolay Doytchev lightrush@gmail.com 2008-05-27 14:33:15 --- You know what I guess this problem affected larger portion of games and the behaviour has already been changed in RC2 according to my testings of today. The problem does not exist anymore for Warcraft. Try it on Star Wars with RC2 and see if its ok there.
RC2 brought a new problem though ;) - when Warcraft looses focus and returns - textures disappear.
My overall idea is that this problem here/bugreport may be already obsolete.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #25 from Felson felson_spam@myte.ca 2008-05-27 15:39:42 --- No luck for Star Wars, KotOR2. Seems I was wrong about SIN though, that one is quite different. Only reason I thought it was this one was timing.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #26 from Nicolay Doytchev lightrush@gmail.com 2008-05-27 16:32:57 --- Well I gues it might be another bug..
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #27 from clemens clemensb@gmx.net 2008-05-28 01:28:14 --- I can confirm what Nicolay Doytchev says about RC2. It doesn't crash anymore, but the textures are missing.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #28 from MGSX2 mgsx2@hotmail.com 2008-05-28 13:21:28 ---
It doesn't crash anymore, but the textures are missing.
And I already thought I was the only one with missing textures... ;-)
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #29 from Nicolay Doytchev lightrush@gmail.com 2008-05-28 14:35:44 --- Well lets give it a couple of days and watch comments, etc and if we see too many texture guys - we will open another report for that and abandon this one - since its irreleveant now.
http://bugs.winehq.org/show_bug.cgi?id=12455
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #30 from Austin English austinenglish@gmail.com 2008-05-28 14:55:14 --- Reported fixed.
Please open a new bug for any other issues.
http://bugs.winehq.org/show_bug.cgi?id=12455
Felson felson_spam@myte.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|felson_spam@myte.ca |
http://bugs.winehq.org/show_bug.cgi?id=12455
Lukas Schneiderbauer lukas.schneiderbauer@aon.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukas.schneiderbauer@aon.at
--- Comment #31 from Lukas Schneiderbauer lukas.schneiderbauer@aon.at 2008-05-30 09:25:39 --- I have the missing-textures-issue too.
Before rc2, the game crashes on loosing focus. Since rc2, all textures will be gone, if wc3 gets the focus back. All new generated objects since the "got focus back"-time in wc3 (e.g. just a single unit) have got their textures until a new focus loss appears.
http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #32 from Nicolay Doytchev lightrush@gmail.com 2008-05-30 11:30:44 --- Come on - all from this bug report textures here: http://bugs.winehq.org/show_bug.cgi?id=13547 :D
http://bugs.winehq.org/show_bug.cgi?id=12455
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #33 from Alexandre Julliard julliard@winehq.org 2008-05-31 04:19:01 --- Closing bugs fixed in 1.0-rc3.
http://bugs.winehq.org/show_bug.cgi?id=12455
tehblunderbuss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|tehblunderbuss@gmail.com |