http://bugs.winehq.org/show_bug.cgi?id=11792
Summary: Wine dies with an X BadWindow error using Warhammer Dark Crusade Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fdelente@mail.cpod.fr
As of yesterday's git, wine doesn't start anymore and dies when I try to start Warhammer 40k: Dark Crusade.
It gives the following error:
X Error: BadWindow Request Major code 2 () ResourceID 0xa0000e Error Serial #114 Current Serial #115
I did regression tests and found the following bad commit:
220163ee9d698543fe34257969a88e5976d378de is first bad commit commit 220163ee9d698543fe34257969a88e5976d378de Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Fri Feb 22 20:55:02 2008 +0000
wgl: Remove unneeded opengl initialisation code at wine startup.
:040000 040000 6f47946106e17f0167e5916e88baa2aefa282cc1 062a91903257469af576e37ced3f0f7475b38027 M dlls
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=11792
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |opengl
http://bugs.winehq.org/show_bug.cgi?id=11792
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmx.net Severity|blocker |normal Keywords| |regression
--- Comment #1 from Lei Zhang thestig@google.com 2008-03-01 14:31:40 --- Not a blocker.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmx.net 2008-03-03 12:21:42 --- Could you verify if it is really that patch? Lots of parts of Winex11.drv / user32 / gdi32 have changed. This patch is not that important.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #3 from F. Delente fdelente@mail.cpod.fr 2008-03-03 13:21:35 --- (In reply to comment #2)
Could you verify if it is really that patch? Lots of parts of Winex11.drv / user32 / gdi32 have changed. This patch is not that important.
I can, if you tell me what git commands to use to bypass this patch.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #4 from Saulius K. saulius2@gmail.com 2008-03-04 02:41:40 --- If the patch bisect found is needed for compilation of earlier tree, I usually do:
$ git-format-patch -o regr_patches/ HEAD^..HEAD $ git-reset --hard HEAD^ # reset the needed patch $ git-reset --hard HEAD^^^^ # reset more patches backwards in time $ git-am -3 regr_patches/0001* # import the needed patch $ ./configure && make depend && make && tools/wineprefixcreate --use-wine-tree .
Or something like that. HTH.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #5 from F. Delente fdelente@mail.cpod.fr 2008-03-04 12:24:49 ---
Could you verify if it is really that patch? Lots of parts of Winex11.drv /
user32 / gdi32 have changed. This patch is not that important.
I guess this patch causes the bug, since I did
git revert 220163ee9d698543fe34257969a88e5976d378de
on a fresh cloned directory, and the bug isn't present anymore...
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmx.net 2008-03-04 17:21:04 --- Try running wine using the following options: WINEDEBUG=+synchronous,+wgl,+x11drv and pipe the output to a log (e.g. WINEDEBUG=+synchronous,+wgl,+x11drv wine appname.exe &> log) and attach that log to this thread.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #7 from F. Delente fdelente@mail.cpod.fr 2008-03-05 10:43:51 --- Created an attachment (id=11126) --> (http://bugs.winehq.org/attachment.cgi?id=11126) Trace log with WINEDEBUG=+synchronous,+wgl,+x11drv
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #8 from Roderick Colenbrander thunderbird2k@gmx.net 2008-03-05 12:08:22 --- It is likely a window recreation bug. When the app crashes it should be launching winedbg. When that is up type 'bt' in it to get a backtrace (or by default it might already be showing that). Try to retrieve it and then we can find the bug.
http://bugs.winehq.org/show_bug.cgi?id=11792
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
--- Comment #9 from Lei Zhang thestig@google.com 2008-03-05 13:28:51 --- *** Bug 11845 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11792
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #10 from Lei Zhang thestig@google.com 2008-03-05 13:29:30 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #11 from Luke Bratch l_bratch@yahoo.co.uk 2008-03-05 13:40:17 --- Created an attachment (id=11134) --> (http://bugs.winehq.org/attachment.cgi?id=11134) +synchronous TF2 trace
http://bugs.winehq.org/show_bug.cgi?id=11792
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #11134|0 |1 is obsolete| |
--- Comment #12 from Luke Bratch l_bratch@yahoo.co.uk 2008-03-05 13:48:12 --- Created an attachment (id=11135) --> (http://bugs.winehq.org/attachment.cgi?id=11135) +synchronous TF2 trace
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2008-03-05 13:53:10 --- Created an attachment (id=11136) --> (http://bugs.winehq.org/attachment.cgi?id=11136) Cursor window fix
Please give this patch a try.
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #14 from F. Delente fdelente@mail.cpod.fr 2008-03-05 15:49:14 --- (In reply to comment #13)
Cursor window fix
Please give this patch a try.
I tried at the moment with wine-0.9.56-g22f146f, and this patch; there is no more bug.
Congratulations for the fast response time! And thanks for your work!
http://bugs.winehq.org/show_bug.cgi?id=11792
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
--- Comment #15 from Roderick Colenbrander thunderbird2k@gmx.net 2008-03-05 16:37:40 --- *** Bug 11828 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11792
--- Comment #16 from Luke Bratch l_bratch@yahoo.co.uk 2008-03-06 11:37:27 --- That patch has been committed as of today's git. TF2 (and presumably Warhammer) now works.
http://bugs.winehq.org/show_bug.cgi?id=11792
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Roderick Colenbrander thunderbird2k@gmx.net 2008-03-06 15:15:30 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=11792
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2008-03-07 11:28:53 --- Closing bugs fixed in 0.9.57.
http://bugs.winehq.org/show_bug.cgi?id=11792
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified