summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-09-13 10:59:44 -0400
committerusa <usa@garbagecollect.jp>2023-10-10 20:28:51 +0900
commite031eff34387f300be27c24a725ddaa17f18f7e3 (patch)
tree605cfd3bbc308272f275b9500af1244603f5d1dd /test/ruby
parent92d155ce4a69ad9d8ff9667121d510758f763437 (diff)
Fix missing write barrier in iseq instruction list
[Bug #19880] There's a missing write barrier for operands in the iseq instruction list, which can cause crashes. It can be reproduced when Ruby is compiled with `-DRUBY_DEBUG_ENV=1`. Using the following command: ``` RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=0 RUBY_DEBUG=gc_stress ruby -w --disable=gems -Itool/lib -W0 test.rb ``` The following script crashes: ``` require "test/unit" ```
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions