delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/18/12:47:06

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Sun, 18 Mar 2001 12:47:13 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: Egor Duda <cygwin-developers AT cygwin DOT com>
Subject: Re: Outstanding issues with current DLL?
Message-ID: <20010318124713.L12880@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: Egor Duda <cygwin-developers AT cygwin DOT com>
References: <20010308125701 DOT A4371 AT redhat DOT com> <3AA7CCBA DOT E84FD16E AT yahoo DOT com> <20010308133552 DOT A878 AT redhat DOT com> <3AA7E05A DOT BF9F2535 AT yahoo DOT com> <20010310184508 DOT A16745 AT redhat DOT com> <3AAFF6E9 DOT DFBF2C8 AT yahoo DOT com> <20010317180414 DOT A22971 AT redhat DOT com> <115297467 DOT 20010318180906 AT logos-m DOT ru> <20010318121519 DOT F12880 AT redhat DOT com> <437795639 DOT 20010318203634 AT logos-m DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <437795639.20010318203634@logos-m.ru>; from deo@logos-m.ru on Sun, Mar 18, 2001 at 08:36:34PM +0300

On Sun, Mar 18, 2001 at 08:36:34PM +0300, Egor Duda wrote:
>Hi!
>
>Sunday, 18 March, 2001 Christopher Faylor cgf AT redhat DOT com wrote:
>
>CF> On Sun, Mar 18, 2001 at 06:09:06PM +0300, Egor Duda wrote:
>>>Sunday, 18 March, 2001 Christopher Faylor cgf AT redhat DOT com wrote:
>>>
>>>CF> On Wed, Mar 14, 2001 at 05:55:37PM -0500, Earnie Boyd wrote:
>>>>>This problem doesn't exist in the 2001-Mar-12 snapshot.  However, I do
>>>>>have an occasional lockup on exit.  The startup of the command window is
>>>>>much faster, I had more that fifty windows open in less than 30 seconds
>>>>>just by clicking on the 
>>>>>Office shortcut icon.
>>>
>>>CF> The only lockup that I saw was when I tried to close the window using
>>>CF> the X in the upper right corner.  When this happens, cygwin seems to
>>>CF> be stuck in a "wait for input from fd 0" loop.
>>>
>>>i   see   it   too.  when  i start bash via rxvt and then type 'ps -l'
>>>bash  it prints that rxvt and bash have different pgid's. so when rxvt
>>>receives WM_CLOSE message and tries to exit, it doesn't send SIGHUP to
>>>bash.  so  bash  doesn't see that signal_arrived, and continue to wait
>>>for input.
>
>CF> Well, bash and ps should have different process groups.
>
>yes. they should. but i wonder whether rxvt and bash should have equal
>process groups or not?

When I try this on linux with xterm, xterm and bash don't have the same
process groups.  I think this makes sense since they are each associated
with a different tty.

>CF>   I'm  surprised  that  rxvt doesn't send something to its running
>CF> processes when it gets a SIGHUP.
>
>CF> Is rxvt ignoring the SIGHUP?  Does anyone know?  I would think that it
>CF> would do *something* on receiving this.
>
>no, it doesn't ignore SIGHUP.  what  it  doesn't do is that it doesn't
>propagate  SIGHUP  to it's children. either when closed via 'X' button
>or via 'kill -HUP <rxvt_pid>'

So, rxvt tries to exit but hangs waiting for bash to go away -- which
it never does?  I would have thought that the closing of the parent
pty would cause bash to disappear.

cgf

- Raw text -


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