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


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 2099 <at> debbugs.gnu.org, Markus Triska <markus.triska <at> gmx.at>
Subject: bug#2099: 23.0.60; `mark_object' with larger nested objects crashes Emacs
Date: Sun, 11 Sep 2011 23:54:52 +0200
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> I can confirm that the crash is still present in Emacs 24:
>
> [larsi <at> stories ~/src/emacs/trunk]$ gdb  --args ./src/emacs -Q --eval "(let (v) (while t (setq v (cons v v))))"

This creates a deeply nested object that is doomed to overflow the stack
during garbage collecting.  There are many ways to shoot yourself in the
foot.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.