http://bugs.winehq.org/show_bug.cgi?id=21492
Summary: Creating new/opening existing project fails in WinterMute Engine Product: Wine Version: 1.1.37 Platform: x86-64 URL: http://dead-code.org/download/download_wme.php OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: iliotropion2006@yandex.ru
This is impossible to create new or open existing project in WinterMute Engine (game engine), the engine crashed with error:
X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 3 (X_GetWindowAttributes) Resource id in failed request: 0x3201163 Serial number of failed request: 51374 Current serial number in output stream: 51375 libxcb: WARNING! Program tries to lock an already locked connection, which indicates a programming error. There will be no further warnings about this issue.
The problem exists since wine 1.1.36
I'll run regression test later
http://bugs.winehq.org/show_bug.cgi?id=21492
Dionysius iliotropion2006@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=21492
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|regression |
http://bugs.winehq.org/show_bug.cgi?id=21492
Dionysius iliotropion2006@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #1 from Dionysius iliotropion2006@yandex.ru 2010-01-30 11:54:21 --- 740e2d403edc46529c2475d50a9ceab7c0c77f0c is first bad commit commit 740e2d403edc46529c2475d50a9ceab7c0c77f0c Author: Stefan Dösinger stefan@codeweavers.com Date: Sun Dec 6 18:08:39 2009 +0100
Render to fbo when the size mismatches at creation time.
This is needed because the window(and thus the GL drawable) might be smaller than the D3D backbuffer. If we waited for the FBO switch until Present is called we'd lose data in the first frame.
:040000 040000 eb851c764f24a416c743a7151cfe2facad1d3c8e d8c86f068aecc2c37806f6a543e2836179740eb9 M dlls
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #2 from Dionysius iliotropion2006@yandex.ru 2010-02-06 06:11:35 --- wine 1.1.38: the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=21492
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #3 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-07 09:06:56 --- What graphics driver are you using?
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #4 from Dionysius iliotropion2006@yandex.ru 2010-02-07 09:28:02 --- (In reply to comment #3)
What graphics driver are you using?
Nvidia version 180.22
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-07 14:15:58 --- I am surprised that something concerning FBOs results in X11 errors. Can you attach a +d3d,+wgl log?
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #6 from Dionysius iliotropion2006@yandex.ru 2010-02-08 08:35:19 --- Created an attachment (id=26128) --> (http://bugs.winehq.org/attachment.cgi?id=26128) +d3d, +wgl log
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #7 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-09 02:25:00 --- It seems as if the window was going away during FBO cleanup. Can you attach a +tid,+d3d,+win log?
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #8 from Dionysius iliotropion2006@yandex.ru 2010-02-09 08:17:40 --- Created an attachment (id=26155) --> (http://bugs.winehq.org/attachment.cgi?id=26155) +tid,+d3d,+win log
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #9 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-10 04:35:24 --- Nope, my guess was wrong. There's no multithreading, and the window is apparently not destroyed.
Can you make a +d3d,+wgl,+win,+synchronous log? The last flag will use synchronous X calls and may bring up more hints.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #10 from Dionysius iliotropion2006@yandex.ru 2010-02-10 08:29:42 --- Created an attachment (id=26183) --> (http://bugs.winehq.org/attachment.cgi?id=26183) +d3d,+wgl,+win,+synchronous log
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-10 08:54:42 ---
=>0 0x7b832783 DebugBreak+0x3() in kernel32 (0x00337a18) 1 0x7e0349b0 in winex11 (+0x549b0) (0x00337a48) 2 0x7de7c259 _XError+0x109() in libx11.so.6 (0x00337ae8) 3 0x7de84258 in libx11.so.6 (+0x45258) (0x00337b48) 4 0x7de84602 _XReply+0x152() in libx11.so.6 (0x00337b88) 5 0x7de61c76 _XGetWindowAttributes+0xc6() in libx11.so.6 (0x00337bf8) 6 0x7de61df2 XGetWindowAttributes+0x42() in libx11.so.6 (0x00337c18) 7 0x7d51e03b in libgl.so.1 (+0x6303b) (0x7c145f68) 8 0x00000001 (0x7c0857d8) 9 0x7c03d870 (0x7c145f28) 10 0x00000000 (0x00000008) 11 0x00000000 (0x00000000)
Your Wine build is apparently lacking debug symbols. Can you rebuild with debug symbols enabled so files and line numbers show up in the backtrace? I'm mostly interested in the functions that call libgl.so.1(8, 9, ...) - I suspect they should be somewhere in wined3d, unless your app is using opengl and d3d in parallel.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #12 from Dionysius iliotropion2006@yandex.ru 2010-02-10 10:08:29 --- Which option should I set when configure to build with debug symbols enabled?
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #13 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-10 10:45:51 --- I think the default cflags should do - if you build wine yourself just start configure with ./configure, don't pass any special CFLAGS and don't strip the binaries and things should work. Oh, and keep the source code in place after make install.
Alternatively you can try to add ERR statements to the wined3d code to find out which GL call is causing the crash. The app is crashing somewhere in IWineD3DDeviceImpl_Reset() in dlls/wined3d/device.c, but I think the crashing call is somewhere in context.c.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #14 from Austin English austinenglish@gmail.com 2010-02-10 11:09:27 --- Using the CFLAG"-g" should force the debugging symbols to be built.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #15 from Dionysius iliotropion2006@yandex.ru 2010-02-11 08:38:20 --- Explain me, please, how to compile with debug symbols or provide, if possible, ready package (I use openSuSE 11.1)
I tried ./configure and CFLAGS="-g" ./configure
but result is the same.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #16 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-12 08:37:57 --- Do not install compiled Wine, run it from the source directory.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #17 from Dionysius iliotropion2006@yandex.ru 2010-02-12 10:06:10 --- (In reply to comment #16)
Do not install compiled Wine, run it from the source directory.
I did exactly.
http://bugs.winehq.org/show_bug.cgi?id=21492
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #18 from Anastasius Focht focht@gmx.net 2010-02-19 13:03:09 --- Hello,
pass "-gdwarf-2" to CFLAGS and rebuild Wine.
Regards
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #19 from Dionysius iliotropion2006@yandex.ru 2010-02-20 10:13:33 --- Created an attachment (id=26339) --> (http://bugs.winehq.org/attachment.cgi?id=26339) +d3d,+wgl,+win,+synchronous log2
I hope this one is what you need :)
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #20 from Stefan Dösinger stefandoesinger@gmx.at 2010-02-21 18:50:14 --- This log contains proper debug output, but the calls to libGL still come from an odd place. Maybe the application is mixing d3d and opengl? I don't see any wgl calls that are not made by wined3d, but those may be easy to miss. Can you add +opengl to the log, and remove -win? (So in total make a +d3d,+wgl,+opengl,+synchronous) log?
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #21 from Dionysius iliotropion2006@yandex.ru 2010-02-22 08:41:00 --- Created an attachment (id=26403) --> (http://bugs.winehq.org/attachment.cgi?id=26403) +d3d,+wgl,+opengl,+synchronous log
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #22 from Dionysius iliotropion2006@yandex.ru 2010-03-06 23:29:58 --- wine 1.1.40: the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #23 from Dionysius iliotropion2006@yandex.ru 2010-04-17 06:25:17 --- wine 1.1.43: the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #24 from Dionysius iliotropion2006@yandex.ru 2010-05-24 08:27:10 --- wine 1.2 rc1: the bug is still present
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #25 from Dionysius iliotropion2006@yandex.ru 2010-06-12 12:40:57 --- Still present in wine 1.2 rc3
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #26 from Dionysius iliotropion2006@yandex.ru 2010-07-05 08:02:43 --- Still present in wine 1.2 rc6
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #27 from Dionysius iliotropion2006@yandex.ru 2010-07-11 12:06:47 --- Still present in wine 1.2 rc7
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #28 from Dionysius iliotropion2006@yandex.ru 2010-10-30 10:35:33 CDT --- Still present in wine 1.3.6
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #29 from Dionysius iliotropion2006@yandex.ru 2010-11-14 03:44:34 CST --- Still present in wine 1.3.7
http://bugs.winehq.org/show_bug.cgi?id=21492
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #30 from Dionysius iliotropion2006@yandex.ru 2010-12-11 06:25:39 CST --- Still present in wine 1.3.8 and 1.3.9
http://bugs.winehq.org/show_bug.cgi?id=21492
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |740e2d403edc46529c2475d50a9 | |ceab7c0c77f0c
http://bugs.winehq.org/show_bug.cgi?id=21492
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|stefan@codeweavers.com |
http://bugs.winehq.org/show_bug.cgi?id=21492
--- Comment #31 from Stefan Dösinger stefandoesinger@gmx.at 2011-08-13 16:30:44 CDT --- I cannot reproduce this issue. (Wine 1.3.26, Xorg 1.10.2, Nvidia drivers 275.21). I could open the demo project fine(while starting the tool) and create a new empty project.
http://bugs.winehq.org/show_bug.cgi?id=21492
Dionysius iliotropion2006@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #32 from Dionysius iliotropion2006@yandex.ru 2011-08-14 05:07:31 CDT --- Wow, and I can't reproduce this bug too. Wine 1.3.24, xorg 1.10.2, Nvidia drivers 270.41.19.
http://bugs.winehq.org/show_bug.cgi?id=21492
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #33 from Alexandre Julliard julliard@winehq.org 2011-08-26 13:24:23 CDT --- Closing bugs fixed in 1.3.27.