Subject: Re: bug#31362: 24.5; Crash after eval a form

From: Noam Postavsky <[email-masked]>
Date: Fri, 04 May 2018 05:51:56 -0400

forcemerge 2099 31362
retitle 2099 stack overflow in GC when creating large nested object
quit

Andreas Schwab <[email-masked]> writes:

> On Mai 04 2018, Tino Calancha <[email-masked]> wrote:
>
>> ;; Emacs crash after evaluate the following form:
>> (let* ((lst (list 'x))
>>        (form (cons 'die
>>                    (list 'w '(pop lst)))))
>>   (while lst
>>     (setq form
>>           (cons 'die
>>                 (cons form
>>                       (list '(pop lst))))))
>>   form)
>
> This creates a degenerate list, causing stack overflow during GC.

Right, this is just a more complicated version of #2099.