Project

General

Profile

« Previous | Next » 

Revision 966fcb77

Added by Luke Gruber about 1 month ago

lock vm around rb_free_generic_ivar

Currently, this can be reproduced by:

r = Ractor.new do
a = [1, 2, 3]
a.object_id
a.dup # this frees the generic ivar for object_id on the copied object
:done
end
r.take

In debug builds, this hits an assertion failure without this fix.