Actions
Bug #19546
closedIO::Buffer is incorrectly invoking fiber scheduler interface.
Bug #19546:
IO::Buffer is incorrectly invoking fiber scheduler interface.
Description
(Original bug report: https://github.com/socketry/async/issues/224)
The IO::Buffer implementation incorrectly calls rb_fiber_scheduler_io_write with the size_ts converted to VALUEs: https://github.com/ruby/ruby/blob/400ccb16eefe4e21c4e3eacab4fd0f208fc5e151/io_buffer.c#L2607
But that function expects size_ts: https://github.com/ruby/ruby/blob/400ccb16eefe4e21c4e3eacab4fd0f208fc5e151/scheduler.c#L542
(And probably the same for the other scheduler methods + data types.)
Fixed by https://github.com/ruby/ruby/pull/7593.
Actions