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@winehq.org Reporter: bernhardu@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.
https://bugs.winehq.org/show_bug.cgi?id=56927
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=56927
--- Comment #1 from Bernhard Übelacker bernhardu@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
https://bugs.winehq.org/show_bug.cgi?id=56927
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=56927
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk