GNU bug report logs - #12980
24.3.50; Zombie process left after call-process

Previous Next

Package: emacs;

Reported by: Harald Hanche-Olsen <hanche <at> math.ntnu.no>

Date: Sat, 24 Nov 2012 09:37:02 UTC

Severity: important

Tags: patch

Merged with 14515

Found in versions 24.3, 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Harald Hanche-Olsen <hanche <at> math.ntnu.no>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Zombie process left after call-process
Date: Sat, 24 Nov 2012 10:34:37 +0100 (CET)
If I run

(call-process "/bin/sleep" nil 0 nil "5")

this returns immediately (which is expected), but after 5 seconds, the
subprocess becomes a zombie and hangs around until emacs is quit.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.2.0, NS apple-appkit-1187.34)
 of 2012-11-09 on airy
Bzr revision: 110853 jan.h.d <at> swipnet.se-20121109063651-ewuwszrpta821oha
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure '--with-ns''

I asked about this on the emacs-devel list (see the thread "Zombie
subprocesses" starting 2012-11-23), and others report being able to
reproduce the bug on Cygwin (emacs-24 branch) and GNU/Linux
(x86_64-unknown-linux-gnu, latest emacs-24 and trunk) as well.

From the discussion there, this appears related to bug#8855 somehow.

- Harald




This bug report was last modified 11 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.