This is the mail archive of the
mailing list for the Cygwin project.
Re: tmux failed and got the message: failed to connect to server: No error
- From: Michael Wild <themiwi at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 2 Jun 2014 10:37:50 +0200
- Subject: Re: tmux failed and got the message: failed to connect to server: No error
- Authentication-results: sourceware.org; auth=none
- References: <CAMv+u9JcRKFsORXEEXbtKx8VqMFc__LXJBpuaeL9C4pFsCd8HA at mail dot gmail dot com>
The problem is known upstream [1, 2] and I'm also trying to figure out
which change in the cygwin DLL triggered this issue. I'll post here
again once I know more.
On Sat, May 31, 2014 at 5:29 PM, Guan-Zhong Huang wrote:
> cygwin-1.7.29-2 is ok.
> After updating to cygwin-1.7.30-1, I can't start tmux.
> I find it is because when tmux tries to connect to the unix domain
> socket that tmux server listens and tmux server hasn't started yet,
> connect() fails but errno is 0, not "Connection Refused (111)". This
> causes tmux to exit with error.
> If you want to reproduce this bug.
> tmux might work at the first time because the unix domain socket is not created.
> But after that, tmux will fail due to incorrect errno.
> Here's the strace I got:
> 96 1063224 [main] tmux 4072 cygwin_connect: -1 = connect(5,
> 0x229780, 24), errno 0
> 92 1054064 [main] tmux 3548 cygwin_connect: -1 = connect(5,
> 0x229780, 24), errno 111
> Best regads,
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple