General

Profile

ko1 (Koichi Sasada)

  • Login: ko1
  • Registered on: 05/28/2008
  • Last sign in: 12/02/2026

Issues

open closed Total
Assigned issues 71 685 756
Reported issues 18 208 226

Projects

Project Roles Registered on
Ruby Committer 05/28/2008

Activity

Today

11:36 AM Ruby Revision 02e99771 (git): Fix Integer#fdiv of a huge Bignum by zero or infinity
When the Bignum receiver overflows a double, rb_big_fdiv_double()
takes the exact division path, which raised ZeroDivisionError for a
zero divisor and FloatDomainError for an infinite one:
(2**1023).fdiv(0) #=> Infinit...
ko1 (Koichi Sasada)
12:01 AM Ruby Revision edc47a3e (git): thread: wake the timer thread when an enqueued ractor has no server
ractor_sched_enq only signalled ractor.sched.cond. The signal reaches
a parked shared native thread, and a running one revisits the queue in
ractor_sched_deq (under the same lock) before it can wait, so as long
as any shared native thre...
ko1 (Koichi Sasada)

12/03/2026

09:22 AM Ruby Revision ea478fb2 (git): Fix Math.log with a huge bignum base
When the base exceeds the Float range, math_log_split() shifts it and
returns the shifted bit count in numbits_2. The correction term was
computed as (numbits - numbits_2) / log2(b), which wraps around as
size_t when numbits_2 > numbits...
ko1 (Koichi Sasada)
03:18 AM Ruby Revision 8d8224b9 (git): Fix Method#super_method for an alias of a superclass method
When a class aliases a method inherited from a superclass, the alias
entry keeps the original class as its defined_class, and `super` in
the method body continues from above that class. super_method,
however, started from the superclass...
ko1 (Koichi Sasada)

12/02/2026

03:56 PM Ruby Revision 7d4cb932 (git): Fix receivers of multiple targets in for loops
When a for loop had multiple targets with receivers, such as
`for o.a, h[0] in ary`, the compiled topn instructions fetched a wrong
stack slot as the receiver because the multi target state was never
updated, so the setter was sent to an...
ko1 (Koichi Sasada)
12:57 PM Ruby Revision aa0e4f2b (git): Return 0 early from Integer#floor/#ceil when 10**-ndigits is too large
Since [Bug #20654], Integer#floor and Integer#ceil always compute
10**-ndigits, because the result is not 0 for a negative receiver
(floor) or a positive receiver (ceil). For the other sign the result
is 0 whenever 10**-ndigits exceeds ...
ko1 (Koichi Sasada)
09:38 AM Ruby Bug #22703 (Open): File.fnmatch / Dir.glob: a `]` at the start of a bracket expression closes it (`[]a]` never matches)
NOTE: This report is generated by Claude code and I have no idea/opinion.
In `File.fnmatch` (and `Dir.glob`, which shares the matcher), a `]` that appears immediately after `[` (or after `[!` / `[^`) terminates the br
acket express...
ko1 (Koichi Sasada)
09:34 AM Ruby Revision 215a5545 (git): Detect a deadlock again after a rescued deadlock fatal
rb_check_deadlock() decremented the sleeper count before raising the
fatal error to the main thread, but the sleeping thread also decrements
it when it wakes up. The count was decremented twice, so after the
fatal error was rescued the ...
ko1 (Koichi Sasada)
08:30 AM Ruby Bug #22702 (Open): Integer#divmod` / `Float#divmod` with an infinite divisor returns quotient -1, disagreeing with `#div` and the documentation
When the dividend is finite and the divisor is an infinity of the opposite sign, `divmod` returns `-1` as the quotient, while `div` (and `(x / y).floor`, which the `Float#div
mod` documentation gives as the definition of the quotient) r...
ko1 (Koichi Sasada)
07:44 AM Ruby Bug #22701 (Open): `Array#pack("p")` / `("P")` address goes stale after `GC.compact`, and `String#unpack("p")` raises "non associated pointer"
`Array#pack("p")` and `("P")` write `RSTRING_PTR(str)` into the result. The source strings are remembered in a hidden Array (pack.c `str_associate`) so that `unpack("p")` can find them again. That Array references them as movable. When `... ko1 (Koichi Sasada)

Also available in: Atom