General

Profile

rwstauner (Randy Stauner)

  • Login: rwstauner
  • Registered on: 05/14/2024
  • Last sign in: 08/27/2026

Issues

open closed Total
Assigned issues 0 1 1
Reported issues 2 5 7

Projects

Project Roles Registered on
Ruby Contributor 03/03/2025

Activity

09/25/2026

03:14 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
> With class Ractor alias join take end unless Ractor.method_defined?(:join), it reproduced on 3.3 an 3.4.
What reproduces?
I do have a few related fixes coming in another PR but this particular condition is still
else if (FL_...
rwstauner (Randy Stauner)
02:35 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
4.0 Backport PR https://github.com/ruby/ruby/pull/19019 rwstauner (Randy Stauner)
02:32 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
PR https://github.com/ruby/ruby/pull/19018 rwstauner (Randy Stauner)
02:29 AM Ruby Bug #22383 (Closed): Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
https://github.com/ruby/ruby/commit/45a2c95d0f7184c9cd64ddd26699af31bea8675d#diff-430d86fdb6c4a558ab0f1b6648bbfae1720e8bde84f026e95a52740014752040R1914
mistakenly rewrote
FL_TEST_RAW(orig, STR_SHARED) && !FL_TEST_RAW(orig, STR_...
rwstauner (Randy Stauner)

09/22/2026

08:10 PM Ruby Bug #22375 (Open): `Time.new(String)` can disagree with itself about the date
`Time.new("2026-02-30T00:00:00Z")` returns a `Time` object that is internally inconsistent.
It shows as Feb 30 or Mar 2 depending on what methods are called:
```ruby
t = Time.new("2026-02-30T00:00:00Z") # => 2026-02-30 00:00:00 UTC
...
rwstauner (Randy Stauner)
05:20 PM Ruby Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO
It might be worth noting for anyone that wants to try this, if you do LTO with fat LTO objects and a static build (as described at the top) this will make native extension compilation much slower.

You can speed this up by stripping t...
rwstauner (Randy Stauner)

08/14/2026

05:31 PM Ruby Bug #22240: Protect against SEGV caused by native extensions using rb_funcall between rb_protect and rb_jump_tag
So far I have discovered that this bug was possible to encounter with
bootsnap before https://github.com/rails/bootsnap/pull/564
and with
io-event before https://github.com/socketry/io-event/pull/209
rwstauner (Randy Stauner)

08/10/2026

05:08 PM Ruby Bug #22240: Protect against SEGV caused by native extensions using rb_funcall between rb_protect and rb_jump_tag
PR https://github.com/ruby/ruby/pull/18279 rwstauner (Randy Stauner)
05:07 PM Ruby Bug #22240 (Open): Protect against SEGV caused by native extensions using rb_funcall between rb_protect and rb_jump_tag
It's possible for native extensions do something like
int state = 0;
rb_protect(some_func, Qnil, &state);
if (state) {
rb_funcall(self, rb_intern("handler"), 0);
rb_jump_tag(state);
}
If the rub...
rwstauner (Randy Stauner)

07/22/2026

06:56 PM Ruby Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO
backport for 4.0: https://github.com/ruby/ruby/pull/18011 rwstauner (Randy Stauner)

Also available in: Atom