General

Profile

luke-gru (Luke Gruber)

  • Login: luke-gru
  • Email: luke.gru@gmail.com
  • Registered on: 08/19/2011
  • Last sign in: 10/20/2026

Issues

open closed Total
Assigned issues 4 28 32
Reported issues 13 58 71

Projects

Project Roles Registered on
Ruby Committer 06/19/2025

Activity

11/27/2026

03:10 PM Ruby Bug #22651: String#encode to CP50220/CP50221 loops forever when the replacement string cannot itself be encoded
Thanks for reporting this issue. We've known about this for a few weeks. A PR has already been opened to fix it (https://github.com/ruby/ruby/pull/19816). luke-gru (Luke Gruber)
03:04 PM Ruby Bug #22341 (Closed): Class#superclass can crash the interpreter in debug build
This was fixed in the above mentioned issue (https://bugs.ruby-lang.org/issues/22376) luke-gru (Luke Gruber)

11/26/2026

09:50 PM Ruby Bug #22622: Crash when autoload constants are queried in Ractors (autoload?, defined?, const_defined?) while the main Ractor requires files
I marked this as a required backport for 4.0, but it actually necessitates backporting [this](https://github.com/ruby/ruby/pull/19597) as well. That's a pretty involved patch that I would say has a med-high risk of itself having bugs. It... luke-gru (Luke Gruber)

11/18/2026

08:05 PM Ruby Bug #22532: pthread_mutex_lock: Invalid argument (EINVAL) / SEGV in rb_threadptr_join_list_wakeup when a fiber blocked in Thread#join under a Fiber scheduler is never resumed
Draft PR using the new weak references API: https://github.com/ruby/ruby/pull/19996. This attempts to fix all the known issues with thread join list/fiber/mutex/condvar/queue/io_blocking_operations, etc.
Since the bug mentioned in this ...
luke-gru (Luke Gruber)
06:29 PM Ruby Bug #22532: pthread_mutex_lock: Invalid argument (EINVAL) / SEGV in rb_threadptr_join_list_wakeup when a fiber blocked in Thread#join under a Fiber scheduler is never resumed
Here's a related Fiber Scheduler issue:
```ruby
class Scheduler
def initialize = @main = Fiber.current
def block(blocker, timeout = nil) = @main.transfer
def unblock(blocker, fiber) = nil
def kernel_sleep(duration = nil) ...
luke-gru (Luke Gruber)
05:16 PM Ruby Bug #22553: Segfault when several Ractors call Kernel#class or #frozen? on objects of many classes
Backport 4.0 PR: https://github.com/ruby/ruby/pull/19986 luke-gru (Luke Gruber)

11/16/2026

09:33 PM Ruby Bug #22555: Missing CC invalidation when changing visibility using Method object
PR [here](https://github.com/ruby/ruby/pull/19926) luke-gru (Luke Gruber)
09:29 PM Ruby Bug #22555 (Closed): Missing CC invalidation when changing visibility using Method object
A Method object that is used to define another method with the same name but with a different visibility mutates the `def` of the original method. This is fine,
however it doesn't clear the CCs of the old method.
```ruby
class Warm;...
luke-gru (Luke Gruber)
09:03 PM Ruby Bug #22553: Segfault when several Ractors call Kernel#class or #frozen? on objects of many classes
Thanks for the report. I have a fix [here](https://github.com/ruby/ruby/pull/19925). It should be backported to 4.0 as well. luke-gru (Luke Gruber)

11/13/2026

08:34 PM Ruby Bug #22532: pthread_mutex_lock: Invalid argument (EINVAL) / SEGV in rb_threadptr_join_list_wakeup when a fiber blocked in Thread#join under a Fiber scheduler is never resumed
Thanks for the report. I have a couple of old PRs where I was working on fixing this issue. It isn't an issue just with `Thread#join`, but also with Mutex, ConditionVariable, etc.
https://github.com/ruby/ruby/pull/17207 - attempt to f...
luke-gru (Luke Gruber)

Also available in: Atom