From 4471bf2356b86683c8490de12d2d199eea461e3a Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 17 Jun 2007 17:46:25 +0000 Subject: * signal.c (sigsegv): clear gc_stress flag on SEGV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- signal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'signal.c') diff --git a/signal.c b/signal.c index af998b40cf..ce57784fe9 100644 --- a/signal.c +++ b/signal.c @@ -529,7 +529,9 @@ sigsegv(int sig) exit(1); } else { + extern int gc_stress; segv_received = 1; + gc_stress = 0; rb_bug("Segmentation fault"); } } -- cgit v1.2.1