Subject: bug#2099: 23.0.60; `mark_object' with larger nested objects crashes Emacs

From: Andreas Schwab <[email-masked]>
Date: Sun, 11 Sep 2011 23:54:52 +0200

Lars Magne Ingebrigtsen <[email-masked]> writes:

> I can confirm that the crash is still present in Emacs 24:
>
> [larsi@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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."