From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs Date: Mon, 02 Oct 2017 21:43:52 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87efqri8x9.fsf@gmail.com> <874lrjy2rz.fsf@gmail.com> <831smm52v4.fsf@gnu.org> <87d166rb6n.fsf@gmail.com> <83o9pq3eix.fsf@gnu.org> 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 1506948259 21948 195.159.176.226 (2 Oct 2017 12:44:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 12:44:19 +0000 (UTC) User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Cc: 28630@debbugs.gnu.org, tom@tromey.com, Alex To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 02 14:44:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dz04x-0004sL-Rc for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 14:44:11 +0200 Original-Received: from localhost ([::1]:52115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz053-0002wm-NQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 08:44:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz04u-0002vx-96 for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 08:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz04o-0001Gq-HM for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 08:44:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dz04o-0001GZ-E1 for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dz04n-0004Zi-UW for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 08:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Oct 2017 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28630-submit@debbugs.gnu.org id=B28630.150694823917570 (code B ref 28630); Mon, 02 Oct 2017 12:44:01 +0000 Original-Received: (at 28630) by debbugs.gnu.org; 2 Oct 2017 12:43:59 +0000 Original-Received: from localhost ([127.0.0.1]:43516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz04l-0004ZK-B5 for submit@debbugs.gnu.org; Mon, 02 Oct 2017 08:43:59 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:55194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz04i-0004ZA-QQ for 28630@debbugs.gnu.org; Mon, 02 Oct 2017 08:43:57 -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 EA3A0F08E5; Mon, 2 Oct 2017 21:43:52 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:137774 Archived-At: >>>>> On Mon, 02 Oct 2017 13:30:44 +0900, YAMAMOTO Mitsuharu said: > The secondary thread seems to be still blocking in a pselect call > when crash occurs. Maybe SIGIO (and SIGALRM) should be unmasked in > the secondary thread that calls pselect for keyboard input, and the > main thread should forward the delivery of these signals to the > secondary (or mask them) so that the pselect call in the secondary > thread can be interrupted. Sorry. The stacks seem to be already clobbered by (bad) longjmp. So the above analysis would be bogus. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp