delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/11/16:26:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41E44477.1060409@acm.org>
Date: Tue, 11 Jan 2005 13:26:15 -0800
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with 20050106 snapshot
References: <16864 DOT 26477 DOT 82750 DOT 561543 AT gargle DOT gargle DOT HOWL> <20050109025337 DOT GG3713 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20050109025337.GG3713@trixie.casa.cgf.cx>
X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [4.65.5.187] at Tue, 11 Jan 2005 15:26:15 -0600
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On 1/8/2005 6:53 PM, Christopher Faylor wrote:
> On Sat, Jan 08, 2005 at 03:06:21PM -0800, David Rothenberger wrote:
> 
>>I'm having a problem with the 20050106 snapshot as well as my own
>>DLL build from CVS HEAD on 20050107. 
>>
>>The problem is with bash killing native processes. I have a bash
>>script that starts a native process in the background, installs a
>>signal handler for SIGINT, grabs the pid from the background
>>process, and then issues wait. The signal handler tries to kill the
>>pid that was captured.
>>
>>With 1.5.12 and a DLL built from CVS on 11/19/2004, this works just
>>fine. With the latest snapshot, I often (but not always) get a "Bad
>>file descriptor" error from kill.
> 
> I tightened up some of the errno setting and will be checking in some
> new code to deal with some problems that Pierre found with windows
> processes, soon.

The latest set of changes in CVS solve this problem for me. At least, I 
don't see the "Bad file descriptor" error anymore.

Thanks!

-- 
David Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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