unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Harald Hanche-Olsen <hanche@math.ntnu.no>, emacs-devel@gnu.org
Subject: Re: Zombie subprocesses
Date: Sat, 24 Nov 2012 16:24:49 +0800	[thread overview]
Message-ID: <871ufj1k8e.fsf@gnu.org> (raw)
In-Reply-To: <50AFF76C.1060101@cs.ucla.edu> (Paul Eggert's message of "Fri, 23 Nov 2012 14:23:40 -0800")

Paul Eggert <eggert@cs.ucla.edu> writes:

>> (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.
>
> 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 GNU/Linux (x86_64-unknown-linux-gnu, latest
emacs-24 and trunk).

ps shows the process as "[sleep] <defunct>", which stays until Emacs
exits.  Emacs 24.2 does not have the same problem.

If you are looking into it now, I can wait till I hear back from you
before making the pretest.



  parent reply	other threads:[~2012-11-24  8:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 21:49 Zombie subprocesses Harald Hanche-Olsen
2012-11-23 22:23 ` Paul Eggert
2012-11-23 22:33   ` Ken Brown
2012-11-24  6:19     ` Eli Zaretskii
2012-11-24  8:24   ` Chong Yidong [this message]
2012-11-24  8:26   ` Paul Eggert
2012-11-24  8:46     ` Eli Zaretskii
2012-11-24  9:45       ` Paul Eggert
2012-11-24 10:10     ` Harald Hanche-Olsen
2012-11-27  2:36       ` Paul Eggert
2012-11-24  5:51 ` James Cloos

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871ufj1k8e.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=hanche@math.ntnu.no \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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