http://bugs.winehq.org/show_bug.cgi?id=29557
Bug #: 29557 Summary: Crysis Wars ded servers crash in wineconsole on different DISPLAYs Product: Wine Version: 1.3.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: liquitsnake@gmx.net Classification: Unclassified
I am running the Crysis Wars dedicated server through a script. This app needs an X server, but doesn't do anything with it. It just spawns a console window displaying the server console.
To prevent the need for an X server, I am using Xvfb (a "fake" X server). Let's assume that this Xvfb session is :10. I run the application with DISPLAY=:10 and wineconsole --backend=curses. This gives me the server console on the controlling terminal, but it will still run inside the Xvfb session.
This works extremely well.
The problems starts when I try to run another instance of my application. I start another Xvfb session for it (let's assume :11), and run it like described above, but with DISPLAY=:11. Both instances of the app use the same wineserver, but run on different DISPLAYs and show their console onto the controlling terminal.
Except that the second instance always crashes halfway through loading a map with this error:
X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x600001 Serial number of failed request: 38 Current serial number in output stream: 38 fixme:event:wait_for_withdrawn_state window 0x60024/400001 wait timed out
http://bugs.winehq.org/show_bug.cgi?id=29557
--- Comment #1 from haarp liquitsnake@gmx.net 2012-01-07 08:35:40 CST --- So I tried using wineconsole's other backend (--backend=user) which won't provide me the server console (because it resides on the Xvfb session). This is no long-term solution, but it works for testing.
Now the behavior becomes inconsistent:
When the 1st and 2nd server run with the curses backend, the 2nd server crashes. curses on the 1st and user on the 2nd -> the 2nd server won't crash.
Let's shut both servers down and try again: Now it may be reversed. curses+curses works, but curses+user crashes the 2nd server.
Shut both down again, try again: Now user+user works, but user+curses crashes the 2nd server.
I am really confused now. As long as wineserver keeps running, the working and broken combinations remain the same. As soon as both servers (and wineserver itself) stop and start again, the working and broken combinations are shuffled, like described above. Really, really confusing.
Obviously, there is a bug here, and I can provide logs if needed, but the inconsistency is still strange.
http://bugs.winehq.org/show_bug.cgi?id=29557
haarp liquitsnake@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv
http://bugs.winehq.org/show_bug.cgi?id=29557
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-01-07 08:59:44 CST --- Multiple displays are not supported yet. Use a separate wineprefix if you need that.
*** This bug has been marked as a duplicate of bug 7416 ***
http://bugs.winehq.org/show_bug.cgi?id=29557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2012-01-23 19:46:04 CST --- Closing DUPLICATE.