GNU bug report logs - #31362
stack overflow in GC when creating large nested object

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Fri, 4 May 2018 07:53:02 UTC

Severity: wishlist

Tags: confirmed

Merged with 2099

Found in version 24.5

Done: Mattias EngdegÄrd <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 31362 <at> debbugs.gnu.org, paul eggert <eggert <at> cs.ucla.edu>,
 stefan monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#31362: 24.5; Crash after eval a form
Date: Fri, 04 May 2018 11:13:39 +0200
On Mai 04 2018, Tino Calancha <tino.calancha <at> gmail.com> 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, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 3 years and 104 days ago.

Previous Next


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