From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: SIGCHLD in vfork child context Date: Sat, 20 May 2017 17:22:09 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <0b475f31-f024-9a09-6f5f-22e42d091bd2@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1495268546 31955 195.159.176.226 (20 May 2017 08:22:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 08:22:26 +0000 (UTC) User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 10:22:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBzeX-0008Ar-PW for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 10:22:21 +0200 Original-Received: from localhost ([::1]:33363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBzed-0003sU-5v for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 04:22:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBzeX-0003sP-Ew for emacs-devel@gnu.org; Sat, 20 May 2017 04:22:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBzeT-0000rt-4q for emacs-devel@gnu.org; Sat, 20 May 2017 04:22:21 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:56384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBzeS-0000qm-R4 for emacs-devel@gnu.org; Sat, 20 May 2017 04:22:17 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 23214F091E for ; Sat, 20 May 2017 17:22:09 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: <0b475f31-f024-9a09-6f5f-22e42d091bd2@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215007 Archived-At: >>>>> On Fri, 19 May 2017 00:18:33 -0700, Paul Eggert said: >> Thanks for the comments. > You're welcome, but in the meantime Andreas convinced me that we > were heading in the wrong direction. Please take a look at the patch > I just emailed (installed in master) and let us know what you think. Emacs no longer hangs with the procedure to reproduce the problem. Thanks. I think resetting the SIGCHLD handler in the vfork child on Darwin is still a good thing to do even with the change you installed, if the SIGCHLD handler call in such a context is unexpected (and does not happen on the other platforms). YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp