http://bugs.winehq.org/show_bug.cgi?id=24946
Summary: uTorrent Release Candidate 2 (2.2 build 22732) hangs on start up Product: Wine Version: 1.3.6 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
µTorrent hangs on start up here in Wine 1.3.5 and 1.3.6. I've double checked with an empty $HOME/.wine.
I'm using Fedora 14 i686.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2010-10-29 16:36:47 CDT --- Created an attachment (id=31585) --> (http://bugs.winehq.org/attachment.cgi?id=31585) uTorrent binary (in case official website gets updated)
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com 2010-10-29 16:37:22 CDT --- Created an attachment (id=31586) --> (http://bugs.winehq.org/attachment.cgi?id=31586) console messages when starting uTorrent
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #3 from Angus Hedger demidevil@gmail.com 2010-11-10 15:55:36 CST --- Created an attachment (id=31839) --> (http://bugs.winehq.org/attachment.cgi?id=31839) Same error with Version 2.2 (build 23071)
http://bugs.winehq.org/show_bug.cgi?id=24946
Angus Hedger demidevil@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |demidevil@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|uTorrent Release Candidate |uTorrent 2.2 hangs on start |2 (2.2 build 22732) hangs |up |on start up |
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2010-11-11 18:50:27 CST --- 2.2 release also hangs.
http://bugs.winehq.org/show_bug.cgi?id=24946
cobje96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from cobje96@gmail.com 2010-11-15 08:36:55 CST --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=24946
cobje96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cobje96@gmail.com
--- Comment #6 from cobje96@gmail.com 2010-11-15 08:39:32 CST --- Also hangs in Wine 1.3.7
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #7 from cobje96@gmail.com 2010-11-15 09:05:57 CST --- Created an attachment (id=31960) --> (http://bugs.winehq.org/attachment.cgi?id=31960) Wine 1.3.7
http://bugs.winehq.org/show_bug.cgi?id=24946
cobje96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31960|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=24946
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24946
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Component|-unknown |winsock
--- Comment #8 from Louis Lenders xerox_xerox2000@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) );
http://bugs.winehq.org/show_bug.cgi?id=24946
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch
http://bugs.winehq.org/show_bug.cgi?id=24946
Chris winehq@turnerhq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@turnerhq.com
http://bugs.winehq.org/show_bug.cgi?id=24946
OmegaPhil+WINE@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |OmegaPhil+WINE@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24946
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|uTorrent 2.2 hangs on start |uTorrent 2.2 hangs on |up |startup (dogfood)
--- Comment #9 from Dan Kegel dank@kegel.com 2010-12-17 15:12:44 CST --- http://download.utorrent.com/2.2/utorrent.exe hangs on startup for me in git. http://download.utorrent.com/2.0.4/utorrent.exe still works, though.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #10 from Dan Kegel dank@kegel.com 2010-12-17 15:13:32 CST --- The content of attachment 31585 has been deleted by Dan Kegel dank@kegel.com who provided the following reason:
please don't attach binaries. I added a permalink in a comment.
The token used to delete this attachment was generated at 2010-12-17 15:13:06 CST.
http://bugs.winehq.org/show_bug.cgi?id=24946
Simón simon@simonbcn.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simon@simonbcn.net
--- Comment #11 from Simón simon@simonbcn.net 2010-12-18 15:21:54 CST --- Same problem with last build stable uTorrent Version 2.2 (build 23774) and wine 1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=24946
kyledude19@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kyledude19@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=24946
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jameslinton@hotmail.com
--- Comment #12 from Austin English austinenglish@gmail.com 2011-01-09 21:22:01 CST --- *** Bug 25445 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24946
Mike Kaplinskiy mike.kaplinskiy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy@gmail.com
--- Comment #13 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2011-01-16 15:07:08 CST --- Louis, hEvent isn't the problem; we handle that correctly. If someone could post the +winsock log that might be useful. In the meantime, you could see if the patch from bug 25456 helps.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #14 from Artem S. Tashkinov t.artem@mailcity.com 2011-02-12 06:16:51 CST --- Created an attachment (id=33255) --> (http://bugs.winehq.org/attachment.cgi?id=33255) WINEDEBUG=+winsock wine utorrent.exe
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #15 from Artem S. Tashkinov t.artem@mailcity.com 2011-02-12 06:18:18 CST --- (In reply to comment #13)
Louis, hEvent isn't the problem; we handle that correctly. If someone could post the +winsock log that might be useful. In the meantime, you could see if the patch from bug 25456 helps.
Wine 1.3.13 includes this fix and no, it doesn't help.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #16 from Dan Kegel dank@kegel.com 2011-02-12 08:59:36 CST --- I hear there's a new version coming out soon that doesn't have this problem...
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #17 from Artem S. Tashkinov t.artem@mailcity.com 2011-02-12 09:13:55 CST --- (In reply to comment #16)
I hear there's a new version coming out soon that doesn't have this problem...
Oh yeah 2.2.1 ( http://forum.utorrent.com/viewtopic.php?id=88772 ) works nicely in Wine but does that mean this bug shouldn't be fixed?
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #18 from Dan Kegel dank@kegel.com 2011-02-12 09:27:33 CST --- Maybe, but the squeaky wheel gets the grease. Once utorrent 2.2.1 is released, fixing this bug goes down in priority.
http://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | Summary|uTorrent 2.2 hangs on |uTorrent 2.2.0 hangs on |startup (dogfood) |startup
--- Comment #19 from Artem S. Tashkinov t.artem@mailcity.com 2011-02-12 09:44:20 CST --- (In reply to comment #18)
Maybe, but the squeaky wheel gets the grease. Once utorrent 2.2.1 is released, fixing this bug goes down in priority.
May as well read "goes nowhere in priority" :)
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #20 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2011-02-12 10:25:24 CST --- I think this may have something to do with us not sending the correct FD_READ/FD_WRITE events on udp sockets. I'll investigate further if I ever get time...
http://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #21 from Artem S. Tashkinov t.artem@mailcity.com 2011-02-12 10:35:01 CST --- (In reply to comment #20)
I think this may have something to do with us not sending the correct FD_READ/FD_WRITE events on udp sockets. I'll investigate further if I ever get time...
I just wonder if uTorrent hangs on the first startup with a fresh new ~/.wine prefix, when it doesn't try to use any networking abilities and just tries to show the installation window - it shouldn't be too difficult to debug this issue.
CC'ing Anastasius Focht - you are a master of solving very hard, mysterious problems - can you look into this problem?
http://bugs.winehq.org/show_bug.cgi?id=24946
Ioseph xakep336b@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xakep336b@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24946
cobje96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|cobje96@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 Severity|normal |minor
--- Comment #22 from Artem S. Tashkinov t.artem@mailcity.com 2011-04-03 13:46:35 CDT --- µTorrent 2.2.1 is out with a special Wine compatibility hack.
http://bugs.winehq.org/show_bug.cgi?id=24946
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #23 from Bruno Jesus 00cpxxx@gmail.com 2012-09-26 19:08:09 CDT --- Still in wine 1.5.13.
http://bugs.winehq.org/show_bug.cgi?id=24946
OmegaPhil+WINE@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|OmegaPhil+WINE@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #24 from Artem S. Tashkinov t.artem@mailcity.com 2013-06-19 16:29:50 CDT --- 1.6-rc2 - no changes.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #25 from Artem S. Tashkinov t.artem@mailcity.com --- Doesn't work with Wine 1.7.12
http://bugs.winehq.org/show_bug.cgi?id=24946
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #26 from hanska2@luukku.com --- Those download links which I tried, didnt work...is this still an issue? If so could you update the download link?
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #27 from Bruno Jesus 00cpxxx@gmail.com --- Still an issue in wine 1.7.22. It will take some time to fix the event handling.
http://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #28 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to hanska2 from comment #26)
Those download links which I tried, didnt work...is this still an issue? If so could you update the download link?
http://filehippo.com/download_utorrent/9306/
Google stopped working for you, huh? ;-)
http://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://filehippo.com/downlo | |ad_utorrent/9306/
https://bugs.winehq.org/show_bug.cgi?id=24946
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #29 from Teras teras@luukku.com --- The version that Artem S. Tashkinov
provides dies while trying to launch.
wine 1.7.36
https://bugs.winehq.org/show_bug.cgi?id=24946
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|uTorrent 2.2.0 hangs on |uTorrent 2.2.0 hangs on |startup |startup (FD_WRITE event is | |reported over and over in | |WSAEnumNetworkEvents for a | |bound UDP socket)
--- Comment #30 from Bruno Jesus 00cpxxx@gmail.com --- The problem here is that FD_WRITE is reported over and over for an UDP socket, I have some tests but don't know how to fix yet. This bug is very similar to bug 10204.
https://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://filehippo.com/downlo |http://www.oldapps.com/utor |ad_utorrent/9306/ |rent.php?old_utorrent=36
https://bugs.winehq.org/show_bug.cgi?id=24946
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=24946
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #31 from winetest@luukku.com --- (In reply to Bruno Jesus from comment #30)
The problem here is that FD_WRITE is reported over and over for an UDP socket, I have some tests but don't know how to fix yet. This bug is very similar to bug 10204.
Has anyone tested this bug with the patch in the other bug report (linked).
https://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #32 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to winetest from comment #31)
Has anyone tested this bug with the patch in the other bug report (linked).
You mean " Ugly hack for FD_WRITE event problem (613 bytes, patch) "? Also, why would you need to run uTorrent 2.2.0 when there's perfectly working 2.2.1?
https://bugs.winehq.org/show_bug.cgi?id=24946
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/utor |http://web.archive.org/web/ |rent.php?old_utorrent=36 |20110603223553/http://downl | |oad.utorrent.com/2.2/utorre | |nt.exe CC| |damjan.jov@gmail.com
--- Comment #33 from Damjan Jovanovic damjan.jov@gmail.com --- Add working download link.
https://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #34 from Damjan Jovanovic damjan.jov@gmail.com --- With Wine 5.0-rc1 it no longer hangs on startup, but it does have 100% CPU usage.
https://source.winehq.org/patches/data/176049 fixes that.
https://bugs.winehq.org/show_bug.cgi?id=24946
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |b4a1d80ae35d35f5c170e101922 | |bf1563488be18 Status|NEW |RESOLVED
--- Comment #35 from Damjan Jovanovic damjan.jov@gmail.com --- Patch committed, resolving fixed.
Thank you for your bug report :)
https://bugs.winehq.org/show_bug.cgi?id=24946
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #36 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=24946
--- Comment #37 from Artem S. Tashkinov aros@gmx.com --- (In reply to Damjan Jovanovic from comment #34)
With Wine 5.0-rc1 it no longer hangs on startup, but it does have 100% CPU usage.
https://source.winehq.org/patches/data/176049 fixes that.
Why hasn't the patch been merged?
100% CPU usage issue is still there in Wine git.
https://bugs.winehq.org/show_bug.cgi?id=24946
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |---
--- Comment #38 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Artem S. Tashkinov from comment #37)
(In reply to Damjan Jovanovic from comment #34)
With Wine 5.0-rc1 it no longer hangs on startup, but it does have 100% CPU usage.
https://source.winehq.org/patches/data/176049 fixes that.
Why hasn't the patch been merged?
100% CPU usage issue is still there in Wine git.
I was merged as https://source.winehq.org/git/wine.git/commit/b4a1d80ae35d35f5c170e101922bf1563488be18, but reverted in https://source.winehq.org/git/wine.git/commit/37dec9f144501fb93e173214578b759122ac999a because it broke things, see Bug 48357.
I'll reopen this bug.
https://bugs.winehq.org/show_bug.cgi?id=24946
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #39 from Bernhard Übelacker bernhardu@mailbox.org --- Is this still an issue? At least the todo_wine_if that got removed in the first attempt, got removed again here: https://source.winehq.org/git/wine.git/commitdiff/44a3c70d77139526b4066114cf...
https://bugs.winehq.org/show_bug.cgi?id=24946
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED
--- Comment #40 from Artem S. Tashkinov aros@gmx.com --- Confirming fixed.
There are other serious issues with the application, but that warrants a new bug report.
https://bugs.winehq.org/show_bug.cgi?id=24946
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #41 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.10.