GNU bug report logs -
#2099
stack overflow in GC when creating large nested object
Previous Next
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 #10 received at 2099 <at> debbugs.gnu.org (full text, mbox):
Markus Triska <markus.triska <at> gmx.at> writes:
> When you do:
>
> $ emacs -Q --eval "(let (v) (while t (setq v (cons v v))))"
>
> then Emacs crashes with:
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0xbf7ffffc
> 0x0013bc1a in mark_object (arg=40166541) at alloc.c:5372
> (gdb) bt
> #0 0x0013bc1a in mark_object (arg=40166541) at alloc.c:5372
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))))"
[...]
(gdb) run
Starting program: /home/larsi/src/emacs/trunk/src/emacs -Q --eval \(let\ \(v\)\ \(while\ t\ \(setq\ v\ \(cons\ v\ v\)\)\)\)
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
mark_object (arg=21115190) at alloc.c:5396
5396 {
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
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.