General

Profile

luke-gru (Luke Gruber)

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

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 13 47 60

Projects

Project Roles Registered on
Ruby Contributor 06/19/2025

Activity

10/03/2025

04:46 PM Ruby Bug #21624: [BUG] Segmentation fault at 0x0000000000000000
Thanks for the report. Have you tried locking the mysql2 gem to version 0.5.6? Version 0.5.7 was just released a couple of weeks ago. luke-gru (Luke Gruber)
03:51 PM Ruby Bug #21620 (Closed): master branch: LTO with >= -O2 optimization causes miniruby to segfault in vm_cc
luke-gru (Luke Gruber)

09/23/2025

09:08 PM Ruby Bug #21614 (Open): thread_sched_wait_events race with timer_thread_wakeup
`thread_sched_wait_events` checks th->sched.waiting_reason.flags under thread_sched_lock but not under
timer_thread.waiting_lock. The timer thread sets it under the timer_thread.waiting_lock only. This race
results in the assertion fai...
luke-gru (Luke Gruber)

09/19/2025

06:51 PM Ruby Bug #21612: Make sure we never context switch while holding the VM lock
Well, I'm not sure if it should be allowed. The reason I said it should be is that currently, `EC_JUMP_TAG` is supported due to auto `lock_rec`. I thought that could cause ruby frames to be popped, but I think I was wrong.
Raising with ...
luke-gru (Luke Gruber)
06:10 PM Ruby Bug #21612 (Open): Make sure we never context switch while holding the VM lock
## The Problem
We're seeing errors in our application that uses ractors. The errors look like:
```
[BUG] unexpected situation - recordd:1 current:0
error.c:1097 rb_bug_without_die_internal
vm_sync.c:275 disallow_reentry
eval_in...
luke-gru (Luke Gruber)

09/16/2025

07:17 PM Ruby Bug #21607: require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15
It would help us a lot if you could get the output from the crashing process. It should report a backtrace to `stderr` after the segfault right before the process ends. luke-gru (Luke Gruber)
06:23 PM Ruby Bug #21607: require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15
@kddnewton I'm not sure it is related to ractors because maybe those tests always failed on this platform. I'm also seeing compile warnings like:
```
2025-09-16T13:34:45.1561568Z In function ‘iseq_set_local_table’,
2025-09-16T13:34:...
luke-gru (Luke Gruber)
05:55 PM Ruby Bug #21607: require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15
There appear to be issues with Ractors. I'm going to reassign this to the ractor team. luke-gru (Luke Gruber)

09/04/2025

09:31 PM Ruby Bug #21560: RUBY_MN_THREADS=1 causes large performance regression in Puma 7
Thanks for the benchmarks, they're very helpful. We (Shopify) have been working on Ractor issues and performance a lot for 3.5.0, but we haven't had time to dig into the scheduler much yet. I'll try to take a look soon. luke-gru (Luke Gruber)

09/03/2025

04:13 PM Ruby Bug #21534: ppc64le bootstraptest/test_ractor.rb aborted (core dumped) on configure cppflags=-DRUBY_DEBUG and -O3
Yeah, I think that's probably what's needed here. luke-gru (Luke Gruber)

Also available in: Atom