From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34535: 27.0.50; emacs -nw: while-no-input + sit-for + => Quit Date: Mon, 25 Feb 2019 17:33:12 +0200 Message-ID: <83va17narr.fsf@gnu.org> References: <87r2c4ennz.fsf@web.de> <83k1hrrejp.fsf@gnu.org> <87pnrjqgcn.fsf@web.de> <834l8urk3j.fsf@gnu.org> <87va18fioo.fsf@web.de> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72154"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, 34535@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 25 17:24:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyJ3I-000IbH-RR for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2019 17:24:24 +0100 Original-Received: from localhost ([127.0.0.1]:40045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyJ3H-0001aR-H4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2019 11:24:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyIGZ-0002JD-Rj for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 10:34:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyIGZ-0000Ez-3V for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 10:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyIGY-0000Ed-U4 for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 10:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gyIGY-0005Fm-FC for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 10:34: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: Mon, 25 Feb 2019 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34535 X-GNU-PR-Package: emacs Original-Received: via spool by 34535-submit@debbugs.gnu.org id=B34535.155110879420140 (code B ref 34535); Mon, 25 Feb 2019 15:34:02 +0000 Original-Received: (at 34535) by debbugs.gnu.org; 25 Feb 2019 15:33:14 +0000 Original-Received: from localhost ([127.0.0.1]:51659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyIFm-0005Em-CL for submit@debbugs.gnu.org; Mon, 25 Feb 2019 10:33:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyIFk-0005EY-BR for 34535@debbugs.gnu.org; Mon, 25 Feb 2019 10:33:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyIFb-00089e-0U; Mon, 25 Feb 2019 10:33:04 -0500 Original-Received: from [176.228.60.248] (port=3054 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gyIFY-0000iN-Oh; Mon, 25 Feb 2019 10:33:01 -0500 In-reply-to: <87va18fioo.fsf@web.de> (message from Michael Heerdegen on Mon, 25 Feb 2019 08:09:27 +0100) 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: 209.51.188.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:155770 Archived-At: > From: Michael Heerdegen > Cc: monnier@iro.umontreal.ca, 34535@debbugs.gnu.org > Date: Mon, 25 Feb 2019 08:09:27 +0100 > > Eli Zaretskii writes: > > > Thanks for testing. I'll push the change in a few days, if nothing > > pops up to the contrary. > > Dunno if this is related, but I think it started happening at the time I > installed your patch: When I wake up my Laptop from suspend-to-ram, > Emacs uses 100% CPU and it's hard to interrupt it (C-g doesn't > help). The only way to be sure is to back out the patch and see if these problems go away. > I sent a SIGUSR2 and got this backtrace: > > Debugger entered--entering a function: > * command-error-default-function((quit) "" nil) This isn't informative enough, I need a C-level backtrace plus a full Lisp backtrace. Please next time attach a debugger when this happens, source Emacs's src/.gdbinit, and type "thread apply all bt" at GDB prompt. Also, I don't think I understand how you got the above Lisp backtrace: by default SIGUSR2 does nothing. Do you have some handler for it? if so, what does it do? Thanks.