From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89895 invoked by alias); 30 Sep 2015 08:54:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 89882 invoked by uid 89); 30 Sep 2015 08:54:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,URIBL_SBL autolearn=no version=3.3.2 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.187) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 30 Sep 2015 08:54:11 +0000 Received: from [192.168.178.27] ([95.90.245.29]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0M3fOP-1aXfDC3QIL-00rEbE for ; Wed, 30 Sep 2015 10:54:07 +0200 Subject: Re: Mintty Crash on Exit after SSH on Windows 10 To: cygwin@cygwin.com References: From: Thomas Wolff Message-ID: <560BA32F.407@towo.net> Date: Wed, 30 Sep 2015 08:54:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:Had4Wl1A3qY=:tF26yJiCTv2UU61WGWbrwe ObCdalN1bem8uPM+tl1sAGBzqu3XyPhP9b5SIV8SdNZi30thL73AmKVq1G9IMxsOS5u9SgTMl DPY8adVBIZ59/hao+ljHmKxsdxG3BJOGtHwJGl311GJ9ymH67AwFMR7AY0BOwWIIOefz7E9U1 45MKE60YEsE929M/H783bJ+N5LzAfBxuPmZ35Srz67AnSZQV9ZweFNx9WrsG7+LPvDcxr9IBS QcTnJTOwgI3JZRHLRu8LOVE8caiwxsMQEdiWgt4DJBEECMXJy25SkV+JmNq2JyKEmH2QDJb38 Td0AwjWdrmS79wrEJDJOKlDNQ2hQj9e64T0K5myYdngW1rGw1wdCA3v0pSk7Kd98pwn3L5nFT zW+WLEpjdS7YMUs708fWwTDQ2sH5jtDBAfSuRE2wUzcwxMfa5B4a4hrynAtBBWvpghAqDtFjF okDXF10gs46iWZotDx4lk2D0OA9NPkWcBI3z0tm+jDXKrmOQADTnX02Ob1BP9KyJu+QcbReDy JU0h5/XVI51qXgM9XRH7THj3BE9856DxjaShZbbTHTzB4aZLwkGHGswJCPT8Jyf2gRMs2lhST no4WAkKe8344dWSfhCS6BA5McgUk9/EfAGHzS7Xf2UWTUXA/vXIsDJ9KO5FKpC3glgz/SdnGy 1Cd9ZsrkkIdMbTH0ssMHbMPjVD/ebP9f+ZMkWVKJb51MRwdWW2Cm4Vx4o9xDL7g9dEPFiu+OH ExfaEO9NFjgRysO3 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00515.txt.bz2 Am 30.09.2015 um 07:15 schrieb Bryan Tong: > Okay, > > The plot thickens. After I renamed my home folder so Cygwin would make > a new one. The problem seems to be gone. > > I will continue to test and see if it comes back. Maybe something in > my home folder is making it unhappy. That sounds like it. Maybe some "exit trap" or other magic that you set up in your shell profile? If you don't mind, you could send it to me so I can check (for bash, that would be .profile or .bash_profile or .bash_login and .bashrc in your $HOME, and possibly something from /etc in case you changed that). ------ Thomas > On Tue, Sep 29, 2015 at 11:10 PM, Bryan Tong wrote: >> I wasnt able to get any of the replies however I saw them on the mailing list. >> >> First of all, yes the problems continue if I type "exit" into each windows. >> >> Also happens if I just press the "X" on the window. >> >> Enter, doesnt do anything on the window. I have to either wait about >> 60 seconds for the window to exit after claiming to not respond or I >> have to use the task manager to kill it. >> >> I am trying the others now and will let you know. >> >> What I can tell you is that I just did a fresh install of cygwin >> 32bit. I install nano, vim, ssh, ping as well was the base package >> set. >> >> The problem continues on that installation as well. >> >> On Thu, Sep 17, 2015 at 2:10 AM, Bryan Tong wrote: >>> Hello, >>> >>> I recently upgraded to Windows 10 and ever since I have I am getting a >>> hang every time I try to exit a Mintty window after using SSH. >>> >>> What makes this issue more interesting is that I cant always reproduce >>> it. It only happens after I have long standing SSH sessions. >>> >>> After I press "CTL + a + d" the final time when I am back at the >>> cygwin login prompt. The window hangs and my cursor disappears when I >>> try to mouse into the window (this includes the title bar, an exit >>> buttons). At this point the only option is killing from the task >>> manager or waiting about a minute until the window dies. >>> >>> I am thinking this has to do with unclosed sockets after I have done a >>> bunch of googling on what might be causing this. >>> >>> There is one mailing thread pertaining to a similar issue but it >>> doesnt match up exactly. >>> >>> It definitely started directly after the upgrade to Windows 10. I did >>> not upgrade cygwin until after I ran into this problem. However the >>> issue still persists after the upgrade. I believe I am running the >>> latest versions. >>> >>> I have attached my cygcheck to help. >>> >>> Best way to reproduce >>> >>> 1) Open mintty >>> 2) ssh to a host >>> 3) idle on this host for say 5 minutes >>> 4) press "ctl + a + d" to disconnect from the host >>> 5) press "ctl + a + d" to disconnect from the Mintty window >>> >>> I can almost always reproduce this after working on remote servers. >>> However when I try to do it on command it happen every time. >>> >>> I want to point out that I am also using this SSH option. >>> >>> ServerAliveInterval 30 >>> >>> I am starting to wonder if maybe that option is causing SSH to keep >>> the window open as it tries to keep the server alive. It seems that >>> the 30 second window is close to how long I am seeing these windows >>> hang open. >>> >>> I am not even sure where to look for more debugging. I am more curious >>> if anyone else is experiencing this? >>> >>> Please note that I upgraded my Desktops from Windows 7 -> Windows 10 >>> and they both see the problem. On the other hand my laptop I upgraded >>> from Windows 8 -> Windows 10 and it continues to work normally. >>> >>> Any help would be appreciated I am stumped on this one. >>> >>> Thanks -- 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