General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 11/09/2026

Issues

open closed Total
Assigned issues 17 90 107
Reported issues 6 38 44

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Activity

11/14/2026

07:30 PM Ruby Bug #22548: Segfault after calling String#rindex repeatedly
3.3: https://github.com/ruby/ruby/pull/19898
3.4: https://github.com/ruby/ruby/pull/19897
4.0: https://github.com/ruby/ruby/pull/19896
jhawthorn (John Hawthorn)
12:02 AM Ruby Bug #22548: Segfault after calling String#rindex repeatedly
Looks like in master this is fixed by https://github.com/ruby/ruby/pull/18658 jhawthorn (John Hawthorn)

11/13/2026

06:07 PM Ruby Revision ac5e2dc1 (git): Remove NOINLINE from NO_ASAN macro
This was originally added in 16f5b18b7aa505765a5361a7d828e33963ea61bc,
but it's unclear if that was intentional. I don't think we should be
forcing noinline on functions which we want to disable ASAN when ASAN
isn't enabled.
This speeds...
jhawthorn (John Hawthorn)
06:05 PM Ruby Revision 7eb80b50 (git): Fix test-tool stalling with TESTOPTS=-j
Previously ENV.delete("MAKEFLAGS") was on the right side of an `and`, so
when -j was given explicitly it was short-circuited and never ran. Tests
which start their own runner (ex. test4test_hideskip.rb) then inherited
make's jobserver, s...
jhawthorn (John Hawthorn)
10:52 AM Ruby Revision deb94fae (git): Fix NameError from singleton_method for a name with no ID
rb_check_id returns 0 when the name has no ID, and we were passing that
to ID2SYM. 0 is never a valid ID, so also assert against it in
rb_id2sym.
[Bug #22535]
(cherry picked from commit 45666487ee3868605bc6fd792f21ff8ac42264da)
jhawthorn (John Hawthorn)

11/12/2026

10:16 PM Ruby Revision 659bb14d (git): Fix ENV deadlock in Ractors when default_internal is set
ENV builds its Strings with rb_external_str_new_with_enc while holding
the VM lock. When Encoding.default_internal is set and differs from the
locale encoding, non-ASCII values are transcoded, and the first
conversion between two encodin...
jhawthorn (John Hawthorn)
10:16 PM Ruby Revision 46ccdddc (git): Set ENV String encodings in place
env_str_encode built a second String from the binary copy with
rb_external_str_new_with_enc, so each value was allocated and copied
twice. This gives the copy its encoding instead, making the same
choice that function would, and only all...
jhawthorn (John Hawthorn)
10:16 PM Ruby Bug #22542 (Open): ASCII-incompatible default_internal mislabels ENV and Dir strings without converting them
`Encoding.default_internal` accepts ASCII-incompatible encodings like UTF-16LE. IO transcodes into it correctly, but ENV and Dir return the original UTF-8 bytes relabeled as UTF-16LE.
```shell
$ LC_ALL=C.UTF-8 FOO=hello ruby -E UTF-8...
jhawthorn (John Hawthorn)
07:42 PM Ruby Bug #22084: invokesuper from define_method in Ractor can call wrong super method or crash
This was backported to 4.0 back in June
https://github.com/ruby/ruby/pull/17154
jhawthorn (John Hawthorn)
07:41 PM Ruby Bug #22242: SEGV in method dispatch (`vm_call_iseq_setup_kwparm_nokwarg` / `def_iseq_ptr`) on Ruby 4.0.6 — Rails CI
This was backported to 4.0 way back in August
https://github.com/ruby/ruby/pull/18516
jhawthorn (John Hawthorn)

Also available in: Atom