Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: cygwin.dll 1.5.13-1: hangs Date: Wed, 9 Mar 2005 14:47:07 -0500 Lines: 54 Message-ID: References: <20050308111549 DOT GD2839 AT cygbert DOT vinschen DOT de> <20050308163612 DOT GJ2839 AT cygbert DOT vinschen DOT de> <20050308165641 DOT GL2839 AT cygbert DOT vinschen DOT de> <20050309141647 DOT GB3685 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: pcp04399769pcs.nrockv01.md.comcast.net User-Agent: MicroPlanet-Gravity/2.70.2067 X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org X-MailScanner-To: cygwin AT cygwin DOT com X-IsSubscribed: yes > 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 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. -- 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/