[Bug 24206] New: hanging up thread with recvfrom after "shutdown"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 30 00:40:22 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24206

           Summary: hanging up thread with recvfrom after "shutdown"
           Product: Wine
           Version: 1.3.1
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winsock
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: thunder_8888 at mail.ru


Created an attachment (id=30477)
 --> (http://bugs.winehq.org/attachment.cgi?id=30477)
trace

1. When game want to shutdown udp socket - recvfrom don't recieve 0xFFFFFFFF,
and still wait other messages from closed and shutdowned socket. While this,
game wait when thread with recvfrom end's, but thread want's go to end and
stopped on recvfrom. (when i patch game, and force close thread with recvfrom -
it's normally continue)

2. Appears "WS2_sendto  -> ERROR 10022" before game shutdown socket (game send
1-byte to thread with recvfrom), because sendto want to send data to port 0, in
windows, i suppose, it sends to all binded port's to this socket. (if i patch
game, and use my call to getsockname and give right port number - this error
don't appear).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list