[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27571: Crashing when printing a lisp object.
From: |
Lars Ingebrigtsen |
Subject: |
bug#27571: Crashing when printing a lisp object. |
Date: |
Mon, 24 Aug 2020 16:11:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
npostavs@users.sourceforge.net writes:
> Keith David Bershatsky <esq@lawlist.com> writes:
>
>> I will work on trying to come up with a way to create the 6652-count
>> example that doesn't involve using the custom version of undo-tree to
>> go from a count of 6651 to a count of 6652.
>
> This seems to do the job for me:
>
> (require 'cl-lib)
>
> (defun make-deep-object (depth)
> (let ((obj 1))
> (while (> (cl-decf depth) 0)
> (setq obj (vector (list obj))))
> obj))
>
> (setq print-circle t)
>
> (prin1-to-string (make-deep-object 4964))
I'm unable to reproduce this in Emacs 28 (on Debian or Macos). I have
to increase the limit to make it bug out, but then I just get:
Re-entering top level after C stack overflow
So it looks like this has been fixed in a more general way now? Are you
still able to reproduce the error in Emacs 28?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#27571: Crashing when printing a lisp object.,
Lars Ingebrigtsen <=