|
From: | Paul Eggert |
Subject: | Re: Add FIXME comment re stack overflow and modules |
Date: | Mon, 21 Dec 2015 09:40:26 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Eli Zaretskii wrote:
By "does not work" here, did you mean that using MODULE_FUNCTION_BEGIN will fail to catch the jump out of the SIGSEGV handler?
I did not analyze emacs-module.h and emacs-module.c carefully enough to find the exact problem areas. Now that you mention it, I imagine the problem you mention can occur, but I expect that there are other problems as well. For example, the module code contains comments like "It is very important that pushing the handler doesn't itself raise a signal" that suggest that the corresponding code is incompatible with stack overflow checking.
[Prev in Thread] | Current Thread | [Next in Thread] |