unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ken Brown <kbrown@cornell.edu>
Cc: eggert@cs.ucla.edu, hanche@math.ntnu.no, emacs-devel@gnu.org
Subject: Re: Zombie subprocesses
Date: Sat, 24 Nov 2012 08:19:11 +0200	[thread overview]
Message-ID: <834nkftteo.fsf@gnu.org> (raw)
In-Reply-To: <50AFF9D7.8070801@cornell.edu>

> Date: Fri, 23 Nov 2012 17:33:59 -0500
> From: Ken Brown <kbrown@cornell.edu>
> Cc: Harald Hanche-Olsen <hanche@math.ntnu.no>, emacs-devel@gnu.org
> 
> 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.

Doesn't happen in the native MS-Windows build, FWIW.  I tried on the
emacs-24 branch after Paul back-ported the sub-process related changes
from trunk.




  reply	other threads:[~2012-11-24  6:19 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 [this message]
2012-11-24  8:24   ` Chong Yidong
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=834nkftteo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=hanche@math.ntnu.no \
    --cc=kbrown@cornell.edu \
    /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).