ruby-changes:47421
From: usa <ko1@a...>
Date: Wed, 9 Aug 2017 17:24:43 +0900 (JST)
Subject: [ruby-changes:47421] usa:r59537 (ruby_2_3): merge revision(s) 59307: [Backport #13284]
usa 2017-08-09 17:24:37 +0900 (Wed, 09 Aug 2017) New Revision: 59537 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59537 Log: merge revision(s) 59307: [Backport #13284] a64: fix crash on register stack mark/sweep pass * thread_pthread.c: move 'register_stack_start' earlier. [ruby-core:79928] [Bug #13284] [Fix GH-1625] Author: Sergei Trofimovich <slyfox@g...> Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/ChangeLog branches/ruby_2_3/thread_pthread.c branches/ruby_2_3/version.h Index: ruby_2_3/thread_pthread.c =================================================================== --- ruby_2_3/thread_pthread.c (revision 59536) +++ ruby_2_3/thread_pthread.c (revision 59537) @@ -738,6 +738,12 @@ ruby_init_stack(volatile VALUE *addr https://github.com/ruby/ruby/blob/trunk/ruby_2_3/thread_pthread.c#L738 ) { native_main_thread.id = pthread_self(); +#ifdef __ia64 + if (!native_main_thread.register_stack_start || + (VALUE*)bsp < native_main_thread.register_stack_start) { + native_main_thread.register_stack_start = (VALUE*)bsp; + } +#endif #if MAINSTACKADDR_AVAILABLE if (native_main_thread.stack_maxsize) return; { @@ -761,12 +767,6 @@ ruby_init_stack(volatile VALUE *addr https://github.com/ruby/ruby/blob/trunk/ruby_2_3/thread_pthread.c#L767 native_main_thread.stack_start = (VALUE *)addr; } #endif -#ifdef __ia64 - if (!native_main_thread.register_stack_start || - (VALUE*)bsp < native_main_thread.register_stack_start) { - native_main_thread.register_stack_start = (VALUE*)bsp; - } -#endif { #if defined(HAVE_GETRLIMIT) #if defined(PTHREAD_STACK_DEFAULT) Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 59536) +++ ruby_2_3/version.h (revision 59537) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.5" #define RUBY_RELEASE_DATE "2017-08-09" -#define RUBY_PATCHLEVEL 347 +#define RUBY_PATCHLEVEL 348 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 8 Index: ruby_2_3/ChangeLog =================================================================== --- ruby_2_3/ChangeLog (revision 59536) +++ ruby_2_3/ChangeLog (revision 59537) @@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1 +Wed Aug 9 17:22:29 2017 TAKANO `takano32' Mitsuhiro <tak@n...> + + a64: fix crash on register stack mark/sweep pass + + * thread_pthread.c: move 'register_stack_start' earlier. + [ruby-core:79928] [Bug #13284] [Fix GH-1625] + + Author: Sergei Trofimovich <slyfox@g...> + Wed Aug 9 17:10:27 2017 Shugo Maeda <shugo@r...> * test/net/smtp/test_smtp.rb (test_tls_connect, test_tls_connect): Index: ruby_2_3 =================================================================== --- ruby_2_3 (revision 59536) +++ ruby_2_3 (revision 59537) Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r59307 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/