From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Zombie subprocesses Date: Fri, 23 Nov 2012 17:33:59 -0500 Message-ID: <50AFF9D7.8070801@cornell.edu> References: <20121123.224945.1073064997137716859.hanche@math.ntnu.no> <50AFF76C.1060101@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353710044 19650 80.91.229.3 (23 Nov 2012 22:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:34:04 +0000 (UTC) Cc: Harald Hanche-Olsen , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 23:34:16 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tc1p5-0003tF-0F for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2012 23:34:11 +0100 Original-Received: from localhost ([::1]:35143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1ou-0007Pq-0J for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2012 17:34:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1or-0007Ph-Eb for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:33:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tc1op-0004u2-KX for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:33:57 -0500 Original-Received: from limestone5.mail.cornell.edu ([128.253.83.165]:62368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1op-0004th-0g for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:33:55 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone5.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qANMXqlS027372 for ; Fri, 23 Nov 2012 17:33:52 -0500 (EST) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qANMXxC9005904 for ; Fri, 23 Nov 2012 17:33:59 -0500 (EST) Original-Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id qANMXpir005045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Nov 2012 17:33:52 -0500 (EST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: <50AFF76C.1060101@cs.ucla.edu> X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.11.23.222414 X-Original-Sender: kbrown@cornell.edu - Fri Nov 23 17:33:52 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 128.253.83.165 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155047 Archived-At: On 11/23/2012 5:23 PM, Paul Eggert wrote: > On 11/23/2012 01:49 PM, Harald Hanche-Olsen wrote: >> I recently discovered that emacs has a bunch of zombie subprocesses. >> A bit of experimenting reveals that if I run >> >> (call-process "/bin/sleep" nil 0 nil "5") >> >> then this returns immediately, as expected, but after 5 seconds, the >> subprocess becomes a zombie and never goes away. >> >> Is this the intended behaviour, or a bug? Should I file a bug report? > > It's a bug. Please file a bug report. Sigh, and I just put a change > into emacs-24 that may trigger the same bug. I'll try to look into > it later today, but I don't have easy access to OS X so this may > well require some help. I can reproduce this on Cygwin (on the emacs-24 branch with your latest change), so it's not just an OS X issue. Ken