From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46384: 28.0.50; 100% cpu in line_number_display_width Date: Tue, 09 Feb 2021 09:18:36 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12190"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 46384@debbugs.gnu.org To: rms@gnu.org, Richard Stallman , Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 08:19: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 1l9NIj-000346-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 08:19:09 +0100 Original-Received: from localhost ([::1]:49454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9NIi-0002z4-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 02:19:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9NIc-0002yx-9K for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 02:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9NIc-0000ig-2E for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 02:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9NIb-00089A-Ub for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 02:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 07:19:01 +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.161285513431302 (code B ref 46384); Tue, 09 Feb 2021 07:19:01 +0000 Original-Received: (at 46384) by debbugs.gnu.org; 9 Feb 2021 07:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:52426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9NIU-00088n-8r for submit@debbugs.gnu.org; Tue, 09 Feb 2021 02:18:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9NIS-00088a-LS for 46384@debbugs.gnu.org; Tue, 09 Feb 2021 02:18:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40374) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9NIN-0000dQ-EN; Tue, 09 Feb 2021 02:18:47 -0500 Original-Received: from [2a02:14f:81:fe3d::1] (port=56010) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1l9NIE-00056d-3v; Tue, 09 Feb 2021 02:18:38 -0500 In-Reply-To: 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:199659 Archived-At: On February 9, 2021 8:11:46 AM GMT+02:00, Richard Stallman = wrote: >=20 > The way I debugged infloops in Emacs was to use the GDB return command > on each frame till control got out of that frame=2E Eventually I would > find a frame that never returned to its caller=2E I would then arrange > to stop the program while inside that frame's function and find the > range of code contained in the loop=2E >=20 > Then I would figure out where the code was supposed to exit that loop=2E > After that, it is a matter of debugging why it does not exit=2E That procedure is described in etc/DEBUG=2E However, the main problem in = this case is that GDB is not easily available, so displaying Lisp objects a= nd data structures is tedious at best=2E