ruby-changes:63058
From: Koichi <ko1@a...>
Date: Thu, 24 Sep 2020 17:10:12 +0900 (JST)
Subject: [ruby-changes:63058] 29ed16ff4a (master): add GC_GUARD
https://git.ruby-lang.org/ruby.git/commit/?id=29ed16ff4a From 29ed16ff4ad5a0d3057d2f24c44ff488584df251 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Thu, 24 Sep 2020 17:07:27 +0900 Subject: add GC_GUARD We observed mark miss on this point so we add RB_GC_GUARD() to avoid wrong free. diff --git a/ractor.c b/ractor.c index 5562299..3c87802 100644 --- a/ractor.c +++ b/ractor.c @@ -460,6 +460,7 @@ ractor_basket_accept(struct rb_ractor_basket *b) https://github.com/ruby/ruby/blob/trunk/ractor.c#L460 break; case basket_type_copy_marshal: v = rb_marshal_load(b->v); + RB_GC_GUARD(b->v); break; case basket_type_exception: { -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/