GNU bug report logs - #29463
27.0.50; Backtraces with large strings is very slow

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 27 Nov 2017 02:54:02 UTC

Severity: normal

Tags: fixed

Merged with 18558

Found in versions 24.4.50, 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 29463 <at> debbugs.gnu.org
Subject: Re: bug#29463: 27.0.50; Backtraces with large strings is very slow
Date: Sat, 21 Sep 2019 10:20:41 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I was trying to debug some code that dealt with very large SVG images,
> and getting a backtrace buffer proved impossible -- Emacs would just
> hang.
>
> Here's a trivial test case:
>
> (let ((a (make-string 100000000 ?a)))
>  (debug a))
>
> On my machine, this takes about half a minute to display, but if you
> have deeply nested code that the debugger is trying to display, you'll
> get that additional time per frame, I think, so it can take arbitrarily
> long to render the buffer.

This has been fixed in Emacs 27 by shortening the display of the
strings, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 300 days ago.

Previous Next


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