[Bug 24206] New: hanging up thread with recvfrom after "shutdown"
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(a)winehq.org ReportedBy: thunder_8888(a)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.
http://bugs.winehq.org/show_bug.cgi?id=24206 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz --- Comment #1 from Wylda <wylda(a)volny.cz> 2010-08-30 04:12:19 CDT --- What application/game are you talking about? Also please link to AppDB if available or see: http://wiki.winehq.org/Bugs#head-7d25a6ac5869da856040cf9ef7e302f34295158a -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 thunder_8888(a)mail.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|hanging up thread with |Touhou 12.3 Hisoutensoku: |recvfrom after "shutdown" |hanging up thread with | |recvfrom after "shutdown" -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #2 from thunder_8888(a)mail.ru 2010-09-07 02:33:14 CDT --- Bug is similar to Bug #22291 , but with patch of Mike Kaplinskiy from bug22291, game still hanging up on second or third canceling of hosting game(wsaErrno errno 22 and WS2_sendto -> ERROR 10022 still appears) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 thunder_8888(a)mail.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou 12.3 Hisoutensoku: |Touhou 12.3 Hisoutensoku: |hanging up thread with |hanging up (on canceling |recvfrom after "shutdown" |network game) thread with | |recvfrom after "shutdown" -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 Mike Kaplinskiy <mike.kaplinskiy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy(a)gmail.com --- Comment #3 from Mike Kaplinskiy <mike.kaplinskiy(a)gmail.com> 2010-09-11 22:59:13 CDT --- I assume the log you posted is without the patch from bug 22291 , could you post the output with the patch applied? The sendto error is not the cause of anything - i don't know why the game tries to send a message on port 0 (we should really dump the addr), but regardless it's not sending a message to itself. It's sending a message FROM the socket, not TO the socket. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #4 from thunder_8888(a)mail.ru 2010-09-15 21:57:12 CDT --- Created an attachment (id=30778) --> (http://bugs.winehq.org/attachment.cgi?id=30778) trace with patched wine With patch for udp socket, it still hang's up, but only after second canceling of hosting game. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 techsy730(a)yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |techsy730(a)yahoo.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #5 from techsy730(a)yahoo.com 2013-01-26 17:57:39 CST --- Sorry to bump ancient bug, but this is still an issue in 1.5.22. I will try to see if I can get newer traces. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #6 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-01-28 06:13:31 CST --- This bug may be a duplicate of bug 29499, you could try reading it and check the patches/hacks there. Is this game freely available for download? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #7 from techsy730(a)yahoo.com 2013-01-28 10:40:59 CST --- Yea, it seems similar alright. Same sort of issues, weirdness when disconnecting a UDP connection. However, my reproduction was on Linux, not OSX. I'll try getting a WINEDEBUG=+winsock log with some of the patches on there. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #8 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-01-28 10:57:16 CST --- This was the original patch for Linux: http://bugs.winehq.org/attachment.cgi?id=39171 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #9 from techsy730(a)yahoo.com 2013-01-28 20:25:12 CST --- Created attachment 43372 --> http://bugs.winehq.org/attachment.cgi?id=43372 trace using patch from comment 8 Ok. Using the patch provided in comment 8, and using WINEDEBUG=+winsock, I got this debug log. (I also turned removed fixme messages from d3d, as it was spamming one message from there several times a second) There is another patch I am going to try as well. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #10 from techsy730(a)yahoo.com 2013-01-28 20:27:14 CST --- (In reply to comment #9)
Created attachment 43372 [details] trace using patch from comment 8
Ok. Using the patch provided in comment 8, and using WINEDEBUG=+winsock, I got this debug log. (I also turned removed fixme messages from d3d, as it was spamming one message from there several times a second)
There is another patch I am going to try as well.
Derp, forgot to mention that the hand still happens on disconnect. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #11 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-07-11 19:11:29 CDT --- This is possibly fixed a few time ago together with an Age of Empires 2 bug. Please try again in wine 1.6-rc4 or later. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #12 from techsy730(a)yahoo.com 2013-07-12 10:44:46 CDT --- Thanks. I will try this out later today. Just out of curiosity, what was the bug number of that Age of Empires 2 bug? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #13 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-07-12 11:41:22 CDT --- (In reply to comment #12)
Just out of curiosity, what was the bug number of that Age of Empires 2 bug?
Bug 29499. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #14 from techsy730(a)yahoo.com 2013-07-12 22:01:08 CDT --- Well, I tried to do this, but instead I am getting a big fat "Failed to initialize" error. *shrug* Any ideas about how to get more info for that so I can file a new bug report about it (after I check to make sure to DLL overrides got messed up)? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 --- Comment #15 from techsy730(a)yahoo.com 2013-07-12 22:05:27 CDT --- Wait, my bad. I was launching the wrong executable. Yea, it seems to not hang when failing to connect as a client. I will still want to test disconnecting from a server and a client disconnecting from me when I am a server, but so far it seems to have gotten further than it did before. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24206 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #16 from Bruno Jesus <00cpxxx(a)gmail.com> --- Resolving as duplicate for now, if anyone is still able to reproduce feel free to ask for reopening. *** This bug has been marked as a duplicate of bug 29499 *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=24206 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Bruno Jesus <00cpxxx(a)gmail.com> --- Closing duplicate. -- 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.
participants (1)
-
wine-bugs@winehq.org