https://bugs.winehq.org/show_bug.cgi?id=48411
Bug ID: 48411 Summary: DDO: Can't login, launcher aborts with "Connection Closed" Product: Wine Version: 5.0-rc2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sutupud@yahoo.com Distribution: ---
Created attachment 66182 --> https://bugs.winehq.org/attachment.cgi?id=66182 git bisect log
Login works fine on 5.0-rc1 but is broken on 5.0-rc2
Since DDO is from the same company as LOTRO and basically uses the same launcher, this is probably the same as #48388
By bisecting I tracked down the first bad commit to b4a1d80ae35d35f5c170e101922bf1563488be18:
diff --git a/server/sock.c b/server/sock.c index 1a53ce4b09..29542cd01f 100644 --- a/server/sock.c +++ b/server/sock.c @@ -1228,7 +1228,7 @@ DECL_HANDLER(set_socket_event) FILE_WRITE_ATTRIBUTES, &sock_ops))) return; old_event = sock->event; sock->mask = req->mask; - sock->hmask &= ~req->mask; /* re-enable held events */ + sock->hmask &= (FD_WRITE | ~req->mask); /* re-enable held events */ sock->event = NULL; sock->window = req->window; sock->message = req->msg;