public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: cygwin@cygwin.com
Subject: About "defunct" processes
Date: Mon, 10 Mar 2014 14:34:00 -0000	[thread overview]
Message-ID: <531D9E82.1050505@alice.it> (raw)

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

             reply	other threads:[~2014-03-10 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 14:34 Angelo Graziosi [this message]
2014-03-11 13:04 ` Kurt Franke
2014-03-11 15:13   ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=531D9E82.1050505@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).