General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 05/21/2026

Issues

open closed Total
Assigned issues 21 69 90
Reported issues 7 28 35

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Activity

05/21/2026

06:17 PM Ruby Revision a08f3560 (git): Use atomics for kwargs reference count
Fixes [Bug #22075] jhawthorn (John Hawthorn)

05/20/2026

05:20 PM Ruby Bug #22075: heap-use-after-free in `rb_vm_ci_lookup` under parallel Ractors
4.0 backport: https://github.com/ruby/ruby/pull/17055 jhawthorn (John Hawthorn)
04:50 PM Ruby Bug #22075 (Closed): heap-use-after-free in `rb_vm_ci_lookup` under parallel Ractors
Applied in changeset commit:git|cb9f2ba8046b10de6b4fa0ff364a8e9d09235d00.
----------
Use atomics for kwargs reference count
Fixes [Bug #22075]
jhawthorn (John Hawthorn)
09:54 AM Ruby Bug #22075: heap-use-after-free in `rb_vm_ci_lookup` under parallel Ractors
Thank you for the reliable reproduction. I believe the issue is that `super` calls are duplicating callinfos, but the reference count for the kwargs array isn't using atomics.
```ruby
class Base
def foo(a:, b:, c:) = a
end
cla...
jhawthorn (John Hawthorn)
04:48 PM Ruby Revision cb9f2ba8 (git): Use atomics for kwargs reference count
Fixes [Bug #22075] jhawthorn (John Hawthorn)

05/14/2026

02:07 PM Ruby Revision bea03284 (git): Stack-allocate onig region for match
jhawthorn (John Hawthorn)
02:07 PM Ruby Revision 27774e99 (git): Add match_set_regs helper
jhawthorn (John Hawthorn)
02:07 PM Ruby Revision d5bd346c (git): do_regsub
jhawthorn (John Hawthorn)
02:07 PM Ruby Revision fe3f4518 (git): Allocate RMatch storage embedded
Co-authored-by: Jean Boussier <byroot@ruby-lang.org> jhawthorn (John Hawthorn)
02:07 PM Ruby Revision 39d428e3 (git): Build match struct when requested
jhawthorn (John Hawthorn)

Also available in: Atom