1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* signal.c (sigsegv): use abort() instead of exit() when nested

SEGV was happen. Because unnested SEGV use abort().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-07-10 07:12:02 +00:00
parent 564fb6a795
commit 2acd61551b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Jul 10 16:06:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* signal.c (sigsegv): use abort() instead of exit() when nested
SEGV was happen. Because unnested SEGV use abort().
Sun Jul 10 15:30:00 2011 Kenta Murata <mrkn@mrkn.jp>
* load.c (rb_f_autoload): prevent to autoload for singleton

View file

@ -607,7 +607,7 @@ sigsegv(int sig SIGINFO_ARG)
#endif
if (segv_received) {
fprintf(stderr, "SEGV received in SEGV handler\n");
exit(EXIT_FAILURE);
abort();
}
else {
extern int ruby_disable_gc_stress;