Actions
Bug #19411
closedGC issue with moved objects
Description
This crashes:
class Obj
def initialize
@obj = 3
end
end
GC.stress = true
r = Ractor.new do
obj = receive
p obj
end
obj = Obj.new
r.send(obj, move: true)
r.take
It only crashes with nested objects, if you remove the ivar set in initialize
it works fine. Maybe missing RB_GC_GUARD
?
Actions
Like0
Like0Like0Like0