delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/02/17:32:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+e24+Y3/jDla0t1NUFc/Wk
Date: Sat, 2 Jun 2012 17:32:14 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Mintty Log Off problem (now 1.7.16s)
Message-ID: <20120602213214.GA13541@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4FCA82EE DOT 1060701 AT w5pny DOT com>
MIME-Version: 1.0
In-Reply-To: <4FCA82EE.1060701@w5pny.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sat, Jun 02, 2012 at 03:17:34PM -0600, Harry G McGavran Jr wrote:
>>>I thought you had requested in which 1.7.10s snapshot it broke.
>>>So the earliest snapshot I could find for 1.7.10s does have the problem.
>>>It works in 1.7.9.
>>>
>>>As I mentioned earlier in cygwin-inst-20120415.tar.bz2, a 1.7.11s
>>
>>That should be cygwin-inst-20120220.tar.bz2.
>>
>>>snapshot it's fixed. That's the snapshot that was current when
>>>it was suggested I try the latest snapshot.
>>>
>>>So, you must be wanting me to check the 1.7.11s snapshots to see
>>>if it's fixed in an earlier 1.7.11s snapshot.
>>>
>>>I'll have to check that out next week when I should have more time.
>>>
>>>   Harry
>>>
>
>I had a little bit of time this afternoon to start on the snapshots
>prior to 20120220.  I had enough time to try several of these instead
>of the first 1.7.10s snapshot I reported on.  Since it is necessary
>to stop any and all cygwin processes before switching the cygwin1.dll's
>each time I try a snapsnot, I ended up going through several iterations
>where I remembered to stop everything started by cygrunsrv at startup,
>but forgot on occasion to stop gpg-agent.  Interestingly, the problem
>occurs when I have not stopped gpg-agent.  It turns out that I built
>gpg2 on cygwin with the resulting gpg-agent at the same time I had
>upgraded to 1.7.15.  So this problem with 1.7.15 and later is because
>exiting mintty does not stop the gpg-agent that is somehow associated
>with it and according to an earlier post in this thread, unless
>a process associated with mintty is started with setsid, if it
>is still running you could have a problem like this.

That is because a subprocess which still has an an open pty associated
with it maintains a connection to the originator of the pty.  setsid
breaks that connection.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019