* Re: Mintty Log Off problem
2012-02-18 18:29 ` Harry G McGavran Jr
@ 2012-02-18 19:41 ` David Rothenberger
2012-02-18 20:24 ` Gary Johnson
2012-02-20 13:13 ` Earnie Boyd
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: David Rothenberger @ 2012-02-18 19:41 UTC (permalink / raw)
To: cygwin
On 2/18/2012 10:28 AM, 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.
I'm also experiencing this on my XP SP3 machines using mintty and bash.
No problems on Vista or W7, though.
> 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?
>
--
David Rothenberger ---- daveroth@acm.org
Pickle's Law:
If Congress must do a painful thing,
the thing must be done in an odd-number year.
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem
2012-02-18 19:41 ` David Rothenberger
@ 2012-02-18 20:24 ` Gary Johnson
0 siblings, 0 replies; 11+ messages in thread
From: Gary Johnson @ 2012-02-18 20:24 UTC (permalink / raw)
To: cygwin
On 2012-02-18, David Rothenberger wrote:
> On 2/18/2012 10:28 AM, 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.
>
> I'm also experiencing this on my XP SP3 machines using mintty and bash.
> No problems on Vista or W7, though.
I see this occasionally, too, using XP, mintty and bash. It doesn't
seem to happen every time I reboot. It hasn't been annoying enough,
and I don't reboot often enough, for me to have determined a
pattern.
Regards,
Gary
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem
2012-02-18 18:29 ` Harry G McGavran Jr
2012-02-18 19:41 ` David Rothenberger
@ 2012-02-20 13:13 ` Earnie Boyd
2012-02-20 19:52 ` Harry G McGavran Jr
2012-05-28 18:27 ` Mintty Log Off problem (now 1.7.16s) Harry G McGavran Jr
3 siblings, 0 replies; 11+ messages in thread
From: Earnie Boyd @ 2012-02-20 13:13 UTC (permalink / raw)
To: cygwin
On Sat, Feb 18, 2012 at 1:28 PM, 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.
The common response to you and the others who responded with "me too"
for this issue is to check the latest snapshot and report if it still
occurs.
--
Earnie
-- https://sites.google.com/site/earnieboyd
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem
2012-02-18 18:29 ` Harry G McGavran Jr
2012-02-18 19:41 ` David Rothenberger
2012-02-20 13:13 ` Earnie Boyd
@ 2012-02-20 19:52 ` Harry G McGavran Jr
2012-05-28 18:27 ` Mintty Log Off problem (now 1.7.16s) Harry G McGavran Jr
3 siblings, 0 replies; 11+ messages in thread
From: Harry G McGavran Jr @ 2012-02-20 19:52 UTC (permalink / raw)
To: cygwin
Earnie Boyd wrote:
>The common response to you and the others who responded with "me too"
>for this issue is to check the latest snapshot and report if it still
>occurs.
>
>--
>Earnie
>
I tried the latest snapshot and the problem didn't occur with
it after having tried running mintty and logging out several times.
Not conclusive proof, but it looks like with the snapshot up
today that the problem does not occur.
Harry
--
Harry G. McGavran, Jr.
E-mail: w5pny@w5pny.com
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem (now 1.7.16s)
2012-02-18 18:29 ` Harry G McGavran Jr
` (2 preceding siblings ...)
2012-02-20 19:52 ` Harry G McGavran Jr
@ 2012-05-28 18:27 ` Harry G McGavran Jr
2012-05-29 12:51 ` Harry G McGavran Jr
2012-05-29 13:43 ` Ryan Johnson
3 siblings, 2 replies; 11+ messages in thread
From: Harry G McGavran Jr @ 2012-05-28 18:27 UTC (permalink / raw)
To: cygwin
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.
Harry
--
Harry G. McGavran, Jr.
E-mail: w5pny@w5pny.com
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem (now 1.7.16s)
2012-05-28 18:27 ` Mintty Log Off problem (now 1.7.16s) Harry G McGavran Jr
@ 2012-05-29 12:51 ` Harry G McGavran Jr
2012-05-29 13:43 ` Ryan Johnson
1 sibling, 0 replies; 11+ messages in thread
From: Harry G McGavran Jr @ 2012-05-29 12:51 UTC (permalink / raw)
To: cygwin
On 05/28/12 11:32, Harry G McGavran Jr wrote:
>
>
>
> 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.
>
> Harry
>
It seems this happens at least when I try to log off after I've run a
cygwin X application from mintty, whereas with 1.7.10 it happened
all the time.
Harry
--
Harry G. McGavran, Jr.
E-mail: w5pny@w5pny.com
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem (now 1.7.16s)
2012-05-28 18:27 ` Mintty Log Off problem (now 1.7.16s) Harry G McGavran Jr
2012-05-29 12:51 ` Harry G McGavran Jr
@ 2012-05-29 13:43 ` Ryan Johnson
2012-05-29 18:31 ` Andy Koppe
1 sibling, 1 reply; 11+ messages in thread
From: Ryan Johnson @ 2012-05-29 13:43 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem (now 1.7.16s)
2012-05-29 13:43 ` Ryan Johnson
@ 2012-05-29 18:31 ` Andy Koppe
2012-05-30 0:36 ` Ryan Johnson
0 siblings, 1 reply; 11+ messages in thread
From: Andy Koppe @ 2012-05-29 18:31 UTC (permalink / raw)
To: cygwin
On 29 May 2012 13:57, Ryan Johnson wrote:
> 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...
Mintty closes when it gets an EOF from the underlying pseudo terminal
device. This happens when there are no more processes connected to it.
The Cygwin console behaves similarly, but other terminal emulators do
not: they close once the direct child process exits no matter whether
other processes are still connected.
Backgrounding a process with '&' or nohupping it doesn't break that
connection, but invoking it through the 'setsid' utility from the
util-linux package does.
See also http://code.google.com/p/mintty/issues/detail?id=319.
Andy
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Mintty Log Off problem (now 1.7.16s)
2012-05-29 18:31 ` Andy Koppe
@ 2012-05-30 0:36 ` Ryan Johnson
0 siblings, 0 replies; 11+ messages in thread
From: Ryan Johnson @ 2012-05-30 0:36 UTC (permalink / raw)
To: cygwin
On 29/05/2012 2:27 PM, Andy Koppe wrote:
> On 29 May 2012 13:57, Ryan Johnson wrote:
>> 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...
> Mintty closes when it gets an EOF from the underlying pseudo terminal
> device. This happens when there are no more processes connected to it.
> The Cygwin console behaves similarly, but other terminal emulators do
> not: they close once the direct child process exits no matter whether
> other processes are still connected.
>
> Backgrounding a process with '&' or nohupping it doesn't break that
> connection, but invoking it through the 'setsid' utility from the
> util-linux package does.
That's about what I figured, which is why I'd never worried before.
Although I will say I've sometimes had trouble figuring out what cygwin
process might be keeping the mintty alive...
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
^ permalink raw reply [flat|nested] 11+ messages in thread