General

Profile

tekknolagi (Maxwell Bernstein)

Issues

open closed Total
Assigned issues 2 48 50
Reported issues 4 4 8

Projects

Project Roles Registered on
Ruby Committer 06/06/2025

Activity

11/11/2026

02:50 AM Ruby Bug #22535 (Closed): Release mode segfault due to half-initialized error in singleton_method
This causes a segfault seemingly only in release mode:
name = "never_interned_#{rand(10**12)}"
begin
Object.new.singleton_method(name)
rescue NameError => e
STDERR.puts "rescued #{e.class}; e.name.class = #...
tekknolagi (Maxwell Bernstein)

11/10/2026

08:45 PM Ruby Bug #22534 (Open): Stack consistency error
The following snippet causes a crash both on 3.4 and master:
a = [7, begin; [(true || 2), (foo while true)]; rescue; 5; end, 6]
p a
def m = (begin; [(true || 2), (foo while true)]; rescue; 5; end)
p m
I think the...
tekknolagi (Maxwell Bernstein)
05:27 PM Ruby Bug #22533 (Open): Peephole optimizer infinite loop
The following code compiles a small loop with and without the peephole optimizer. It spawns a subprocess and waits 5 seconds before killing it to demonstrate the hang.
SRC = "while true; if true then 1 end; end"
pid = fork do...
tekknolagi (Maxwell Bernstein)
03:53 PM Ruby Bug #22531 (Open): String#% with %s format string runs arbitrary code that can invalidate the argument array
For example,
$a = Array.new(20) { "x" * 100 }
o = Object.new
def o.to_s = ($a.clear; GC.start; "o")
$a[0] = o
puts "%s %s %s" % $a
This crashes for me with a segfault.
`String#%` calls `rb_str_format_ary`...
tekknolagi (Maxwell Bernstein)

11/09/2026

03:36 PM Ruby Bug #22465: Method lookup cache invalidation loop from Kernel#extend
For JITs, and in general anything with a slower cache invalidation path, I am interested in having "invalidate downward" be a possibility, even at the expense of more memory. I think ZJIT would especially benefit from opting in to using ... tekknolagi (Maxwell Bernstein)

09/22/2026

02:20 PM Ruby Bug #22341 (Open): Class#superclass can crash the interpreter in debug build
While implementing this in ZJIT, @nirvdrum reported, and I investigated, a potential interpreter crash:
module M; end
C = Class.allocate
C.include M
C.superclass
In a debug build, this crashes:
plum% ./bui...
tekknolagi (Maxwell Bernstein)

09/04/2026

04:41 PM Ruby Misc #22249: DevMeeting-2026-09-10
* [Misc #22272] Propose Kevin Menard (@nirvdrum) as a core committer (tekknolagi)
* I am proposing we make Kevin Menard, a long-time and frequent contributor, a committer.
* This will also help ZJIT: it would be nice if he could merg...
tekknolagi (Maxwell Bernstein)

08/27/2026

03:11 PM Ruby Misc #22272 (Closed): Propose Kevin Menard (@nirvdrum) as a core committer
## Proposal
I'd like to propose Kevin Menard (@nirvdrum) as a committer. He started full-time work on ZJIT about a year ago and has been doing excellent work since. For example, he wrote the function inliner, which is the single bigge...
tekknolagi (Maxwell Bernstein)

08/10/2026

06:42 PM Ruby Revision 8cc69700 (git): ZJIT: Don't double dereference
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com> tekknolagi (Maxwell Bernstein)

07/02/2026

06:21 AM Ruby Revision 33e58bca (git): ZJIT: Clean up confusing comment
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> tekknolagi (Maxwell Bernstein)

Also available in: Atom