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.