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

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Wed, 28 Jan 2009 23:15:02 UTC

Severity: wishlist

Tags: confirmed

Merged with 31362

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 #52 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 31362 <at> debbugs.gnu.org, paul eggert <eggert <at> cs.ucla.edu>,
 stefan monnier <monnier <at> iro.umontreal.ca>,
 Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#31362: 24.5; Crash after eval a form
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 <schwab <at> linux-m68k.org> writes:

> 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.

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




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

Previous Next


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