Subject: bug#17561: Emacs can forget processes

From: Paul Eggert <[email-masked]>
Date: Tue, 27 May 2014 17:47:41 -0700

Jorgen Schaefer wrote:
> No output.

Ouch.  It sounds like we may be barking up the wrong tree with the 
assumption that there is a kernel bug with vfork, then.  It could be 
that it's just an strace bug.

I'm still suspicious of the interaction between pthread_sigmask and 
vfork, though.  What happens if you do the following shell session, 
where "$" is the shell prompt and "(gdb)" is the GDB prompt?

$ grep -i pthread src/config.h
$ ldd src/bootstrap-emacs | grep -i pthread
$ gdb src/bootstrap-emacs
(gdb) disas rpl_pthread_sigmask
(gdb) disas pthread_sigmask
(gdb) disas rpl_vfork
(gdb) disas vfork
(gdb) disas rpl_fork
(gdb) disas fork