From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin Date: Fri, 14 Jun 2013 21:16:44 +0300 Message-ID: <83ppvov9pv.fsf__17163.819311145$1371233839$gmane$org@gnu.org> References: <51B5DA82.4010703@alice.it> <3EC77598-24B8-42DD-8983-5069E64AAB60@swipnet.se> <51B62175.10307@alice.it> <06F80BBC-D7CD-4E6C-97AD-EB8E476E2FC0@swipnet.se> <83sj0olh38.fsf@gnu.org> <51B7717D.6060702@cs.ucla.edu> <51B77A00.2060908@cornell.edu> <83mwqwl903.fsf@gnu.org> <51B78346.3050600@cornell.edu> <2E06A322-530C-4AA2-9282-6D2E48B1D194@swipnet.se> <51B8BEFE.6070309@cs.ucla.edu> <51B8D5ED.1010407@alice.it> <51BA03CA.4080804@cs.ucla.edu> <51BB56CB.7030209@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371233833 28247 80.91.229.3 (14 Jun 2013 18:17:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 18:17:13 +0000 (UTC) Cc: cygwin@cygwin.com, 14569@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 20:17:13 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UnYYf-0001i8-Ej for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 20:17:09 +0200 Original-Received: from localhost ([::1]:42416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnYYe-0003cf-Ug for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 14:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnYYa-0003cO-Qu for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2013 14:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnYYY-0002y3-Dz for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2013 14:17:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnYYY-0002xp-Bj for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2013 14:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UnYYX-0000Jn-Nu for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2013 14:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2013 18:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14569-submit@debbugs.gnu.org id=B14569.13712338021188 (code B ref 14569); Fri, 14 Jun 2013 18:17:01 +0000 Original-Received: (at 14569) by debbugs.gnu.org; 14 Jun 2013 18:16:42 +0000 Original-Received: from localhost ([127.0.0.1]:44520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnYYD-0000J5-9o for submit@debbugs.gnu.org; Fri, 14 Jun 2013 14:16:41 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:57930) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnYYA-0000Il-EO for 14569@debbugs.gnu.org; Fri, 14 Jun 2013 14:16:40 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MOE00200AKFEV00@a-mtaout21.012.net.il> for 14569@debbugs.gnu.org; Fri, 14 Jun 2013 21:16:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOE0026DARJCI40@a-mtaout21.012.net.il>; Fri, 14 Jun 2013 21:16:31 +0300 (IDT) In-reply-to: <51BB56CB.7030209@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75123 Archived-At: > Date: Fri, 14 Jun 2013 10:45:47 -0700 > From: Paul Eggert > Cc: 14569@debbugs.gnu.org > > Cygwin developers, I'm worried about a Cygwin bug where > pthread_kill may not send a signal to the correct thread. > This bug may be causing Emacs to crash. The Cygwin bug is > discussed in this thread: > > http://cygwin.com/ml/cygwin/2012-05/msg00472.html Caveat: I'm not a Cygwin developer, and don't even use Cygwin. > Emacs uses pthread_kill to redirect > SIGCHLD to the main thread; if this is sent to a random > thread instead, that could explain the random crashes. It should be easy to instrument deliver_child_signal so that it prints something when it redirects SIGCHLD, and then the Cygwin users could see if there's such a report immediately before the crash, or at all.