delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/16/10:14:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3D5D0899.80007@st.com>
Date: Fri, 16 Aug 2002 16:13:45 +0200
From: Pavel Holejsovsky <pavel DOT holejsovsky AT st DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Cc: joseph DOT buehler AT spirentcom DOT com
Subject: Re: GNU emacs 21.2-5 packages available
References: <3D5D01AB DOT 7070206 AT hekimian DOT com>

> There is a minor problem with the X11 version recognizing when
> subprocesses have terminated, which I will investigate eventually.

This problem is quite annoying. I already tried to investigate, and it 
seems to me that occasionally SIGCHLD signal is NOT delivered to emacs 
when the child process terminates. I tried to continue a little bit, but 
got lost very quickly in cygwin's signal implementation (hey, that's 
*really* complicated code). I tried strace and the only thing which 
caught my eyes were these lines:

    33 40372399 [sig] emacs 16900 wait_sig: processing signal 20
   389 40372788 [sig] emacs 16900 wait_sig: Got signal 20
    48 40372836 [sig] emacs 16900 sig_handle: signal 20
    32 40372868 [sig] emacs 16900 sig_handle: signal 20, about to call 
0x201405D0
  3900 40376768 [sig] emacs 16900 setup_handler: couldn't send signal 20
   115 40376883 [sig] emacs 16900 setup_handler: good.  Didn't suspend 
main thread, th 0x0
    35 40376918 [sig] emacs 16900 setup_handler: returning 0
    31 40376949 [sig] emacs 16900 sig_handle: returning 0

Does anyone have an idea what could be wrong?

thanks
Pavel


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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