From: "kddnewton (Kevin Newton) via ruby-core" Date: 2026-10-21T14:17:08+00:00 Subject: [ruby-core:127191] [Ruby Bug#22460] Ractor crash, shared arrays Issue #22460 has been reported by kddnewton (Kevin Newton). ---------------------------------------- Bug #22460: Ractor crash, shared arrays https://bugs.ruby-lang.org/issues/22460 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- I'm sorry I have no idea what is going on with this, but this crashes: ```ruby 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. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/