Bug 1134 - ssh-agent auth socket problem = infinite loop 100% cpu
Summary: ssh-agent auth socket problem = infinite loop 100% cpu
Status: CLOSED DUPLICATE of bug 1135
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-agent (show other bugs)
Version: 4.2p1
Hardware: All Cygwin on NT/2k/Win7-11
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 20:52 AEDT by Anastasius Focht
Modified: 2006-10-07 11:43 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.