https://bugs.winehq.org/show_bug.cgi?id=39875
Bug ID: 39875 Summary: Starcraft can't see Direct Cable Connection games hosted on another computer Product: Wine Version: 1.9.0 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 53242 --> https://bugs.winehq.org/attachment.cgi?id=53242 hack
To reproduce: 1. Add 8250.nr_uarts=<n> to the Linux kernel command line on both computers, where <n> is the number of serial ports physically present on your motherboard. This is necessary because of bug 39793. 2. Reboot both computers to reload the kernel parameters. 3. Hook up your null modem serial cable. 4. On both computers, open Starcraft and click Multiplayer, Direct Cable Connection, Ok. 5. Create a game.
The game does not appear on the other computer until the hosts leaves. Then the game appears, but you get an error dialog if you try to join it.
If one of the two connected computers is a real Windows machine, there is no problem as long as the Linux machine hosts the game.
The attached patch fixes Starcraft, but almost certainly breaks some other application.
https://bugs.winehq.org/show_bug.cgi?id=39875
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
https://bugs.winehq.org/show_bug.cgi?id=39875
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39875
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 53426 --> https://bugs.winehq.org/attachment.cgi?id=53426 Test program that demonstrates the problem
Testing revealed that Starcraft sets ReadIntervalTimeout to 5 and all other COMMTIMEOUTS members to 0. The problem, as demonstrated by the attached test program, appears to be that Wine ignores ReadIntervalTimeout if the read is asynchronous and so the read operation never times out.
I've tried editing server/serial.c to take the interval timeout into account, but nothing I can think of is very elegant. Help from other developers would really be appreciated.
https://bugs.winehq.org/show_bug.cgi?id=39875
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware, patch, testcase
https://bugs.winehq.org/show_bug.cgi?id=39875
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |wineserver
https://bugs.winehq.org/show_bug.cgi?id=39875
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39875
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bc0bf9e505922b81df1c317d649 | |3665bbe946554 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/bc0bf9e505922b81df1c317d64...
https://bugs.winehq.org/show_bug.cgi?id=39875
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=39875
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.3.
https://bugs.winehq.org/show_bug.cgi?id=39875
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #4 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.
https://bugs.winehq.org/show_bug.cgi?id=39875
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=40540