X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: SSH/SCREEN/REATTACH bug Date: Fri, 27 Feb 2009 11:31:24 -0500 Lines: 34 Message-ID: References: <20090216095714 DOT 203590 AT gmx DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes 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 > screen hangs when attempting to reattach to a session that wasn't manually detached but instead the ssh connection to the server where screen is running was closed. > > i can neither > screen -list > nor > screen -D -RR > > to get back into the session. for both calls screen will wait forever but nothing will happen. > strace screen -list will stop here: > 329 136923 [main] screen 137852 fhandler_socket::af_local_send_secret: Sending af_local secret succeeded eval, I've packaged a new test release of screen for Cygwin 1.7. This version uses fifos instead of pipes. It's possible that this change may fix the problem you reported. If you want to test it, here's what you'll have to do: (1) Install the latest Cygwin DLL snapshot into your Cygwin 1.7 installation. You can download it from http://cygwin.com/snapshots/cygwin1-20090226.dll.bz2, or from the Cygwin snapshot page, http://cygwin.com/snapshots. You need the 2009-02-26 snapshot or later. Once you have that, close all of your Cygwin 1.7 processes, go to the bin directory of your 1.7 installation, move cygwin1.dll out of the way, unpack the archive, and rename e.g. cygwin1-20090226.dll to cygwin1.dll. (2) Get and unpack the test screen installation: wget http://home.comcast.net/~andrex2/cygwin-1.7/screen/screen-4.0.3-4.tar.bz2 tar -C/ -jxf screen-4.0.3-4.tar.bz2 Now relogin via ssh and see if your problem still occurs. Good luck, and let us know how it goes. Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/