From b8b9d69f27c94f39ab38fa6248d2618983cce26e Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 7 Jun 2010 10:36:51 +0300 Subject: [PATCH] don't handle every segfault system-wide. --- ext/v8/v8_exception.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/v8/v8_exception.cpp b/ext/v8/v8_exception.cpp index 2e7bf37..098b7e6 100644 --- a/ext/v8/v8_exception.cpp +++ b/ext/v8/v8_exception.cpp @@ -51,5 +51,6 @@ void rr_init_v8_exception() { rr_define_singleton_method(ExceptionClass, "Error", Error, 1); v8::V8::SetFatalErrorHandler(fatal); - signal(SIGSEGV, segfault); + //comment this in for debugging. + // signal(SIGSEGV, segfault); } \ No newline at end of file