mintty hangs after SSH disconnect

Csaba Raduly rcsaba@gmail.com
Wed Aug 18 08:52:00 GMT 2010


The following scenario keeps happening more often than I like:

I open a mintty console with a ssh:
C:\cygwin17\bin\mintty.exe /bin/bash --login -c "/usr/bin/ssh -Y lablinux1"

(time passes)
I set the computer to sleep (the power button is reconfigured to sleep
instead of shutdown).

When I come back (usually the next day) and bring the computer back
up, the SSH connection is lost:
"Write error: connection reset by peer"

This is understandable, considering the long time gap with no connection.
The normal behavior is that after pressing Enter, the mintty window disappears.

However, sometimes at this point mintty is consuming 100% CPU and has
to be killed manually.
Any ideas how/what to investigate?

-- 
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 83587 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100818/1610ed36/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list