unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Two issues with stack overflow protection
@ 2015-07-28 17:23 Eli Zaretskii
  2015-07-29  5:01 ` Paul Eggert
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2015-07-28 17:23 UTC (permalink / raw)
  To: emacs-devel

The implementation of stack_overflow on sysdep.c was recently changed
so as not to use sys/resource.h and getrlimit, but configure.ac still
insists on these two features in order to include the recovery code,
which I think should be fixed.

More importantly, the recovery simply longjmps to command_loop,
whereas similar features like Fthrow and Fsignal do much more in
unwind_to_catch.  Shouldn't stack overflow recovery do that as well?
Otherwise, the specpdl stack, byte_stack_list, lisp_eval_depth
etc. all stay at their values they had at stack overflow time, no?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-29 16:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 17:23 Two issues with stack overflow protection Eli Zaretskii
2015-07-29  5:01 ` Paul Eggert
2015-07-29  6:10   ` Daniel Colascione
2015-07-29  7:06     ` Paul Eggert
2015-07-29 11:27       ` Daniel Colascione
2015-07-29 13:18         ` Paul Eggert
2015-07-29 16:24           ` Eli Zaretskii
2015-07-29 16:48             ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).