GNU bug report logs - #48839
28.0.50; Emacs freezes and takes 100% CPU with C-h v l

Previous Next

Package: emacs;

Reported by: Tassilo Horn <thorn <at> fastmail.fm>

Date: Fri, 4 Jun 2021 22:48:02 UTC

Severity: normal

Merged with 48840

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 48839 <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mail <at> daniel-mendler.de, 48839 <at> debbugs.gnu.org
Subject: Re: bug#48839: 28.0.50; Emacs freezes and takes 100% CPU with C-h v l
Date: Sat, 05 Jun 2021 14:07:22 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Sat, 05 Jun 2021 11:39:16 +0300
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> Cc: mail <at> daniel-mendler.de, 48839 <at> debbugs.gnu.org, Tassilo Horn <tsdh <at> gnu.org>
>> I will work on fixing string-width.
>
> Now done, please test.

Yes, works!

--8<---------------cut here---------------start------------->8---
(benchmark 100
           '(let ((print-escape-newlines t)
                  (print-escape-control-characters t)
                  (print-escape-multibyte t))
              (string-width (prin1-to-string load-history))))
;; "Elapsed time: 36.960925s (7.817438s in 100 GCs)"
--8<---------------cut here---------------end--------------->8---

Thanks for the quick fix.  Daniel also added a workaround (which is
probably still sensible even with your fix) to marginalia.

Bye,
Tassilo




This bug report was last modified 4 years and 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.