www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/17/09:18:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: SSH/SCREEN/REATTACH bug
Date: Tue, 17 Feb 2009 09:18:17 -0500
Lines: 31
Message-ID: <klglp4plfrhonul73585aklvdb27bfji13@4ax.com>
References: <20090216095714 DOT 203590 AT gmx DOT net>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 

Thanks for the report.  Although I maintain screen for Cygwin, this is
unfortunately probably outside of my ability to fix.  I just don't know enough
about how screen works.

A few possibilities:

(1) You can report this bug upstream, to the screen mailing list.  Someone there
may be able to suggest an answer.

(2) The problem may already be fixed in Cygwin 1.7.  Please try it out and post
your results.  http://cygwin.com/setup-1.7.exe and
http://cygwin.com/1.7/cygwin-ug-net.html .

(3) If the problem isn't fixed yet in Cygwin 1.7, it may become so after I try
recompiling screen to use pipes instead of sockets.  In 1.5 I had to force
screen to use sockets, because the pipe implementation is broken in some way. So
far although I've recompiled screen for 1.7, I haven't revisited the socket/pipe
issue.  This shouldn't be hard to do and I'll look at it this week.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019