ruby-changes:61443
From: Koichi <ko1@a...>
Date: Mon, 1 Jun 2020 10:15:24 +0900 (JST)
Subject: [ruby-changes:61443] 3591703b31 (master): send SEGV to show backtrace.
https://git.ruby-lang.org/ruby.git/commit/?id=3591703b31 From 3591703b31658f8e97eb0677e2261e6e7551307b Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 1 Jun 2020 10:13:28 +0900 Subject: send SEGV to show backtrace. send SEGV to terminate the remaining process before sending ABRT and KILL to show the backtrace. diff --git a/tool/lib/envutil.rb b/tool/lib/envutil.rb index 0dd86df..c6692d90 100644 --- a/tool/lib/envutil.rb +++ b/tool/lib/envutil.rb @@ -79,7 +79,7 @@ module EnvUtil https://github.com/ruby/ruby/blob/trunk/tool/lib/envutil.rb#L79 DEFAULT_SIGNALS[sig.to_s] or DEFAULT_SIGNALS[Signal.signame(sig)] rescue false end - signals |= [:ABRT, :KILL] + signals |= [:SEGV, :ABRT, :KILL] case pgroup when 0, true pgroup = -pid -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/