Project

General

Profile

Actions

Bug #22460

closed

Ractor crash, shared arrays

Bug #22460: Ractor crash, shared arrays

Added by kddnewton (Kevin Newton) 1 day ago. Updated about 4 hours ago.

Status:
Closed
Target version:
-
[ruby-core:127191]

Description

I'm sorry I have no idea what is going on with this, but this crashes:

a = Array.new(200, 0)
b = a.pop(150)
a << 0
b.freeze
Ractor.shareable?(b)

Replacing pop with slice! fixes it, if that helps.

Actions

Also available in: PDF Atom