General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 28 28
Reported issues 27 136 163

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

04/01/2026

07:10 PM Ruby Bug #21971 (Closed): Backport commit 5de4cc560864 / PR #15848
Forgot to close byroot (Jean Boussier)
10:44 AM Ruby Bug #21818 (Closed): Thread backtraces cannot be communicated over Ractor ports
Applied in changeset commit:git|9a2ffd8e5448e0c2ac4ae58d0ef02afc195f2cb8.
----------
Fix sending backtraces across ractors
[Bug #21818]
Currently exceptions can be sent across ractors,
but because of a limitation in the TypedData API,...
byroot (Jean Boussier)
10:43 AM Ruby Revision 9a2ffd8e (git): Fix sending backtraces across ractors
[Bug #21818]
Currently exceptions can be sent across ractors,
but because of a limitation in the TypedData API,
the exception backtrace is duped as an empty backtrace.
The problem is that backtraces are embedded objects,
hence the clas...
byroot (Jean Boussier)
07:10 AM Ruby Feature #21861 (Closed): C API: expose `ruby_xfree_sized`, `ruby_xrealloc_sized`, etc
Applied in changeset commit:git|53099633e208b43e26a8ee3c6fdd936e2943b0d5.
----------
Make `ruby_xfree_sized` and `ruby_xrealloc_sized` public
[Feature #21861]
byroot (Jean Boussier)
07:10 AM Ruby Revision 53099633 (git): Make `ruby_xfree_sized` and `ruby_xrealloc_sized` public
[Feature #21861] byroot (Jean Boussier)

03/31/2026

01:25 AM Ruby Revision 90f74e06 (git): [ruby/strscan] Implement compaction and embedded structs
(https://github.com/ruby/strscan/pull/201)
GC compaction was introduced in Ruby 2.7.
Embedded Structs was introduced in Ruby 3.3. When enabled, the `struct
strscanner` is stored directly inside the object slot, meaning reading
the stru...
byroot (Jean Boussier)

03/30/2026

10:18 AM Ruby Bug #21970: Corrupted `ciobj->operands` in `compile.c: optimize_checktype`
Of course:
```
(gdb) p *iobj
$1 = {link = {type = ISEQ_ELEMENT_INSN, next = 0xaaab00000848, prev = 0xaaab00000818}, insn_id = YARVINSN_putnil, operand_size = 0, sc_state = 0, operands = 0x0, insn_info = {
line_no = 220, node_i...
byroot (Jean Boussier)
08:48 AM Ruby Bug #21970 (Open): Corrupted `ciobj->operands` in `compile.c: optimize_checktype`
A rare crash I observed in production. I unfortunately don't have a reproduction, but perhaps this will ring a bell to someone.
```
#4 0x0000aaaac9afb1b8 [PAC] in sigsegv (sig=11, info=0xaaaaff573e30, ctx=0xaaaaff573eb0) at signal.c...
byroot (Jean Boussier)
09:40 AM Ruby Bug #21967: `vm_call_cfunc: cfp consistency error` while requiring `nkf.so`
So for the record, I managed to remove our dependency on `nkf`, and the issue seem to have disappeared so far.
So this suggest `nkf` is indeed the root cause, but that is weird because I looked at the extension, and it's really not do...
byroot (Jean Boussier)

03/29/2026

06:52 AM Ruby Bug #21952: Ruby::Box double free at process exit when `fiddle/import` is required in multiple boxes
So it appears that when duplicating a class in another box, we copy the class variables table, but not its entries, causing both boxes to think they own that memory, resulting in a double free.
I have a fix for the specific reproducer...
byroot (Jean Boussier)

Also available in: Atom