X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=gT0fXo4 CGeQ80n0/Rtcm2fCf4dZLq0IUn8mwCyxdo4ncTEjEh9AxBmPHSEHbNfnl/X1+D7Z fvx80BcspCpAbouHxahhoXF5yGI5nN7qWds9eG+tqe9sNM0D8Szxwtkr/THozflz jBzJzWswe0NsYW3UrVWYp6G88b3o/CAWLryg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=+RniX85mrD/OM 64B0yXa9AjFLXE=; b=T3YkNh6UXE4jUITEukMSR2QCYj3Xa5z7A1P88cxCatNah 4AcZBI9gHoh5LbOUvibdlM10ETaS8LwAFKzyoL6JvC+E6IIHBV715vlY6Xpk/Q5z lA8i0wt6gkUqMsOBYiJebWq6yXNIoyaQ6ZiGke4U/uzLxrgD6+4sp1/FJW71F8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com X-Received: by 10.180.72.15 with SMTP id z15mr20353359wiu.46.1401698290824; Mon, 02 Jun 2014 01:38:10 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Michael Wild Date: Mon, 2 Jun 2014 10:37:50 +0200 Message-ID: Subject: Re: tmux failed and got the message: failed to connect to server: No error To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Hi Guan-Zhong 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. Michael [1] http://sourceforge.net/p/tmux/mailman/message/32396655/ [2] http://sourceforge.net/p/tmux/mailman/message/32400834/ 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: > 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 > -- 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