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#30182: Update Date: Fri, 02 Feb 2018 18:11:17 +0200 Message-ID: <83zi4rbcd6.fsf@gnu.org> References: <87k1wdqc4q.fsf@gmail.com> <87efmj27d5.fsf@gmail.com> <83vafvqjbf.fsf@gnu.org> <87inbvxdz8.fsf@gmail.com> <5A65AB97.1030401@gmx.at> <87po62kk10.fsf@gmail.com> <831sih23rh.fsf@gnu.org> <5A663490.3050409@gmx.at> <87r2qh5lya.fsf@gmail.com> <5A6C37A7.2020309@gmx.at> <87r2qag5wp.fsf@gmail.com> <5A6D8947.5010207@gmx.at> <87d11t9ria.fsf@gmail.com> <5A6EF1A2.30904@gmx.at> <83lgggirzp.fsf@gnu.org> <5A702D36.6040302@gmx.at> <83po5rh3pu.fsf@gnu.org> <5A718CFA.2080408@gmx.at> <878tcdtpbk.fsf@gmail.com> <5A72DD44.3060104@gmx.at> <83lggceh9m.fsf@gnu.org> <87372jh41f.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1517593634 30388 195.159.176.226 (2 Feb 2018 17:47:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 17:47:14 +0000 (UTC) Cc: m.sujith@gmail.com, 30182@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 02 18:47:10 2018 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 1ehfQV-0007HH-9v for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 18:47:03 +0100 Original-Received: from localhost ([::1]:43026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfSW-0003x4-AI for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Feb 2018 12:49:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehe1G-0006kb-PR for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 11:18:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehdxW-000586-R9 for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 11:16:54 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehdxW-00057m-IP for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 11:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehdxW-0000vJ-Ae for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2018 11:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2018 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30182-submit@debbugs.gnu.org id=B30182.15175879683529 (code B ref 30182); Fri, 02 Feb 2018 16:13:02 +0000 Original-Received: (at 30182) by debbugs.gnu.org; 2 Feb 2018 16:12:48 +0000 Original-Received: from localhost ([127.0.0.1]:54250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehdxH-0000ur-Ql for submit@debbugs.gnu.org; Fri, 02 Feb 2018 11:12:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehdxF-0000uc-MG for 30182@debbugs.gnu.org; Fri, 02 Feb 2018 11:12:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehdw6-0003e4-GE for 30182@debbugs.gnu.org; Fri, 02 Feb 2018 11:12:40 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehdw6-0003dd-97; Fri, 02 Feb 2018 11:11:34 -0500 Original-Received: from [176.228.60.248] (port=3989 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ehdw5-0006ss-M3; Fri, 02 Feb 2018 11:11:34 -0500 In-reply-to: <87372jh41f.fsf@users.sourceforge.net> (message from Noam Postavsky on Fri, 02 Feb 2018 09:14:36 -0500) 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:142805 Archived-At: > From: Noam Postavsky > Cc: martin rudalics , m.sujith@gmail.com, 30182@debbugs.gnu.org > Date: Fri, 02 Feb 2018 09:14:36 -0500 > > > I'd love to see a C-level backtrace from that situation, because I'm > > not really sure what exactly happens and how. > > This is reproducible from > > emacs -Q -L .../w3m -l w3m -f w3m > > where .../w3m is a checkout of https://github.com/ecbrown/emacs-w3m. > Backtrace attached. Martin's patch of #143 applied and breakpoint > set with: > > break Fsignal if (((intptr_t)Qerror) == ((intptr_t)error_symbol)) > > (the breakpoint needs to be set only after w3m has started up though) Thanks. So Flength processes pending signals, and that causes it to call note_mode_line_or_margin_highlight, which calls Lisp, which adds a timer to the list. This is less serious than what I was afraid of, and I see now that note_mode_line_or_margin_highlight CANNOT be called from the SIGIO handler. So I guess just using block_input/unblock_input around Fcopy_sequence call, as I proposed earlier, should plug this hole. Thanks a lot for making the situation obvious.