General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 24 24
Reported issues 24 118 142

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Like

Activity

04/14/2025

10:57 PM Ruby Revision 0606046c (git): Lazily create `objspace->id_to_obj_tbl`
This inverse table is only useful if `ObjectSpace._id2ref` is used,
which is extremely rare. The only notable excepti...
byroot (Jean Boussier)

04/10/2025

12:23 PM Ruby Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21219] `Object#inspect` accept a list of instance variables to display (byroot)
* Redefining `#inspect...
byroot (Jean Boussier)
07:49 AM Ruby Bug #21261 (Closed): Backport fix for crash in TCPSocket.open(..., nil)
byroot (Jean Boussier)

04/08/2025

11:11 PM Ruby Revision ae45a7a9 (git): [ruby/json] Cleanup jeaiii-ltoa to not need pragmas
https://github.com/ruby/json/commit/97f2924d0a byroot (Jean Boussier)
09:23 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> So I guess I should merge the proposed patch as a precaution?
I think so yes, with that eval code as a test case.
byroot (Jean Boussier)
08:28 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Nice find!
Can source line ever legitimately be `0`? Perhaps we are missing some assertions that would have caught...
byroot (Jean Boussier)
07:50 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
What I've figured for now it that the corruption is triggered by:
```ruby
# This require line makes sure the or...
byroot (Jean Boussier)
07:43 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> The issue reproduces on my machine, but it's very rare.
You can make it happen 100% of the time with the follow...
byroot (Jean Boussier)
07:00 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> I do not know if it's normal for rb_sourceline() to return 0
Yes:
```ruby
const char *
rb_sourcefile(vo...
byroot (Jean Boussier)

04/07/2025

06:44 PM Ruby Feature #21219: `Object#inspect` accept a list of instance variables to display
> could only symbols be used to simplify the syntax further?
Technically possible, but not ideal because of variou...
byroot (Jean Boussier)

Also available in: Atom