X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4FC4C7C6.6070603@cs.utoronto.ca>
Date: Tue, 29 May 2012 08:57:42 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Mintty Log Off problem (now 1.7.16s)
References: <4F3BEED9.8090909@w5pny.com> <4F3FEDC1.5010402@w5pny.com> <4FC3B6BD.1010309@w5pny.com>
In-Reply-To: <4FC3B6BD.1010309@w5pny.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 28/05/2012 1:32 PM, Harry G McGavran Jr wrote:
>
> On 02/18/12 11:28, Harry G McGavran Jr wrote:
>> I've found a little more information -- this problem goes away
>> if I change my default shell to dash.  Seems tcsh is involved somehow.
>> It comes back when I change my default shell back to tcsh.
>> Going back to tcsh 6.18.00-2 does not help.
>>
>> Given the deathly silence to my request below, I must be the only
>> one experiencing this, but it happens on both of my machines.
>>
>>      Harry
>>
>> On 02/15/12 10:43, Harry G McGavran Jr wrote:
>>> With Cygwin 1.7.10(0.259/5/3) upon logging off Windows XP SP3
>>> I get a pop-up window "End Program - C:\cygwin\bin\mintty.exe"
>>> with a "End Now" and "Cancel" button every time I log off
>>> Windows and I have somewhere in that Windows session run
>>> the Mintty shortcut which has "C:\cygwin\bin\mintty -u -"
>>> in it and my default shell is tcsh. This never happened
>>> with previous Cygwin releases. What's even more interesting
>>> is that in all cases I exit all my programs before logging
>>> off, including the mintty window. I've even tried hitting
>>> the "Cancel" button and then looking for a process named
>>> mintty or "Terminal" (since that's what mintty's description
>>> is and that is used by some process tools) with both Process Explorer
>>> and Task Manager, but I can find no such process -- and then
>>> when I try to log off again not having found such a process
>>> the pop-up comes back and I can't log off until I hit
>>> "End Now".
>>>
>>> Since I haven't seen any reports of this on this list, I must
>>> be about the only one this is happening to. Any clues as to
>>> what I can do to find out what Windows is actually failing to stop
>>> when I try to log off having run mintty beforehand?
> I'm puzzled why others aren't seeing this or aren't reporting it,
> but this problem seems to be back with 1.7.15 and I've now tried
> the latest snapshot (May 25) and it's back there too. It occurred
> with 1.7.10 and then got fixed, but now it seems to be back.
I routinely encounter mintty windows that don't close after I exit the 
login shell they run (even though they contain no visible child 
processes), but they can still be closed using the big red "X" in the 
corner... your problem sounds like something more sinister.

Ryan


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

