* 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:
parent
564fb6a795
commit
2acd61551b
@ -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>
|
Sun Jul 10 15:30:00 2011 Kenta Murata <mrkn@mrkn.jp>
|
||||||
|
|
||||||
* load.c (rb_f_autoload): prevent to autoload for singleton
|
* load.c (rb_f_autoload): prevent to autoload for singleton
|
||||||
|
2
signal.c
2
signal.c
@ -607,7 +607,7 @@ sigsegv(int sig SIGINFO_ARG)
|
|||||||
#endif
|
#endif
|
||||||
if (segv_received) {
|
if (segv_received) {
|
||||||
fprintf(stderr, "SEGV received in SEGV handler\n");
|
fprintf(stderr, "SEGV received in SEGV handler\n");
|
||||||
exit(EXIT_FAILURE);
|
abort();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
extern int ruby_disable_gc_stress;
|
extern int ruby_disable_gc_stress;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user