From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Zombie subprocesses Date: Fri, 23 Nov 2012 14:23:40 -0800 Organization: UCLA Computer Science Department Message-ID: <50AFF76C.1060101@cs.ucla.edu> References: <20121123.224945.1073064997137716859.hanche@math.ntnu.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353709424 15282 80.91.229.3 (23 Nov 2012 22:23:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:23:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 23:23:56 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 1Tc1f7-0005U6-S4 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2012 23:23:53 +0100 Original-Received: from localhost ([::1]:33910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1ex-0005FC-4l for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2012 17:23:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1ev-0005F5-6D for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:23:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tc1eu-0001BS-4r for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:23:41 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:59496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc1et-0001BO-VR for emacs-devel@gnu.org; Fri, 23 Nov 2012 17:23:40 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 91B91A60008; Fri, 23 Nov 2012 14:23:39 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wtGQLiKm7KpI; Fri, 23 Nov 2012 14:23:39 -0800 (PST) Original-Received: from [192.168.1.3] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 18AFEA60005; Fri, 23 Nov 2012 14:23:39 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <20121123.224945.1073064997137716859.hanche@math.ntnu.no> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 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:155046 Archived-At: 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.