From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#46384: 28.0.50; 100% cpu in line_number_display_width Date: Tue, 09 Feb 2021 01:11:46 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9709"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46384@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 07:12:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9MFu-0002R2-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 07:12:10 +0100 Original-Received: from localhost ([::1]:56182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9MFs-0008AZ-Q5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 01:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9MFm-0008AC-Ju for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 01:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9MFm-00065I-Cp for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 01:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9MFm-0006Vh-8m for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 01:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 06:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46384 X-GNU-PR-Package: emacs Original-Received: via spool by 46384-submit@debbugs.gnu.org id=B46384.161285111525013 (code B ref 46384); Tue, 09 Feb 2021 06:12:02 +0000 Original-Received: (at 46384) by debbugs.gnu.org; 9 Feb 2021 06:11:55 +0000 Original-Received: from localhost ([127.0.0.1]:52408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9MFe-0006VN-LP for submit@debbugs.gnu.org; Tue, 09 Feb 2021 01:11:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9MFc-0006VA-TT for 46384@debbugs.gnu.org; Tue, 09 Feb 2021 01:11:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39662) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9MFX-0005z3-Ko; Tue, 09 Feb 2021 01:11:47 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1l9MFW-0000jF-Du; Tue, 09 Feb 2021 01:11:46 -0500 In-Reply-To: (message from Aaron Jensen on Mon, 08 Feb 2021 09:35:36 -0600) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199656 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] The way I debugged infloops in Emacs was to use the GDB return command on each frame till control got out of that frame. Eventually I would find a frame that never returned to its caller. I would then arrange to stop the program while inside that frame's function and find the range of code contained in the loop. Then I would figure out where the code was supposed to exit that loop. After that, it is a matter of debugging why it does not exit. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)