summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/shared
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-12-18 20:55:59 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-12-21 10:39:03 -0500
commite191bf42d2077a025c21888573f8b81688e5ea28 (patch)
tree69e009c2b48a2da585672c04b6dfc59b864ef377 /spec/ruby/core/array/pack/shared
parentfd4735130e5fdc0a11f970092d5900847a3ce4cf (diff)
Fix ary_make_partial_step for compaction
ary could change embeddedness due to compaction, so we should only get the pointer after allocations. The included test was crashing with: TestArray#test_slice_gc_compact_stress ruby/lib/pp.rb:192: [BUG] Segmentation fault at 0x0000000000000038
Diffstat (limited to 'spec/ruby/core/array/pack/shared')
0 files changed, 0 insertions, 0 deletions