From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs Date: Sun, 01 Oct 2017 21:32:22 +0300 Message-ID: <83o9pq3eix.fsf@gnu.org> References: <87efqri8x9.fsf@gmail.com> <874lrjy2rz.fsf@gmail.com> <831smm52v4.fsf@gnu.org> <87d166rb6n.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1506882852 17596 195.159.176.226 (1 Oct 2017 18:34:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Oct 2017 18:34:12 +0000 (UTC) Cc: 28630@debbugs.gnu.org, tom@tromey.com To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 01 20:34:07 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 1dyj41-0003rg-O5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Oct 2017 20:34:05 +0200 Original-Received: from localhost ([::1]:49487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyj49-0001J3-3t for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Oct 2017 14:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyj41-0001In-Jg for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2017 14:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyj3y-0002F5-S2 for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2017 14:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyj3y-0002Ew-PO for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2017 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyj3y-0002fC-Gv for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2017 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Oct 2017 18:34:02 +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.150688279610169 (code B ref 28630); Sun, 01 Oct 2017 18:34:02 +0000 Original-Received: (at 28630) by debbugs.gnu.org; 1 Oct 2017 18:33:16 +0000 Original-Received: from localhost ([127.0.0.1]:43104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyj3E-0002dx-GX for submit@debbugs.gnu.org; Sun, 01 Oct 2017 14:33:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyj3C-0002dh-Dj for 28630@debbugs.gnu.org; Sun, 01 Oct 2017 14:33:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyj33-0001Uc-NC for 28630@debbugs.gnu.org; Sun, 01 Oct 2017 14:33:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyj2X-00018P-RG; Sun, 01 Oct 2017 14:32:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1094 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dyj2V-00072A-2A; Sun, 01 Oct 2017 14:32:33 -0400 In-reply-to: <87d166rb6n.fsf@gmail.com> (message from Alex on Sun, 01 Oct 2017 12:10:40 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:137755 Archived-At: > From: Alex > Cc: 28630@debbugs.gnu.org, tom@tromey.com > Date: Sun, 01 Oct 2017 12:10:40 -0600 > > >> Should this be labelled a blocker for Emacs 26? > > > > Maybe I'm not sure. It doesn't sound like threads are used much, if > > at all, which would make blocking on it silly. > > It's understandable that bug 25214 isn't a blocker for this reason, but > I think crashing is severe enough to be a blocker, especially since it's > somewhat trivial to trigger. If this trigger never happens in real life, why should we block on it? More generally, if no one besides my sorry self is interested in using this feature, let alone fixing its bugs, maybe we should simply remove it from Emacs. > > Is your Emacs built with --enable-checking? Because I get an > > assertion violation in that case, not a crash. > > I just tried building with "./configure --enable-checking" and it still > crashes for me. Strange, that's not what I see. I hope to have some time soon to look into this. I think I understand the root cause: we are longjmp-ing in a thread other than the one which called setjmp.