General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 26 26
Reported issues 26 124 150

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

11/25/2025

03:40 PM Ruby Bug #21694 (Closed): Crash when looking up super method from BasicObject
Applied in changeset commit:git|a36ebb18a6d4c4726915b6d7c16cfdbf4e5d417b.
----------
vm_cc_new: don't assume `cme` is present.
[Bug #21694]
`vm_search_super_method` explictly calls `vm_cc_new` with `cme=NULL`
when there is no super cl...
byroot (Jean Boussier)
03:40 PM Ruby Revision a36ebb18 (git): vm_cc_new: don't assume `cme` is present.
[Bug #21694]
`vm_search_super_method` explictly calls `vm_cc_new` with `cme=NULL`
when there is no super class.
byroot (Jean Boussier)
03:15 PM Ruby Bug #21710: Segfault when reading object_id after it is set inside RUBY_INTERNAL_EVENT_NEWOBJ
I'm still waiting on CI, but https://github.com/ruby/ruby/pull/15320 now handles `T_OBJECT` too and include @nobu's test. Review welcome. byroot (Jean Boussier)
02:45 PM Ruby Bug #21710: Segfault when reading object_id after it is set inside RUBY_INTERNAL_EVENT_NEWOBJ
Thank you @nobu, I'll integrate your test case and fix the remaining issues. byroot (Jean Boussier)
02:11 PM Ruby Bug #21710: Segfault when reading object_id after it is set inside RUBY_INTERNAL_EVENT_NEWOBJ
I got a fix here: https://github.com/ruby/ruby/pull/15320
But I'd like to find some time to add a regression test, or at the very least to audit the other types to see if a similar issue is possible with the other types that also opti...
byroot (Jean Boussier)
01:19 PM Ruby Bug #21710: Segfault when reading object_id after it is set inside RUBY_INTERNAL_EVENT_NEWOBJ
I believe I understand what's going on. The `NEWOBJ` callback is invoked before `struct_alloc` has set the necessary flags such as `RSTRUCT_GEN_FIELDS` and `RSTRUCT_EMBED_LEN_MASK`.
This cause `rb_object_id` to look for, and set, the ...
byroot (Jean Boussier)

11/24/2025

07:52 AM Ruby Bug #21708: Ruby 3.4 Forwardable: setter delegations trigger SyntaxError from forwardable/impl.rb
Fix is here: https://github.com/ruby/forwardable/pull/39 byroot (Jean Boussier)

11/22/2025

01:52 PM Ruby Revision c7a84ae0 (git): [ruby/json] parser.c: Record escape positions while parsing
We can then pass them to the decoder to save having to parse
the string again.
```
== Parsing activitypub.json (58160 bytes)
ruby 3.4.6 (2025-09-16 revision https://github.com/ruby/json/commit/dbd83256b1) +YJIT +PRISM [arm64-darwin24]
W...
byroot (Jean Boussier)
01:12 PM Ruby Revision 73576274 (git): [ruby/json] Fix the parser to not accept invalid escapes
Only `"\/bfnrtu` are valid after a backslash.
https://github.com/ruby/json/commit/f7f8f552ed
byroot (Jean Boussier)
09:32 AM Ruby Revision ec296f63 (git): [ruby/json] Use booleans in string_scan
https://github.com/ruby/json/commit/256cad5def byroot (Jean Boussier)

Also available in: Atom