From 3591703b31658f8e97eb0677e2261e6e7551307b Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Mon, 1 Jun 2020 10:13:28 +0900 Subject: [PATCH] send SEGV to show backtrace. send SEGV to terminate the remaining process before sending ABRT and KILL to show the backtrace. --- tool/lib/envutil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/lib/envutil.rb b/tool/lib/envutil.rb index 0dd86dff5c..c6692d9089 100644 --- a/tool/lib/envutil.rb +++ b/tool/lib/envutil.rb @@ -79,7 +79,7 @@ module EnvUtil 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