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
1
Thu Nov 19 15:53:21 2015  Alex Gaziev  <alex.gaziev@gmail.com>
2

  
3

  
4
	* signal.c: should also clear ruby_disable_gc.
5

  
6
	  [Bug #11692]
7

  
1 8
Sun Nov  8 23:30:56 2015  Koichi Sasada  <ko1@atdot.net>
2 9
	* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
signal.c
745 745
#if defined SIGSEGV || defined SIGBUS || defined SIGILL || defined SIGFPE
746 746
static const char *received_signal;
747
# define clear_received_signal() (void)(received_signal = 0)
747
# define clear_received_signal() (void)(ruby_disable_gc=0, received_signal = 0)
748 748
#else
749 749
# define clear_received_signal() ((void)0)
750 750
#endif
751
-