http://bugs.winehq.org/show_bug.cgi?id=28473
Summary: uTorrent 3.x hangs randomly Product: Wine Version: 1.3.28 Platform: x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: MattFinn@gmail.com
Created attachment 36515 --> http://bugs.winehq.org/attachment.cgi?id=36515 Short log showing the errors and the immediate context.
I tried both the uTorrent stable (3.0) and the latest 3.1 build.
For both, it runs for some time (minutes, maybe hours) and then it freezes up (won't respond to GUI events) and starts outputting these ERR's repeatedly.
err:ntdll:RtlpWaitForCriticalSection section 0x51a648 "?" wait timed out in thread 0020, blocked by 0021, retrying (60 sec)
http://bugs.winehq.org/show_bug.cgi?id=28473
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2011-09-22 17:08:54 CDT --- I can confirm this bug. The first time I had this was in 1.3.25, didn't test in older wine versions. Switched back to 2.2.1 to keep using utorrent.
http://bugs.winehq.org/show_bug.cgi?id=28473
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #2 from Damjan Jovanovic damjan.jov@gmail.com 2011-09-29 11:04:48 CDT --- Looks like a deadlock? When uTorrent hangs, please do the following:
Run "winedbg" Type "bt all" Attach the output
It will probably work better if you have the debug symbols installed, and even better if you compiled Wine yourself with no optimizations and maximum debugging.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2011-10-02 11:10:54 CDT --- Created attachment 36659 --> http://bugs.winehq.org/attachment.cgi?id=36659 bt all
bt all from winedbg as requested.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2011-10-03 03:09:57 CDT --- It looks like the GUI thread no longer exists by the time you run "bt all"?
Can you please attach a "bt all" taken during normal running of uTorrent, before it crashes? It might be useful to compare them.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #5 from ax 34noff otaku@rambler.ru 2011-11-20 04:06:35 CST --- Created attachment 37547 --> http://bugs.winehq.org/attachment.cgi?id=37547 "winedbg > bt all" when utorrent works
http://bugs.winehq.org/show_bug.cgi?id=28473
ax 34noff otaku@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |otaku@rambler.ru
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #6 from ax 34noff otaku@rambler.ru 2011-11-20 04:10:53 CST --- (In reply to comment #5)
Created attachment 37547 [details] "winedbg > bt all" when utorrent works
runned with workaround "Preferences/Advanced/sys.enable_wine_hacks = false" to prevent bug http://bugs.winehq.org/show_bug.cgi?id=27579
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com 2011-11-20 04:22:08 CST --- There's no user32 calls in the trace when it freezes, but there is when it doesn't freeze. It seems the GUI thread exits for some reason? To prove this theory I'd need the "bt all" from the same running instance of uTorrent before and after the crash, then I could see which thread ID is the GUI thread.
Debugging why it actually exits could be difficult. A WINEDEBUG="+tid,+seh" trace might help, if the exit is caused by some internal error. Otherwise a debugger would have to be attached before the crash and some creative disassembly done.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #8 from ax 34noff otaku@rambler.ru 2011-11-20 04:46:08 CST --- (In reply to comment #7)
WINEDEBUG="+tid,+seh"
how (where) can i set it? i'm a novice in wine debugging.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #9 from Damjan Jovanovic damjan.jov@gmail.com 2011-11-20 04:52:03 CST --- (In reply to comment #8)
(In reply to comment #7)
WINEDEBUG="+tid,+seh"
how (where) can i set it? i'm a novice in wine debugging.
Run uTorrent like this:
WINEDEBUG="+tid,+seh,+thread" wine /path/to/utorrent.exe
and attach the output when it hangs.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #10 from ax 34noff otaku@rambler.ru 2011-11-20 05:04:54 CST --- (In reply to comment #7)
WINEDEBUG="+tid,+seh"
how (where) can i set it? i'm a novice in wine debugging.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #11 from ax 34noff otaku@rambler.ru 2011-11-20 05:05:32 CST --- (In reply to comment #10)
(In reply to comment #7)
WINEDEBUG="+tid,+seh"
how (where) can i set it? i'm a novice in wine debugging.
excuse me, looks like bugzilla's bug...
http://bugs.winehq.org/show_bug.cgi?id=28473
ax 34noff otaku@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37547|0 |1 is obsolete| |
--- Comment #12 from ax 34noff otaku@rambler.ru 2011-11-20 07:57:04 CST --- Created attachment 37548 --> http://bugs.winehq.org/attachment.cgi?id=37548 first bt-all: uT works
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #13 from ax 34noff otaku@rambler.ru 2011-11-20 07:58:24 CST --- Created attachment 37549 --> http://bugs.winehq.org/attachment.cgi?id=37549 second bt all: uT after crash
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #14 from ax 34noff otaku@rambler.ru 2011-11-20 08:00:16 CST ---
WINEDEBUG="+tid,+seh,+thread" wine /path/to/utorrent.exe
is it bad if i ran this command with this way: evn WINEDEBUG="+tid,+seh,+th...
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #15 from ax 34noff otaku@rambler.ru 2011-11-20 08:01:29 CST ---
evn WINEDEBUG="+tid,+seh,+th...
oops, env WINEDEBUG...
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #16 from Damjan Jovanovic damjan.jov@gmail.com 2011-11-20 08:35:27 CST --- (In reply to comment #13)
Created attachment 37549 [details] second bt all: uT after crash
Before crash: threads 0027 and 0009 are in user32 After crash: thread 0027 is in user32, but thread 0009 is in __kernel_vsyscall+0x5() in [vdso].so (0x00000080)
Something strange definitely happens to that thread.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #17 from Damjan Jovanovic damjan.jov@gmail.com 2011-11-20 08:36:38 CST --- (In reply to comment #15)
evn WINEDEBUG="+tid,+seh,+th...
oops, env WINEDEBUG...
As long as uTorrent runs, it shouldn't really matter whether you use env or not.
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #18 from ax 34noff otaku@rambler.ru 2011-11-20 08:59:54 CST --- my temporary workaround: kill-restart uT until it will not freeze. it or freezes in few minutes or works well for long time
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #19 from ax 34noff otaku@rambler.ru 2011-11-29 07:11:38 CST --- one more workaround! it's not a fix but probably it can help to fix this bug. Don't touch uTorrent's "torrents' list" or "tabbed panel" under it after (re)start. Or touch them and then restart uTorrent. And it will work. (see an attachment below)
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #20 from ax 34noff otaku@rambler.ru 2011-11-29 07:12:23 CST --- Created attachment 37692 --> http://bugs.winehq.org/attachment.cgi?id=37692 one more workaround
http://bugs.winehq.org/show_bug.cgi?id=28473
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b7.10110111@gmail.com
--- Comment #21 from Ruslan b7.10110111@gmail.com 2012-03-07 15:43:46 CST --- Still present as of wine-1.4-rc5-84-g973f62f
http://bugs.winehq.org/show_bug.cgi?id=28473
--- Comment #22 from ax 34noff otaku@rambler.ru 2012-04-29 08:00:26 CDT --- uTorrent works last 2 days without freeze, the bug seems fixed... wine 1.5.2, ubuntu 11.10
http://bugs.winehq.org/show_bug.cgi?id=28473
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #23 from Austin English austinenglish@gmail.com --- (In reply to ax 34noff from comment #22)
uTorrent works last 2 days without freeze, the bug seems fixed... wine 1.5.2, ubuntu 11.10
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=28473
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.