public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tmux failed and got the message: failed to connect to server: No error
@ 2014-05-31 18:34 Guan-Zhong Huang
  2014-06-02  8:38 ` Michael Wild
  0 siblings, 1 reply; 9+ messages in thread
From: Guan-Zhong Huang @ 2014-05-31 18:34 UTC (permalink / raw)
  To: cygwin

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:
cygwin-1.7.30-1:
   96 1063224 [main] tmux 4072 cygwin_connect: -1 = connect(5,
0x229780, 24), errno 0
cygwin-1.7.29-2:
   92 1054064 [main] tmux 3548 cygwin_connect: -1 = connect(5,
0x229780, 24), errno 111


Best regads,
Guan-Zhong

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-18  7:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-31 18:34 tmux failed and got the message: failed to connect to server: No error Guan-Zhong Huang
2014-06-02  8:38 ` Michael Wild
2014-06-02 15:28   ` Robert Pendell
2014-06-06  5:22     ` Michael Wild
2014-06-16 13:11     ` Corinna Vinschen
2014-06-16 16:08       ` Henry S. Thompson
2014-06-16 16:23         ` Corinna Vinschen
2014-06-17 14:49           ` Robert Pendell
2014-06-18  7:25             ` Michael Wild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).