-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The win32PipeListener.Close() hangs if nobody calls Accept() #281
Comments
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 30, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 30, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 30, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 30, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 31, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Mar 31, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Apr 1, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
thallgren
added a commit
to telepresenceio/telepresence
that referenced
this issue
Apr 1, 2023
Microsoft's Go implementation of named pipes sometimes causes the Telepresence daemons to hang indefinitely. This is the culprit: microsoft/go-winio#281 This commit removes the use of named pipes (once implemented due to buggy Go implementation of unix sockets), in favor of using the same socket implementation (almost) as we do on other platforms. Signed-off-by: Thomas Hallgren <thomas@datawire.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
win32PipeListener.Close()
function attempts to write to an unbuffered channel that has no reader unless someone calls theAccept()
function. As a result, the call toClose()
hangs indefinitely. The stack trace from the goroutine that is hanging can look like this:The text was updated successfully, but these errors were encountered: