http://bugs.winehq.org/show_bug.cgi?id=18423
Summary: Wine 1.1.21 + uTorrent 1.8.2 Product: Wine Version: 1.1.21 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: drightler@technicalogic.com
After upgrading wine from 1.1.20 to 1.1.21 the UPnP port mapping in uTorrent 1.8.2 stops working. Downgrading back to 1.1.20 fixes the issue.
http://bugs.winehq.org/show_bug.cgi?id=18423
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Wine 1.1.21 + uTorrent 1.8.2|UPnP port mapping in | |uTorrent stopped working
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-11 09:26:53 --- Please post the results of your regression test.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #2 from Dwayne Rightler drightler@technicalogic.com 2009-05-11 11:17:25 --- 47e70af50b252153bc76a1bf71e02a56dfea762e is first bad commit commit 47e70af50b252153bc76a1bf71e02a56dfea762e Author: Vincent Povirk vincent@codeweavers.com Date: Fri May 1 11:09:23 2009 -0500
gdiplus: Correct the lfHeight calculation in GdipCreateFontFromLogfontW.
Negative lfHeight values do not include internal leading. This was making fonts created from LOGFONT structures larger than they should be.
:040000 040000 67131735e3444a620a890afc4373854f3bc89eb2 aeead38ceafecd83cef566cdd6d60869041e64a8 M dlls
http://bugs.winehq.org/show_bug.cgi?id=18423
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2009-05-11 11:24:19 --- I doubt utorrent is really relying on font metrics for its upnp code to work properly. I think that result is probably wrong.
Does reverting the patch fix it?
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #4 from Dwayne Rightler drightler@technicalogic.com 2009-05-11 11:28:57 --- I thought it was a strange place for the regression test to end as well. I apologize, but I am quite unfamiliar with git. If you could instruct me on how to revert the patch I would be more than happy to give it a try.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #5 from Austin English austinenglish@gmail.com 2009-05-11 11:43:04 --- (In reply to comment #4)
I thought it was a strange place for the regression test to end as well. I apologize, but I am quite unfamiliar with git. If you could instruct me on how to revert the patch I would be more than happy to give it a try.
$ git show 47e70af50b252153bc76a1bf71e02a56dfea762e | patch -p1 -R
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #6 from Dwayne Rightler drightler@technicalogic.com 2009-05-11 12:12:47 --- As expected reverting that patch had no effect. I decided to reset and do the regression test again. The result was different this time:
f0491f61ba04d62ba1e6c7d596e14610446a1bdc is first bad commit commit f0491f61ba04d62ba1e6c7d596e14610446a1bdc Author: Hans Leidekker hans@codeweavers.com Date: Wed Apr 29 11:41:02 2009 +0200
iphlpapi: Implement GetAdaptersAddresses.
:040000 040000 01f7be9d3b59e90ecc394cddaade7637af53a389 43033f4cdfda3bb0623c7aad2db83c6b1a772061 M dlls
I then reverted this patch and the problem went away.
http://bugs.winehq.org/show_bug.cgi?id=18423
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=18423
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|madewokherd@gmail.com |hans@meelstraat.net
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-11 22:55:25 --- Adding author of the patch to the cc: list.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #8 from Hans Leidekker hans@meelstraat.net 2009-05-12 01:30:51 --- Please provide steps to reproduce and a download URL.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #9 from Dwayne Rightler drightler@technicalogic.com 2009-05-12 08:59:27 --- (In reply to comment #8)
Please provide steps to reproduce and a download URL.
uTorrent can be found here: http://www.utorrent.com/downloads/
Once installed you need to enable UPnP port mapping which is in Options->Preferences->Connection
uTorrent will need to be installed on a computer which is behind a linux firewall/router running a UPnP server. The one I am using is upnp-igd which can be found here: http://linux-igd.sourceforge.net/ (or just installed via apt on a ubuntu box). After upnp-igd is set up it will place rules into iptables when you start uTorrent with UPnP enabled. This is what that patch breaks. For some reason it seems that uTorrent isn't sending the UPnP packet(s) after this patch.
http://bugs.winehq.org/show_bug.cgi?id=18423
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.utorrent.com/down | |loads/
http://bugs.winehq.org/show_bug.cgi?id=18423
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexo.tmp@gmail.com
--- Comment #10 from Austin English austinenglish@gmail.com 2009-05-18 13:57:33 --- *** Bug 18503 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18423
Alex Savin V alexo.tmp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Alex Savin V alexo.tmp@gmail.com 2009-05-18 14:40:52 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #12 from Alex Savin V alexo.tmp@gmail.com 2009-05-18 15:14:19 --- how it is said in Bug 18503 : commit f0491f61ba04d62ba1e6c7d596e14610446a1bdc crash(can't start) utorrent 1.8.2 in linux(32-bit, opensuse without linux-igd)
revert this patch - and all work
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2009-05-19 01:37:23 --- Please attach a WINEDEBUG=+relay,+seh,+iphlpapi trace.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #14 from Alex Savin V alexo.tmp@gmail.com 2009-05-19 03:57:49 --- Created an attachment (id=21177) --> (http://bugs.winehq.org/attachment.cgi?id=21177) WINEDEBUG=+relay,+seh,+iphlpapi env WINEPREFIX="/home/alex/.wa/test" ./wine "C:\Program Files\uTorrent\uTorrent.exe" 2>utor1
this test with linux-igd (i install it yesterday), now not crash, but freze at startup utorrent(no visible window) (if need i can test without linux-igd )
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #15 from Alex Savin V alexo.tmp@gmail.com 2009-05-19 04:00:50 --- (In reply to comment #14)
this test with linux-igd (i install it yesterday), now not crash, but freze at startup utorrent(no visible window) (if need i can test without linux-igd )
still crash, if start without WINEDEBUG=+relay,+seh,+iphlpapi (maybe this too crash, but need long time to wait)
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #16 from Hans Leidekker hans@meelstraat.net 2009-05-19 08:15:26 --- Thanks Alex, can you also attach the output of ifconfig?
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #17 from Alex Savin V alexo.tmp@gmail.com 2009-05-19 15:02:06 --- Created an attachment (id=21189) --> (http://bugs.winehq.org/attachment.cgi?id=21189) ifconfig
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #18 from Hans Leidekker hans@meelstraat.net 2009-05-19 15:14:51 --- Does it make a difference if you drop the IP alias on eth0:1 (a duplicate of the primary address)?
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #19 from Alex Savin V alexo.tmp@gmail.com 2009-05-20 06:34:11 --- (In reply to comment #18)
Does it make a difference if you drop the IP alias on eth0:1 (a duplicate of the primary address)?
ifconfig eth0:1 down and too can't start uTorrent
env WINEPREFIX="/home/alex/.wa/test" ./wine "C:\Program Files\uTorrent\uTorrent.exe" fixme:heap:HeapSetInformation 0x110000 0 0x472dfc 4 fixme:heap:HeapSetInformation 0x5c0000 0 0x472dfc 4 err:ole:CoGetClassObject class {304ce942-6e39-40d8-943a-b913c40c9cd4} not registered err:ole:CoGetClassObject no class object {304ce942-6e39-40d8-943a-b913c40c9cd4} could be created for context 0x1 fixme:winsock:WS_setsockopt Unknown level: 0x00000029 fixme:winsock:WS_setsockopt Unknown level: 0x00000029 WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. err:heap:HEAP_ValidateInUseArena Heap 0x110000: prev arena 0x1642a8 invalid for in-use 0x164300 err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17 err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17 xe: gdiobj.c:551: GDI_dec_ref_count: Проверочное утверждение `header->selcount' не выполнено. err:module:load_builtin_callback can't load dbghelp.dll wine: Unhandled stack overflow at address 0x7bc3c13c (thread 001b), starting debugger... err:seh:setup_exception_record stack overflow 816 bytes in thread 001b eip b7d94fb3 esp 00a51000 stack 0xa50000-0xa51000-0xb50000 err:ntdll:RtlpWaitForCriticalSection section 0x7bc9c520 "exception.c: vectored_handlers_section" wait timed out in thread 001c, blocked by 001b, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bc9c520 "exception.c: vectored_handlers_section" wait timed out in thread 001c, blocked by 001b, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bc9c520 "exception.c: vectored_handlers_section" wait timed out in thread 001c, blocked by 001b, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bc9c520 "exception.c: vectored_handlers_section" wait timed out in thread 001c, blocked by 001b, retrying (60 sec)
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #20 from Alex Savin V alexo.tmp@gmail.com 2009-06-07 05:05:29 --- wine-1.1.23 - still don't work
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #21 from Alex Savin V alexo.tmp@gmail.com 2009-06-11 16:19:31 --- wine-1.1.23
I test with: ifconfig eth0:1 down
and now it's working!!!,
but if i start utorrent without "ifconfig eth0:1 down", it still crash
http://bugs.winehq.org/show_bug.cgi?id=18423
Tiago tcamargo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tcamargo@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #22 from Hans Leidekker hans@meelstraat.net 2009-07-07 08:56:29 --- This is most likely fixed by commit cd1ed081def59bc912dab9a378d7eacd90396fea
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #23 from Dwayne Rightler drightler@technicalogic.com 2009-07-14 15:53:46 --- (In reply to comment #22)
This is most likely fixed by commit cd1ed081def59bc912dab9a378d7eacd90396fea
The bug is fixed in the current git repository version.
http://bugs.winehq.org/show_bug.cgi?id=18423
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Hans Leidekker hans@meelstraat.net 2009-07-14 15:56:32 --- Thanks for testing.
http://bugs.winehq.org/show_bug.cgi?id=18423
Dwayne Rightler drightler@technicalogic.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #25 from Dwayne Rightler drightler@technicalogic.com 2009-07-15 00:11:21 --- I'm sorry to report that I tested incorrectly. I failed to use the winewrapper script in the git tree and when I executed wine it used my locally installed version of wineserver, which is 1.1.20. I re-tested using the winewrapper script, verified it was using the wineserver from the git tree and the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #26 from Alex Savin V alexo.tmp@gmail.com 2009-07-16 13:18:17 --- wine-1.1.25
utorrent still crash, but only with wrong network configuration:
ifconfig eth0:1 up env WINEPREFIX="$HOME/.wa/test" wine '/home/alex/.wa/test/drive_c/Program Files/uTorrent/uTorrent.exe'
see log: http://paste.org.ru/?vxkmd1
if its important: ifconfig eth0:1 up - it is wrong configuration, and i not use it now, without eth0:1 - all work good))
about upnp - don't know how to test it
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #27 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 13:51:12 --- Is there anything I can do (testing, debugging, etc.) to help track down the upnp issue further?
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #28 from Hans Leidekker hans@meelstraat.net 2009-07-17 14:07:35 --- Please attach a WINEDEBUG=+iphlpapi trace. What does the output of ifconfig look like on your system?
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #29 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 14:29:20 --- Created an attachment (id=22417) --> (http://bugs.winehq.org/attachment.cgi?id=22417) LOG for WINEDEBUG=+iphlpapi ./wine 'C:\Program Files\uTorrent\uTorrent.exe'
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #30 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 14:30:26 --- Created an attachment (id=22418) --> (http://bugs.winehq.org/attachment.cgi?id=22418) ipconfig for machine
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #31 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 14:31:43 --- Trace + ifconfig attached.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #32 from Hans Leidekker hans@meelstraat.net 2009-07-17 15:15:25 --- eth0 is part of the bridge, right? So bringing it down would not work as a test.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #33 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 15:44:50 --- Created an attachment (id=22419) --> (http://bugs.winehq.org/attachment.cgi?id=22419) LOG for WINEDEBUG=+iphlpapi ./wine 'C:\Program Files\uTorrent\uTorrent.exe' (wihout bridge)
http://bugs.winehq.org/show_bug.cgi?id=18423
Dwayne Rightler drightler@technicalogic.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #22419|LOG for WINEDEBUG=+iphlpapi |LOG for WINEDEBUG=+iphlpapi description|./wine 'C:\Program |./wine 'C:\Program |Files\uTorrent\uTorrent.exe |Files\uTorrent\uTorrent.exe |' (wihout bridge) |' (without bridge)
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #34 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 15:46:49 --- Created an attachment (id=22420) --> (http://bugs.winehq.org/attachment.cgi?id=22420) ipconfig for machine (without bridge)
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #35 from Dwayne Rightler drightler@technicalogic.com 2009-07-17 15:48:15 --- (In reply to comment #32)
eth0 is part of the bridge, right? So bringing it down would not work as a test.
eth0 is part of the bridge yes. I have torn down the bridge and new Trace + ifconfig attached. No change, bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=18423
--- Comment #36 from Dwayne Rightler drightler@technicalogic.com 2009-09-28 00:12:42 --- Fixed in 1.1.30
http://bugs.winehq.org/show_bug.cgi?id=18423
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #37 from Dmitry Timoshkov dmitry@codeweavers.com 2009-09-28 00:52:38 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=18423
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #38 from Alexandre Julliard julliard@winehq.org 2009-10-09 11:14:05 --- Closing bugs fixed in 1.1.31.