mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
SIGILL can raise at stack overflow on Linux too [Bug #18084]
This commit is contained in:
1 file changed
+1
-1
Notes:
git
2026-07-01 02:29:17 +00:00
@@ -971,7 +971,7 @@ static void
|
||||
sigill(int sig SIGINFO_ARG)
|
||||
{
|
||||
check_reserved_signal("ILL");
|
||||
#if defined __APPLE__
|
||||
#if defined __APPLE__ || defined __linux__
|
||||
CHECK_STACK_OVERFLOW();
|
||||
#endif
|
||||
rb_bug_for_fatal_signal(default_sigill_handler, sig, SIGINFO_CTX, "Illegal instruction" MESSAGE_FAULT_ADDRESS);
|
||||
|
||||
Reference in new issue
Block a user