Bug 1134

Summary: ssh-agent auth socket problem = infinite loop 100% cpu
Product: Portable OpenSSH Reporter: Anastasius Focht <focht>
Component: ssh-agentAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 4.2p1   
Hardware: All   
OS: Cygwin on NT/2k/Win7-11   

Description Anastasius Focht 2005-12-16 20:52:51 AEDT
ssh-agent is started using .bashrc.

When i update my cygwin installation using "setup.exe" i occasionally
get the ssh-agent hanging eating 100% cpu.

Attached is a debugger session/code snippets which shows the bug

in short: select() is returning "1" while the following accept() gets -1 (errno = 0x6C). The main while(1) loop leads to 100% cpu usage.

No one on cygwin mailing list cared to answer so i hope someone here can shed any lights on this.
Maybe this bug is originated within cygwin itself ...

Its very annyoing bug because i often update cygwin installations and have to kill ssh-agent manually (while eating 100% cpu) to continue.

Regards

A. Focht
Comment 1 Darren Tucker 2005-12-17 21:45:55 AEDT

*** This bug has been marked as a duplicate of 1135 ***
Comment 2 Darren Tucker 2006-10-07 11:43:45 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.