[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid C stack overflow
From: |
Stefan |
Subject: |
Re: Avoid C stack overflow |
Date: |
Fri, 14 Mar 2014 12:45:33 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Emacs already has a stack-overflow prevention mechanism, right?
Yes.
> And we're talking about what to do when the user deliberately disables
> it? So the simplest answer is "don't do that".
Actually, when we bump into something like max-lisp-eval-depth, we
could look at the actual C stack size to compute the average "C stack
usage per Lisp eval depth" and from that compute a approximate upper
bound on the maximum safe value of max-lisp-eval-depth.
Stefan
- Avoid C stack overflow, Dmitry Antipov, 2014/03/13
- Re: Avoid C stack overflow, Eli Zaretskii, 2014/03/13
- Re: Avoid C stack overflow, Paul Eggert, 2014/03/13
- Re: Avoid C stack overflow, Eli Zaretskii, 2014/03/13
- Re: Avoid C stack overflow, Dmitry Antipov, 2014/03/14
- Re: Avoid C stack overflow, Paul Eggert, 2014/03/14
- Re: Avoid C stack overflow, Dmitry Antipov, 2014/03/14
- Re: Avoid C stack overflow, Stefan Monnier, 2014/03/14
- Re: Avoid C stack overflow, Paul Eggert, 2014/03/14
- Re: Avoid C stack overflow,
Stefan <=
- Re: Avoid C stack overflow, Stephen J. Turnbull, 2014/03/14