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

From: Andreas Schwab <[email-masked]>
Date: Fri, 04 May 2018 11:13:39 +0200

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.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."