General

Profile

shyouhei (Shyouhei Urabe)

Issues

open closed Total
Assigned issues 2 42 44
Reported issues 12 103 115

Projects

Project Roles Registered on
Ruby Committer 05/05/2008

Activity

05/27/2025

11:31 PM Ruby Bug #21378 (Feedback): variable pinning does not look for method arguments
Is this intentional?
```
irb(main):001> def x?(y, z) = y in { x: ^z }
<internal:kernel>:168:in 'Kernel#loop': (irb):1: syntax error found (SyntaxError)
> 1 | def x?(y, z) = y in { x: ^z }
| ^ z: no su...
shyouhei (Shyouhei Urabe)

05/01/2025

05:15 AM Ruby Bug #21293: C23/GCC 15 build breakage with rb_define_method() and friends
Yes... This is a macro expansion glitch.
Basically if `zero` was an integer constant expression (which it isn't, by the way, in your diff), `__buiitin_constant_p` in [this] line would be true, and `rb_define_method` macro would be ex...
shyouhei (Shyouhei Urabe)

03/31/2025

02:39 AM Ruby Bug #21206 (Open): Segmentation fault on ISeq#to_binary
Found this SEGV using bootsnap.
This could well be architecture dependent because of ISeqs being so by nature.
Also this doesn't happen when the ISeq is created using `compile_prism`.
```
$ ruby -ve 'RubyVM::InstructionSequence...
shyouhei (Shyouhei Urabe)

02/26/2025

12:49 AM Ruby Bug #21151: IO and StringIO raise FrozenError even for read-only methods
StringIO situation is different, but for an IO to be read it has to be writable; thus can not be frozen. See what OpenSSL people say aobut this: https://github.com/openssl/openssl/commit/b1d6e3f551ce7e081ed3e30d525253042ebb10a4 shyouhei (Shyouhei Urabe)

02/06/2025

11:49 PM Ruby Revision 2ed1962c (git): [CI] add CI matrix for clang-21
see also https://github.com/llvm/llvm-project/pull/124870 shyouhei (Shyouhei Urabe)

01/27/2025

08:25 AM Ruby Bug #21091 (Third Party's Issue): recursive require not detected on case insensitive filesystem
There's not much thing we can do to this situation. Your file system opted to provide us multiple file paths for an identical content. That's how your operating system is designed to work. Ruby doesn't prevent you from shooting yourse... shyouhei (Shyouhei Urabe)

12/18/2024

07:50 AM Ruby Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
One thing pointed out in the last developer meeting was that future MMTK might want to break "asprintf return values can be reclaimable using ruby_xfree" assumption at process startup, by choosing different memory management schemes. shyouhei (Shyouhei Urabe)

12/01/2024

11:58 PM Ruby Bug #20908: Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
Thank you for the report anyways! It's totally fine.
The io-console build log reads that it builds against ruby 3.1, which is a bit older than C23. It didn't know the breaking C change.
It's now continuously integrated against (c...
shyouhei (Shyouhei Urabe)

11/29/2024

02:19 PM Ruby Revision 25ad7e8e (git): rb_gc_impl_malloc can return NULL
Let there be rooms for each GC implementations how to handle multi
threaded situations. They can be totally reentrant, or can have
their own mutex, or can rely on rb_thread_call_with_gvl.
In any ways the allocator (has been, but now of...
shyouhei (Shyouhei Urabe)
02:19 PM Ruby Revision 705714be (git): prefer ruby_memerror instead
This could be out of GVL shyouhei (Shyouhei Urabe)

Also available in: Atom