diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-18 14:11:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-18 17:23:27 +0900 |
commit | 95e7aed82bb2b6ce5268a78d38d51cb6db7f044d (patch) | |
tree | 62f623f423509638853cf794bda67f90410a2b6a /signal.c | |
parent | 574f3af36ea008896419d2e2407f8fce83bdcd2e (diff) |
SIGILL can raise at stack overflow on Linux too [Bug #18084]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4751
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |