Project

General

Profile

Actions

Bug #20271

open

Issue with moving embedded string across ractors

Added by luke-gru (Luke Gruber) 9 months ago. Updated 2 months ago.

Status:
Assigned
Target version:
-
[ruby-core:116799]

Description

When embedded strings are moved, not all the embedded bytes are copied over to the new embedded string. This shows itself when
an embedded string has more than 16 characters.

For example:

r = Ractor.new {
  foo = receive
  puts foo
  foo
}
obj = "12345678" * 3
puts obj
r.send(obj, move: true)
r.take
123456781234567812345678
1234567812345678
Actions #2

Updated by luke-gru (Luke Gruber) 9 months ago

  • Description updated (diff)

Updated by hsbt (Hiroshi SHIBATA) 2 months ago

  • Status changed from Open to Assigned
  • Assignee set to ko1 (Koichi Sasada)
Actions

Also available in: Atom PDF

Like0
Like1Like0Like0