From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17142 invoked by alias); 10 Mar 2014 11:14:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17128 invoked by uid 89); 10 Mar 2014 11:14:21 -0000 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 Received: from smtp204.alice.it (HELO smtp204.alice.it) (82.57.200.100) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Mar 2014 11:14:20 +0000 Received: from [192.168.1.100] (80.183.93.178) by smtp204.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 52E53D4F05BE8FCC for cygwin@cygwin.com; Mon, 10 Mar 2014 12:14:17 +0100 Message-ID: <531D9E82.1050505@alice.it> Date: Mon, 10 Mar 2014 14:34:00 -0000 From: Angelo Graziosi 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@cygwin.com Subject: About "defunct" processes Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00135.txt.bz2 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 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