[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc.
From: |
Eli Zaretskii |
Subject: |
Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc. |
Date: |
Tue, 22 Dec 2015 18:03:34 +0200 |
> Cc: address@hidden, address@hidden, address@hidden,
> address@hidden
> From: Paul Eggert <address@hidden>
> Date: Mon, 21 Dec 2015 20:48:32 -0800
>
> The only real change we have to make is to have Emacs longjmp not to
> return_to_command_loop (which might skip module frames), but to longjmp
> instead to the most deeply nested entry point from module code into
> Emacs, which we can set up in advance whenever a module calls into the
> Emacs API.
>
> Yes, that looks like something we should do, then, to get stack overflow
> checking working with modules.
If that means letting modules run arbitrary stack unwinding code on
the alternate stack, I'm against that. Doing so will significantly
lower the chances for a successful recovery (which means at least
letting the user safely save their work and exit the session).
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., (continued)
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Daniel Colascione, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Daniel Colascione, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Daniel Colascione, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Philipp Stephani, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc.,
Eli Zaretskii <=
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/22
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Philipp Stephani, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Eli Zaretskii, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Daniel Colascione, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Paul Eggert, 2015/12/23
- Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc., Daniel Colascione, 2015/12/23