[Bug 24946] uTorrent 2.2 hangs on start up

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 28 15:45:01 CST 2010


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

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
          Component|-unknown                    |winsock

--- Comment #8 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2010-11-28 15:45:01 CST ---
(In reply to comment #1)
> Created an attachment (id=31585)
 --> (http://bugs.winehq.org/attachment.cgi?id=31585) [details]
> uTorrent binary (in case official website gets updated)

Don't attach binaries here. Could someone remove this? Just provide the link.

I downloaded utorrent from 
http://fs25.filehippo.com/8434/b316d537c71a40a29cea6392de56f4ec/utorrent.exe
(utorrent 2.2 build 23018)

A "bt all" suggested maybe it chokes in hEvent being null, in
WSAEnumNetworkEvents. A hack like below makes the app start fine for me. Maybe
someone who knows more about winsock could have a look



diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 0bc773e..e81e02f 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -5005,7 +5005,7 @@ int WINAPI WSAEnumNetworkEvents(SOCKET s, WSAEVENT
hEvent, LPWSANETWORKEVENTS lp
     int errors[FD_MAX_EVENTS];

     TRACE("%08lx, hEvent %p, lpEvent %p\n", s, hEvent, lpEvent );
-
+if(!hEvent) return SOCKET_ERROR;
     SERVER_START_REQ( get_socket_event )
     {
         req->handle  = wine_server_obj_handle( SOCKET2HANDLE(s) );

-- 
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