mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
eval_error.c: investigate core dump
* eval_error.c (error_handle): show backtrace at SIGSEGV, to investigate core dump in CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bd4fdb714f
commit
0e8574f5bd
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ error_handle(int ex)
|
|||
if (rb_obj_is_kind_of(errinfo, rb_eSystemExit)) {
|
||||
status = sysexit_status(errinfo);
|
||||
}
|
||||
else if (rb_obj_is_instance_of(errinfo, rb_eSignal)) {
|
||||
else if (rb_obj_is_instance_of(errinfo, rb_eSignal) &&
|
||||
rb_iv_get(errinfo, "signo") != INT2FIX(SIGSEGV)) {
|
||||
/* no message when exiting by signal */
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue