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#20471: Emacs ceased to respond to C-g on a tty; SIGINT became blocked? Date: Mon, 04 May 2015 19:09:39 +0300 Message-ID: <83zj5ks4sc.fsf@gnu.org> References: <87bni5pra9.fsf@violet.siamics.net> <87h9rxhaii.fsf@igel.home> <87fv7cmj5n.fsf@violet.siamics.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1430755889 22738 80.91.229.3 (4 May 2015 16:11:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 16:11:29 +0000 (UTC) Cc: 20471@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 04 18:11:19 2015 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 1YpIxd-0006Vc-Ua for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2015 18:11:14 +0200 Original-Received: from localhost ([::1]:35068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpIxd-0006mN-9R for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2015 12:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpIxX-0006j0-IC for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 12:11:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpIxT-0008Kq-H5 for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 12:11:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpIxT-0008Kl-Ek for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 12:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YpIxS-00064F-R3 for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 12:11:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 May 2015 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20471-submit@debbugs.gnu.org id=B20471.143075584923302 (code B ref 20471); Mon, 04 May 2015 16:11:02 +0000 Original-Received: (at 20471) by debbugs.gnu.org; 4 May 2015 16:10:49 +0000 Original-Received: from localhost ([127.0.0.1]:33914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIxE-00063k-7X for submit@debbugs.gnu.org; Mon, 04 May 2015 12:10:48 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:51000) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIxB-00063Q-6T for 20471@debbugs.gnu.org; Mon, 04 May 2015 12:10:46 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NNU00L0021LGC00@a-mtaout22.012.net.il> for 20471@debbugs.gnu.org; Mon, 04 May 2015 19:09:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNU00LKF2803VA0@a-mtaout22.012.net.il>; Mon, 04 May 2015 19:09:36 +0300 (IDT) In-reply-to: <87fv7cmj5n.fsf@violet.siamics.net> 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:102453 Archived-At: > From: Ivan Shmakov > Date: Mon, 04 May 2015 15:55:48 +0000 > > >>>>> Andreas Schwab writes: > >>>>> Ivan Shmakov writes: > > >> Attaching GDB to it shows no signals being delivered on C-g, which > >> (AIUI) hints at either SIGINT being blocked /or/ C-g “unbound” from > >> the signal via terminal settings. I’ve copied the latter from a > >> terminal used by a properly working Emacs instance with the stty(1) > >> invocation below, yet I still see no signals via GDB, which leaves > >> the signal mask as the only point of failure that I can think of. > > >> Any suggestion on how do I debug this issue any further? > > > A blocked signal would still be visible in the debugger > > It’s not what I observe. Why, SIGINT seem to be ignored by GDB > itself when it’s attached to that Emacs instance. > > > (assuming you haven't changed the handling of SIGINT in gdb). Is this on a TTY frame? If not, then C-g doesn't trigger a SIGINT in Emacs.