delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Mon, 5 Jun 2000 16:50:25 -0400 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: <defunct> processes under Win9x... |
Message-ID: | <20000605165025.A1762@cygnus.com> |
Reply-To: | cygwin AT sourceware DOT cygnus DOT com |
Mail-Followup-To: | cygwin AT sourceware DOT cygnus DOT com |
References: | <20000605202655 DOT 24563 DOT qmail AT web208 DOT mail DOT yahoo DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2i |
In-Reply-To: | <20000605202655.24563.qmail@web208.mail.yahoo.com>; from kcoleman@yahoo.com on Mon, Jun 05, 2000 at 01:26:55PM -0700 |
On Mon, Jun 05, 2000 at 01:26:55PM -0700, Ken Coleman wrote: >I understand that this is difficult to debug from an strace log. I was >just hoping that the new information would spark some "a-ha!" in you >that would make the fix easy :). I'll be working on it more tonight, >but for now I have a little more information. > >I'm attempting to attach to the process, and all I get is "Can't attach >to process.". I've attempted to run "gdb filename process-id", and >done it within GDB with the appropriate commands. > >One other minor piece of the puzzle - Cygwin refuses to kill the ><defunct> process ID. When I attempt this, it says: > > PID TTY STIME COMMAND > 1000 -1 13:22:30 >/USR/LOCAL/RXVT-2.7.2-W32C/RXVT.EXE > 1001 0 13:22:31 /usr/bin/BASH.EXE > 1011 0 13:22:58 /USR/LOCAL/APACHE/BIN/HTTPD.EXE > 1013 0 13:23:04 <defunct> > 1014 0 13:23:06 /usr/bin/PS.EXE >/usr/local/apache/bin $ kill -9 1013 >bash: kill: (1013) - No such pid >/usr/local/apache/bin $ > >I have also tried attaching to other processes, and it gives me the >same error. > >Any thoughts? You need to provide the Windows PID not the cygwin pid. There isno guarantee, btw that the <defunct> process actually exists. It actually shouldn't exist. A defunct process is a process which has a parent that exists that has not yet performed a "wait" on the child. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |