This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin.dll 1.5.13-1: hangs


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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]