Project

General

Profile

Bug #11692 » re-enable-GC-if-stack-overflow-was-caught-from.patch

Patch for ruby 2.2.4 - gazay (Alex Gaziev), 12/18/2015 10:08 AM

View differences:

ChangeLog
Thu Nov 19 15:53:21 2015 Alex Gaziev <alex.gaziev@gmail.com>
* signal.c: should also clear ruby_disable_gc.
[Bug #11692]
Sun Nov 8 23:30:56 2015 Koichi Sasada <ko1@atdot.net>
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
signal.c
#if defined SIGSEGV || defined SIGBUS || defined SIGILL || defined SIGFPE
static const char *received_signal;
# define clear_received_signal() (void)(received_signal = 0)
# define clear_received_signal() (void)(ruby_disable_gc=0, received_signal = 0)
#else
# define clear_received_signal() ((void)0)
#endif
(6-6/6)