[Bug 56927] New: msys2-64/cygwin64: rsync fails with 'Socket operation on non-socket'
https://bugs.winehq.org/show_bug.cgi?id=56927 Bug ID: 56927 Summary: msys2-64/cygwin64: rsync fails with 'Socket operation on non-socket' Product: Wine Version: 9.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs(a)winehq.org Reporter: bernhardu(a)mailbox.org Distribution: --- Created attachment 76749 --> https://bugs.winehq.org/attachment.cgi?id=76749 Notes to reproduce, a backtrace in cygwin/wine. I tried to check if bug #19858 is still an issue. Unfortunately I hit a rsync call which fails: $ rsync -aq --delete-before dir-a dir-b rsync: [Receiver] Failed to dup/close: Socket operation on non-socket (108) rsync error: error in IPC code (code 14) at pipe.c(157) [Receiver=3.2.7] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(231) It looks like rsync forks a child process, and the child tries then to close the derived socket, which cannot be found in closesocket/socket_list_remove. This seems kind of similar to bug #54995. -- 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=56927 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- 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=56927 --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 76750 --> https://bugs.winehq.org/attachment.cgi?id=76750 Workaround: Do not fail in closesocket for unknown socket. Installing and testing cygwin64/msys2-64 was done with a wine tree including patches for this bugs: 52105, 55138, 53574, 54995, 56925 -- 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=56927 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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=56927 Joel Holdsworth <joel(a)airwebreathe.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joel(a)airwebreathe.org.uk -- 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=56927 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #76750|0 |1 is obsolete| | --- Comment #2 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 78510 --> http://bugs.winehq.org/attachment.cgi?id=78510 ws2_32: Do not fail in closesocket for unknown socket. (rebased wine-10.7) Still present with wine-10.7. The patches from bug #55138, bug #53574, bug #57424 and bug #56925 need to be applied to be able to reach this issue. Applying attached patch makes the rsync command succeed. -- 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)
-
WineHQ Bugzilla