GNU bug report logs - #17561
24.4.50; Emacs can forget processes

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <contact <at> jorgenschaefer.de>

Date: Fri, 23 May 2014 15:54:02 UTC

Severity: normal

Tags: moreinfo

Merged with 17337, 17628

Found in version 24.4.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 17561 <at> debbugs.gnu.org, Jorgen Schaefer <forcer <at> forcix.cx>
Subject: Re: bug#17561: Emacs can forget processes
Date: Thu, 29 May 2014 17:22:49 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

>> 13:28:46 kill(4294962889, SIGKILL)      = 0 <0.002883>
>> 13:28:46 --- SIGIO (I/O possible) @ 0 (0) ---
>> 13:28:46 rt_sigreturn(0x1d)             = 0 <0.000021>
>> 13:28:46 rt_sigprocmask(SIG_SETMASK, [QUIT ALRM CHLD PROF], NULL, 8) = 0 <0.000016>
>> 13:28:46 ioctl(3, FIONREAD, [0])        = 0 <0.000018>
>> 13:28:46 rt_sigprocmask(SIG_BLOCK, [CHLD], [QUIT ALRM CHLD PROF], 8) = 0 <0.000017>
>> 13:28:46 kill(4294962889, SIGHUP)       = 0 <0.000017>
>
> I'm surprised by the above trace.  The first kill(-4407,SIGKILL) succeeds,
> indicating that Emacs still has a subprocess.  But Emacs doesn't get a
> SIGCHLD, even after it unblocks SIGCHLD.

Nothing in that sequence unblocks SIGCHLD.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 10 years and 351 days ago.

Previous Next


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