summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-09-16 01:17:20 -0400
committerGitHub <noreply@github.com>2023-09-16 05:17:20 +0000
commita7335e11e354d1ee2e15233f32f087230069ad5c (patch)
treeeb32189bafb887e30dc0da461bf07dbf557699f1 /test/ruby
parente159971e03102090e29f3555975498f75cf02f2c (diff)
[Backport 3.2] Fix missing write barrier in iseq instruction list (#8431)
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