delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/10/07:14:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=KcE
/cRj8xq1dvB/buBnJH3rNmoleNpWGogmcQIlPf2Q+G6l3TjgbUyMT+WUPRnJKx4Q
QJJehbgARWZvnHhcAr0CeuM403YNJJVRaDUrnSeOyCXqQyKcgOvbYZihf2vir/Rw
br57Jx0Dezey0qwgnx+P34GdxZ6Qea5Ku3GHF+Iw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=lto1PC2Vq
G/KKkxwXblBbboQ1DQ=; b=kiOGx7RoyGoh2RaPVesvi1eNUZdoetIMmMa/eH0/8
9VLhGnSpp87UelAXOoWjsvoAde4aEqtERK7O0Pd32+9ag2IVr5FWrJ/pIKDXCk4Z
qIXK3qorSfXlj43Hm8sSeMk4aB/Z6h2+DA17P4UBE1jI1vRHKjRwBzwFRDxs4iS7
oo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtp204.alice.it
Message-ID: <531D9E82.1050505@alice.it>
Date: Mon, 10 Mar 2014 12:14:10 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: About "defunct" processes

Perhaps this has been flagged or probably it is matter I don't 
understand, but I am seeing some "defunct" process with ps command.

The following occurs on Cygwin64 (I don't have Cygwin32 any more).

Suppose I start mintty with the link created by its installation. 
Suppose I create another mintty window with ALT-F2 from the first. ps shows:

$ ps
       PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
      2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
      3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
      1904    2648    2648       1760  ?       1001 12:01:41 /usr/bin/mintty
I    1604    1904    1604        768  pty1    1001 12:01:41 /usr/bin/bash
      3776    3724    3776       2016  pty0    1001 12:02:03 /usr/bin/ps


ant its seems OK.

Suppose, now, I close the second mintty window (clicking the window "x" 
button). ps shows:

$ ps
       PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
      2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
      3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
      3176    3724    3176       3832  pty0    1001 12:02:14 /usr/bin/ps
      1904    2648    2648       1760  ?       1001 12:01:41 
/usr/bin/mintty <defunct>


Why that "defunct" process? I don't remember having seen that before on 
my old Cygwin32 installation.


Ciao,
Angelo.

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