ruby-changes:67183
From: Nobuyoshi <ko1@a...>
Date: Wed, 18 Aug 2021 18:18:49 +0900 (JST)
Subject: [ruby-changes:67183] 95e7aed82b (master): SIGILL can raise at stack overflow on Linux too [Bug #18084]
https://git.ruby-lang.org/ruby.git/commit/?id=95e7aed82b From 95e7aed82bb2b6ce5268a78d38d51cb6db7f044d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 18 Aug 2021 14:11:34 +0900 Subject: SIGILL can raise at stack overflow on Linux too [Bug #18084] --- signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signal.c b/signal.c index dd05e82..764031e 100644 --- a/signal.c +++ b/signal.c @@ -971,7 +971,7 @@ static void https://github.com/ruby/ruby/blob/trunk/signal.c#L971 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); -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/