delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/09/15:25:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Chuck <skilover AT softhome DOT net>
Subject: Re: cygwin.dll 1.5.13-1: hangs
Date: Wed, 09 Mar 2005 15:15:58 -0500
Lines: 67
Message-ID: <d0nlha$n6j$2@sea.gmane.org>
References: <d0k08s$k2p$1 AT sea DOT gmane DOT org> <20050308111549 DOT GD2839 AT cygbert DOT vinschen DOT de> <MPG DOT 1c97935f3a54e6e99896c5 AT localhost> <20050308163612 DOT GJ2839 AT cygbert DOT vinschen DOT de> <20050308165641 DOT GL2839 AT cygbert DOT vinschen DOT de> <d0mtfn$757$1 AT sea DOT gmane DOT org> <20050309141647 DOT GB3685 AT cygbert DOT vinschen DOT de> <d0na20$lb6$1 AT sea DOT gmane DOT org> <MPG DOT 1c991cc3eb03f03c9896c9 AT localhost>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: f12d06i01.advancemags.com
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
In-Reply-To: <MPG.1c991cc3eb03f03c9896c9@localhost>
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Andrew Schulman wrote:
>>In my case, this snapshot does not fix the problem. Now instead of
>>ssh-add hanging the first time it's run before prompting for the
>>passphrase, it now hangs *every* time after prompting for the
>>passphrase.
> 
> 
> I can confirm this.  I'm now running with cygwin1-20050308.dll-1.  All 
> invocations of ssh-add now hang.  Here's a snippet of strace output from 
> the first invocation after a reboot:
> 
>   184   47362 [main] ssh-add 2980 fhandler_socket::signal_secret_event: 
> signaled secret_event
> 36925366 36972728 [unknown (0xC24)] ssh-add 2980 _cygtls::remove: wait 
> 0xFFFFFFFF
> 
> where I interrupted after 36 seconds.  This is the same as with version 
> 1.5.13.  But after I interrupt and then rerun, it hangs in a different 
> place:
> 
>   179   45744 [main] ssh-add 3168 fhandler_socket::signal_secret_event: 
> signaled secret_event
>   277   46021 [main] ssh-add 3168 fhandler_socket::connect: Received eid 
> credentials: pid: 2868, uid: 1008, gid: 513
> <snip>
>    38   95525 [main] ssh-add 3168 readv: readv (3, 0x22E440, 1) 
> blocking, sigcatchers 0
>    33   95558 [main] ssh-add 3168 readv: no need to call ready_for_read
> 28241644 28337202 [unknown (0xCEC)] ssh-add 3168 _cygtls::remove: wait 
> 0xFFFFFFFF
> 
> where again I interrupted after 28 seconds.  Full output of cygcheck -
> svr and 1st and 2nd invocations of 'strace ssh-add $key1 $key2 $key3' 
> are at
> 
> http://home.comcast.net/~andrex/cygwin/cygcheck-svr.txt
> http://home.comcast.net/~andrex/cygwin/ssh-add-strace1.txt
> http://home.comcast.net/~andrex/cygwin/ssh-add-strace2.txt
> 
> cygcheck -svr is the same as before, except for the version of 
> cygwin1.dll.
> 
> Note that I'm no longer running ssh-add as part of my bash startup 
> scripts.  I've suppressed that, and am now running a simple 'ssh-add 
> $key1 $key2 $key3' from the shell prompt.  The result is the same.
> 
> 
>>Plus, if I try to kill ssh-agent with "eval `ssh-agent -k`",
>>that hangs too. Nothing will kill the agent. Not even  kill -9.
> 
> 
> I can't confirm this.  It works fine for me.
> 
> Just to add to the fun though, I also find that one of my otherwise 
> long-standing stable apps, autossh, now crashes within five minutes of 
> boot every time, with 1.5.13 or later.  I'll document this ASAP and 
> submit it under a different thread.
> 
> 
> 

Out of curiosity, do you run your shell in an xterm window? If I run
from the command line it works fine, but in an xterm window it hangs.


-- 
To reply by email remove "_nospam"


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