Activity
From 11/22/2026 to 11/28/2026
Today
-
07:51 PM Revision f06eafc5 (git): [ruby/prism] Check regexp encoding options against interpolated string literals
- https://github.com/ruby/prism/commit/a3449d185e
-
07:31 PM Revision 92e9e63b (git): [ruby/prism] Set Ruby 3.4 syntax explicitly in version-sensitive parser tests
- https://github.com/ruby/prism/commit/aef8422583
-
07:31 PM Revision 675d4763 (git): [ruby/prism] Preserve local variable depth when recovering from unwritable assignments
- https://github.com/ruby/prism/commit/67be0daba3
-
07:31 PM Revision 382dc3d8 (git): [ruby/prism] Skip local assignment for regexp capture names incompatible with the source encoding
- https://github.com/ruby/prism/commit/d4fb732271
-
07:31 PM Revision a2e11ad4 (git): [ruby/prism] Prevent hash labels from inheriting the encodings of their values
- https://github.com/ruby/prism/commit/9474950c38
-
07:31 PM Revision 3521dfbe (git): [ruby/prism] Recognize single-byte whitespace after ? in the source encoding
- https://github.com/ruby/prism/commit/43819201a8
-
07:31 PM Revision 18a6880d (git): [ruby/prism] Allow anonymous splat forwarding before a comma in rescue lists and assignment values
- https://github.com/ruby/prism/commit/ce8673bed8
-
07:31 PM Revision 742a0a86 (git): [ruby/prism] Reject literal \n inside braced Unicode escapes
- https://github.com/ruby/prism/commit/14dd8044af
-
07:31 PM Revision d3fefb93 (git): [ruby/prism] Treat line continuations as whitespace after heredocs
- https://github.com/ruby/prism/commit/514af41d6e
-
07:31 PM Revision b363913b (git): [ruby/prism] Report unterminated quoted heredoc identifiers at EOF
- https://github.com/ruby/prism/commit/e67d745247
-
07:31 PM Revision 89054dbe (git): [ruby/prism] Preserve enclosing delimiters when skipping heredocs at the nesting limit
- https://github.com/ruby/prism/commit/4abf7e8c17
-
07:31 PM Revision ef14e89a (git): [ruby/prism] Validate bytes after literal backslashes in non-interpolating literals
- https://github.com/ruby/prism/commit/e04312b6a0
-
07:31 PM Revision d6f4d15f (git): [ruby/prism] Store parser contexts in a growable array
- https://github.com/ruby/prism/commit/c36d707e33
-
07:31 PM Revision 3cf8d6dd (git): [ruby/prism] Match parse.y shebang search and encoding comment handling
- https://github.com/ruby/prism/commit/4e9e2db5fe
-
07:31 PM Revision fa625f2c (git): [ruby/prism] Allow forwarding parameters in methods defined inside parameter defaults
- https://github.com/ruby/prism/commit/663d32c680
-
07:31 PM Revision de250d8b (git): [ruby/prism] Allow do blocks in rescue headers inside command arguments
- https://github.com/ruby/prism/commit/e768648782
-
07:31 PM Revision 9e57f23e (git): [ruby/prism] Reject void jump arguments with chained command blocks
- https://github.com/ruby/prism/commit/c1f1b546a0
-
07:31 PM Revision 59239d61 (git): [ruby/prism] Preserve CRLF in braced Unicode escapes in regexps
- https://github.com/ruby/prism/commit/62fc58a335
-
07:31 PM Revision e8997e02 (git): [ruby/prism] Allow chaining after blocks on ::F! and ::F? calls
- https://github.com/ruby/prism/commit/fddbad37db
-
07:31 PM Revision 40ed3db8 (git): [ruby/prism] Handle dangling escapes in quoted magic comments
- https://github.com/ruby/prism/commit/375539e2e2
-
07:31 PM Revision 73cabc10 (git): [ruby/prism] Reject quoted labels used as standalone pattern elements
- https://github.com/ruby/prism/commit/5529c9990a
-
07:31 PM Revision e3dd75fd (git): [ruby/prism] Accept word separators split by heredocs in %w and %i lists
- https://github.com/ruby/prism/commit/e8350d03f9
-
07:31 PM Revision 0ceaed07 (git): [ruby/prism] Recognize modifiers after symbol arguments to undef and alias
- https://github.com/ruby/prism/commit/20e3c8f96f
-
07:31 PM Revision 6dc104f5 (git): [ruby/prism] Dedent whitespace-only squiggly heredocs
- https://github.com/ruby/prism/commit/2b066d2fca
-
07:31 PM Revision 56f1642e (git): [ruby/prism] Treat a lone carriage return before CRLF as whitespace
- https://github.com/ruby/prism/commit/d858c8df1d
-
07:31 PM Revision ade29756 (git): [ruby/prism] Unescape carriage-return delimiters in %s and %q literals
- https://github.com/ruby/prism/commit/339deadd87
-
06:22 PM Bug #22653 (Open): parse.y rb_enc_isspace incorrect usage in parse_qmark
- This is somewhat confusing. Basically parse.y is looking for a space character after a question mark to determine if the ? is an operator or not. This matches the ASCII space character, and in some encodings matches a non-ASCII space cha...
-
03:00 PM Bug #22647 (Closed): `argument stack underflow (-1)` Compiling `redo` Inside `for` Loop Target Index Expression
- Applied in changeset commit:git|b557a36bddb56f58d0b54cb205c027465b283573.
----------
[PRISM] Properly compile jumps in for index
[Bug #22647] -
03:00 PM Revision b557a36b (git): [PRISM] Properly compile jumps in for index
- [Bug #22647]
-
01:43 PM Revision f9f6bf24 (git): Remove the duplicate declaration with inconsistent dll linkage
-
12:59 PM Feature #22628: configure: Skip the GNU config downloader when both auxiliary files exist
- I opened PR [#20273](https://github.com/ruby/ruby/pull/20273) to remove the GNU config downloader call from configure.ac.
I verified that ./autogen.sh and an out-of-tree configure --with-baseruby both succeeded on x86_64 Linux, and th... -
12:56 PM Revision a52c1f17 (git): Add missing include guards
- Do not rely solely on non-portable `#pragma once` directives.
-
08:32 AM Revision afe46b70 (git): const_path.c: store longer paths in a tree
- Very similar to how shapes are implemented, this allows to
deduplicate common paths.
The structure is entirely lock free when turning a const path into
a list of ID
When inserting however, the VM lock must be acquired, but it is
assume... -
07:18 AM Revision 336ffbb0 (git): [ruby/mmtk] Implement support for imemo objects in obj_can_parallel_free_p
- https://github.com/ruby/mmtk/commit/e30ab1669a
-
07:18 AM Revision 8c839cb2 (git): [ruby/mmtk] Implement support for imemo objects in obj_need_obj_free_p
- https://github.com/ruby/mmtk/commit/86da4a396f
- 06:48 AM Revision 063580f1 (git): [DOC] Update bundled gems list at 7454f066d5533d791c57cb9b91a331
- 04:36 AM Revision 7454f066 (git): [ruby/ipaddr] Reject a netmask that has its own prefix length
- IPAddr.new("192.168.0.1/255.255.255.0/8") was accepted and gave
192.0.0.0/8. The netmask string "255.255.255.0/8" was parsed with
IPAddr.new, which applied the "/8" to it, so the mask became
255.0.0.0. IPAddr#mask("255.255.255.0/8") had ... - 04:28 AM Revision b3d9403a (git): [ruby/ipaddr] Add IPAddr#netmask class method
- Add a class method to generate a netmask string from a prefix
length and address family.
Examples:
IPAddr.netmask(24, Socket::AF_INET) # => "255.255.255.0"
IPAddr.netmask(64, Socket::AF_INET6) # => "ffff:ffff:ffff:ffff:0000:0000... -
12:54 AM Revision 14f57d20 (git): Fix integer overflow in rb_get_values_at
- rb_get_values_at can have an integer overflow in the very specific case
where the endpoint of the range causes `RARRAY_LEN(result) + (beg + len) - j`
to overflow.
For example, Struct#values_at uses rb_get_values_at. The following code
s... -
12:08 AM Feature #22482: String#bit_index, a bit search for String bit operations
- I made the search of `bit_index` faster before the merge. The API and the contracts do not change.
### What changed
The search in C compared one byte at a time. It now reads 8 bytes at a time while a word holds no matching bit, and... -
12:03 AM Revision 3030c33a (git): Ractor.select raises if any port is closed
- Ractor.select checked ports in the order they were passed and stopped at
the first one with a message. So a closed port only raised if it came
before a ready one:
ready = Ractor::Port.new
closed = Ractor::Port.new
ready << :...
11/27/2026
-
07:34 PM Bug #22447: parse.y `-> do ... end` COND state
- Backport PRs:
* ruby_3_3: https://github.com/ruby/ruby/pull/20209
* ruby_3_4: https://github.com/ruby/ruby/pull/20211
* ruby_4_0: https://github.com/ruby/ruby/pull/20210 -
07:33 PM Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- Backport PRs:
* ruby_3_4: https://github.com/ruby/ruby/pull/20216
* ruby_4_0: https://github.com/ruby/ruby/pull/20215 -
07:33 PM Bug #22614: Regressions: Adverse interactions between (unused) refinements and UnboundMethod#bind_call
- Backport PRs:
* ruby_3_3: https://github.com/ruby/ruby/pull/20222
* ruby_3_4: https://github.com/ruby/ruby/pull/20221
* ruby_4_0: https://github.com/ruby/ruby/pull/20223 -
07:32 PM Bug #22619: parse.y missing invalid return syntax error
- Backport PRs:
* ruby_3_4: https://github.com/ruby/ruby/pull/20231
* ruby_4_0: https://github.com/ruby/ruby/pull/20232 -
04:40 PM Revision 0d399335 (git): Get rid of missed ARY_PTR_USING_P
- This is dead code.
-
03:10 PM Bug #22651: String#encode to CP50220/CP50221 loops forever when the replacement string cannot itself be encoded
- Thanks for reporting this issue. We've known about this for a few weeks. A PR has already been opened to fix it (https://github.com/ruby/ruby/pull/19816).
-
02:23 PM Bug #22651 (Open): String#encode to CP50220/CP50221 loops forever when the replacement string cannot itself be encoded
- ##### About
**Title:** String#encode to CP50220/CP50221 loops forever when the replacement string cannot itself be encoded
**Repository:** ruby/ruby
**Location:** `transcode.c:1530`
**Severity:** High
**Impacted versions:*... -
03:04 PM Bug #22341 (Closed): Class#superclass can crash the interpreter in debug build
- This was fixed in the above mentioned issue (https://bugs.ruby-lang.org/issues/22376)
- 02:39 PM Revision 80343e1c (git): Don't validate an uninitialized byte in rb_str_concat
- When appending an Integer codepoint, rb_str_concat allocated len + 1
bytes but rb_enc_mbcput only writes len of them, and the codepoint was
then validated over all len + 1. For a codepoint that encodes to an
incomplete character (e.g. 0x... -
02:27 PM Bug #22652 (Open): Hidden autoload mutex is handed to Fiber::Scheduler#block, and any Ruby method call on it crashes the interpreter
- ##### About
**Title:** Hidden autoload mutex is handed to Fiber::Scheduler#block, and any Ruby method call on it crashes the interpreter
**Repository:** ruby/ruby
**Location:** `variable.c:95`
**Severity:** Medium
**Impact... - 02:15 PM Revision 09cfdea5 (git): Fix valgrind issues
- 01:11 PM Revision 274cfe71 (git): [ruby/ipaddr] Avoid quadratic backtracking in numeric prefix validation
- [1-9]+ and \d* overlap in the numeric-prefix branch of IPAddr#mask!, so an
invalid prefix such as "1" * 32000 + "x" can be split between them in O(n)
ways and the engine backtracks through all of them before giving up.
Both IPAddr.new a... -
12:53 PM Revision a1a9f455 (git): array.c: get rid of RARRAY_PTR_IN_USE_FLAG
- This flag was introduced to add transient heap related assertions,
but the transient heap is long gone and nothing ever check this
flag anymore. -
11:56 AM Revision 19adb760 (git): [ruby/zlib] Fix test_gets_separator_modified_by_io for MMTk
- The test test_gets_separator_modified_by_io will intermittently fail on
MMTk with:
TestZlibGzipReader#test_gets_separator_modified_by_io [test/zlib/test_zlib.rb:1274]:
Exception(RuntimeError) with message matches to "rs modified... -
09:43 AM Bug #22643 (Closed): Null pointer dereference compiling with parse.y
- Applied in changeset commit:git|f3e180b5ebc835f87c2ff7ccb8474a1bf18b0115.
----------
[Bug #22643] Prevent crashes compiling super in keyword defaults
Initialize keyword parameter metadata before compiling defaults so super can read the... -
09:42 AM Revision f3e180b5 (git): [Bug #22643] Prevent crashes compiling super in keyword defaults
- Initialize keyword parameter metadata before compiling defaults so super can read the keyword table and forward required and rest keywords. Derive each default index from the remaining argument nodes instead of reusing the keyword count ...
-
09:41 AM Feature #22405 (Rejected): Run-Length Methods for String Bit Operations
- Let's use `String#bit_index` proposed in https://bugs.ruby-lang.org/issues/22482 instead.
-
09:33 AM Feature #22399 (Rejected): Iterator Methods for String Bit Operations
- Let's use `String#bit_index` proposed in https://bugs.ruby-lang.org/issues/22482 instead.
-
09:07 AM Revision 57b46db8 (git): Suppress unused function warnings when not having working fork
-
09:03 AM Feature #22483 (Closed): Region forms of String#bit_get
- Applied in changeset commit:git|515e5af0b1e9a2ae5a51bef51e108bf1bf4abb5b.
----------
[Feature #22483] Add region forms to String#bit_get
This patch adds the region arguments of [Feature #22279] to
String#bit_get:
* String#bit_get(offs... -
09:03 AM Revision 1074dc11 (git): [Feature #22483] Add specs for the region forms of String#bit_get
- Link: [Feature #22483]
-
09:03 AM Revision 515e5af0 (git): [Feature #22483] Add region forms to String#bit_get
- This patch adds the region arguments of [Feature #22279] to
String#bit_get:
* String#bit_get(offset, length, lsb_first: true) -> Integer | nil
* String#bit_get(range, lsb_first: true) -> Integer | nil
A region reads as a non-negative I... -
08:24 AM Bug #22644 (Closed): `argument stack underflow (-1)` and `iseq_set_sequence: adjust bug` on `return` inside `begin ... ensure`
- Applied in changeset commit:git|ba5c016a98797fd300f62ac58fffdcf0505bf63d.
----------
[Bug #22644] Preserve the stack for returns through ensure
Use the same decision for adjusting the stack and emitting a direct return in both compiler... -
08:23 AM Revision ba5c016a (git): [Bug #22644] Preserve the stack for returns through ensure
- Use the same decision for adjusting the stack and emitting a direct return in both compilers. When a return must unwind through an ensure, leave pending operands on the stack. Let the VM unwind ensures in loops so an ensure that breaks o...
-
08:16 AM Revision 508a04c2 (git): Use rb_bool_expected for the lsb_first keyword of String bit methods
- The lsb_first keyword raised "lsb_first must be true or false", while
other boolean keywords such as exception: raise "expected true or
false as exception: :no" through rb_bool_expected. Use the same
function so that the message is cons... -
06:56 AM Revision 5e398784 (git): st.c: Allocate the table struct after the entries
- st_init_table_with_size, st_copy and set_init_table_with_size allocated
the table struct first, which was left unreachable when the allocation
of the entries raised. Allocate the struct last, and use a table on
the stack for the tempora... - 06:54 AM Revision cb9fbeaf (git): [ruby/net-http] Don't retry a request whose body comes from an IO
- A retry re-sends the same request object. When the body comes from
body_stream, or from an IO in form data, the first attempt may have
read that IO, so the retry sends only what is left. With chunked
framing that remainder is a complete ... -
06:52 AM Revision 52511287 (git): Pack up to two segments in rb_const_path_t
- Since segments are at most 32 bits, and we only need 2 bits for
flags, if both segments have their MSB set to 0, we can pack both
in a single uintptr.
Since we can expect the MSB to never realistically be set, that
means now all const_p... -
06:52 AM Revision 15190918 (git): More efficiently store `opt_getconstantpath` segments
- Up until this comments, all `opt_getconstantpath` instructions
get an associated allocated buffer of type `ID *`.
This mean each constant reference malloc `number_of_segments * 8 + 8`
bytes (plus whatever the allocator waste is), and th... - 06:50 AM Revision 862f8e92 (git): [DOC] Update bundled gems list at 1e4007f2c47b30497930f47f4b5020
-
06:35 AM Bug #22642 (Closed): Segmentation fault (stack use after return?) when compiling with parse.y
- Applied in changeset commit:git|1e4007f2c47b30497930f47f4b5020fe18462613.
----------
[Bug #22642] Restore compiler state after compile errors
Avoid dangling ensure-stack entries when compiling invalid loop or
ensure bodies. -
06:16 AM Feature #22628: configure: Skip the GNU config downloader when both auxiliary files exist
- Thanks for the historical context!
I’ll open a PR to remove the tool/downloader.rb call from configure.ac -
05:38 AM Revision 1e4007f2 (git): [Bug #22642] Restore compiler state after compile errors
- Avoid dangling ensure-stack entries when compiling invalid loop or
ensure bodies. -
05:38 AM Revision 195cb903 (git): Reuse `COMPILE_METHODS` in core_assertions.rb
-
05:37 AM Revision 7ea7b74f (git): Accept Windows error variants for utime with a trailing slash
- Windows 2022 and MinGW UCRT64 can report EINVAL for a regular file with a trailing slash. Verify that the operation is rejected and leaves the timestamp unchanged.
-
05:37 AM Revision e0373ae4 (git): Open files with attribute access for utime on Windows
- Broad write access can reject timestamp updates when an ACL denies data writes or an open handle does not share write access. Opening with FILE_WRITE_ATTRIBUTES also removes metadata queries from the usual successful update.
-
05:36 AM Revision a36f38ca (git): Preallocate the Windows getifaddrs buffer
- GetAdaptersAddresses recommends starting with a 15,000-byte buffer to avoid a separate size query. Retry when the required size grows so that adapter changes during enumeration do not immediately fail the call.
-
05:32 AM Revision c7af242f (git): Don't read past the end in UTF-16LE left_adjust_char_head
- For a position on the last byte of an odd-length string, it read the
byte at end to check for a low surrogate, and moved back two bytes if it
was one.
bb27ff85cf fixed this for UTF-16BE and the other multibyte encodings by
returning ear... -
05:13 AM Revision 552877bc (git): Keep the replacement alive while String#scrub copies from it
- When the replacement given to scrub is converted with #to_str, repl is a
new string referred to only from this frame, and rep points into it.
rb_str_buf_cat may trigger GC while resizing buf before copying from
rep.
Co-Authored-By: Clau... -
05:13 AM Revision cc912b35 (git): Keep the buffer alive while packing a BER-compressed integer
- buf is a new string made for each integer of pack("w"), and is not used
after RSTRING_PTR(buf) is passed to rb_str_buf_cat, which may trigger
GC while resizing res before copying from it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthrop... -
05:07 AM Bug #22468 (Closed): A read of a class variable after remove_class_variable returns a broken value, then SEGV on use
- According to hasumikin, this issue has been fixed by https://github.com/ruby/ruby/commit/de413a17b9
-
03:04 AM Bug #22546: YJIT panics in arm64 `add` when compiling a method with 495 or more locals
- https://github.com/ruby/ruby/pull/20238
-
02:49 AM Bug #22650 (Open): Difference in Rational to Float conversion
- I was surprised to see that for some Rational value r which is very close to 1, the result between Float(r) and r.to_f is different.
The result between Math.sqrt(r) and r**0.5 was also different.
```
> ruby -v
ruby 4.0.10 (2026-11-... -
02:46 AM Revision d50b8f45 (git): Compare File.ctime with the birthtime on Windows
- File.ctime returns the creation time on Windows, but the spec checked the subsecond precision of the status change time. Files whose creation time has no subseconds, as in an extracted tarball, failed whenever a stat command was on PATH....
- 02:39 AM Revision 8b7fab64 (git): YJIT: x86_64: Fix 32-bit displacement sizing in disp_size
- - Fix `X86Opnd::disp_size` to return 32 whenever `num_bits > 8` instead of
only `num_bits == 16`, preventing silent 8-bit truncation of 32-bit
displacements outside `[-32768, 32767]`.
- Add `mov` encoding tests for `+0x10000` and `-0... -
02:28 AM Revision c9bab8e9 (git): [ruby/net-http] Check buffered data before waiting for the response to Expect: 100-continue
- A 103 response read by Net::BufferedIO could pull the next response into
its buffer, and wait_readable on the socket then waited until
continue_timeout although the response had already arrived. Check the
buffer, and the pending data of... -
02:28 AM Revision 296fe701 (git): [ruby/net-http] Wait for 100 Continue past other informational responses
- wait_for_continue treated any response other than 100 Continue as the
final response, so an informational response such as 103 Early Hints
before 100 Continue made the request return 103 without sending its body.
Skip informational respo... -
02:28 AM Revision 33488e26 (git): [ruby/net-http] Do not reuse the connection unless the request body was fully sent
- When the server answers a request that carries Expect: 100-continue with
a final status before the body has been sent, or when writing the body
fails partway, the announced body never reaches the server in full.
Close the connection afte... - 02:24 AM Revision deb3bfce (git): Bump zizmorcore/zizmor-action
- Bumps the github-actions group with 1 update in the / directory: [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).
Updates `zizmorcore/zizmor-action` from 0.9.1 to 0.9.2
- [Release notes](https://github.com/zizmo... -
01:40 AM Bug #22649 (Open): ZJIT: compile time is quadratic in method size, in handle_caller_saved_regs
## Summary
While fuzzing ZJIT with generated programs I noticed that long methods take a surprisingly long time to compile. I tracked it down to `Assembler::handle_caller_saved_regs`: for each `CCall` it looks at every interval of t...-
01:37 AM Bug #22639: ZJIT: three byte order assumptions in code shared by all backends
- alanwu (Alan Wu) wrote in #note-1:
> Right, ZJIT doesn't support PowerPC and doesn't plan to for now.
Thanks for the quick reply, Alan, and that's completely fair. I'm not asking for PowerPC support, and I don't expect the team to ta...
11/26/2026
- 11:46 PM Revision ccbb1f62 (git): Update default gems list at ee6e4280e5bf1cdec383df915c8d06 [ci skip]
-
11:45 PM Revision ee6e4280 (git): [ruby/zlib] v3.3.0
- https://github.com/ruby/zlib/commit/862a7fa27e
-
11:43 PM Revision 11dfc6df (git): Define RBASIC_SET_SHAPE_ID_ATOMIC as a macro
- Previously this was defined as a function requiring us to include the
interal object.h header. This defined rb_equal which was shadowing a
previous definition - which was never exported, causing the modular GC
build to fail with an undef... -
11:42 PM Bug #22648 (Open): ZJIT: [BUG] panic in codegen on FixnumRShift in a branch arm that clean_cfg made unreachable
## Summary
ZJIT panics while compiling a method whose `||` condition folds to a constant, when the arm that is no longer taken contains a `>>` by a constant:
```
dead1.rb:3: [BUG] ZJIT: panicked at zjit/src/codegen.rs:774:71:
c...-
09:50 PM Bug #22622: Crash when autoload constants are queried in Ractors (autoload?, defined?, const_defined?) while the main Ractor requires files
- I marked this as a required backport for 4.0, but it actually necessitates backporting [this](https://github.com/ruby/ruby/pull/19597) as well. That's a pretty involved patch that I would say has a med-high risk of itself having bugs. It...
-
09:23 PM Revision 50c063b2 (git): ISeq.load_from_binary: accept file and path like .compile
- [Feature #17593]
To support portable ISeq caching. -
07:53 PM Revision f388de26 (git): Make code_to_mbclen of Emacs-Mule agree with code_to_mbc
- code_to_mbc writes each non-zero byte of the code point, plus the last
byte, but code_to_mbclen took its length from the highest byte that was
0x80 or above. The two disagreed in two ways:
format(("a" * 100 + "%c").force_encoding("... -
07:16 PM Bug #22294 (Closed): Parsing a long && / || chain is quadratic
- Closing since it looks like every PR merged. Feel free to reopen if I got this wrong.
- 06:53 PM Revision f6278067 (git): Fix -Wshorten-64-to-32 in rb_shape_object_id_child_exists_p
- get_next_shape_internal now takes an rb_id_serial_t (since 27fed6224e),
so pass rb_shape_tree.serial_object_id instead of the ID. This fixes
CI issues. -
06:22 PM Revision 11121e78 (git): Set a class's shape id atomically
- A class's shape id lives in the top 32 bits of its flags, and the owning
Ractor updates it when the class's instance variables change. Other
Ractors can set flag bits on the same word without a lock, subclasses
are a good example.
Becau... -
06:22 PM Revision 12cbef40 (git): Add a helper to update an object's flags atomically
- Flag bits in RBASIC(obj)->flags can be written without a lock from more
than one Ractor.
This commit introduces rb_obj_flags_update_atomic which calculates the
new flags after the set and uses CAS to swap them. -
05:58 PM Revision 529e2b77 (git): Fix a race in test_match_concurrently_on_same_string
- The other thread could finish its match after the check of th.alive?
and before s.replace, then nothing was raised (seen on trunk_asan).
Check after the replace that the other thread is still in the match,
and omit otherwise. Also omit i... - 04:54 PM Revision 05f0c7fc (git): Publish an object as shareable only when all children have been published
- Previously, the root would get the `shareable` flag before its children. This could be
dangerous because then a non-owning Ractor could use an unshareable of another Ractor.
For example, the WB (among other places) assumes an unshareable... -
04:49 PM Bug #22647 (Closed): `argument stack underflow (-1)` Compiling `redo` Inside `for` Loop Target Index Expression
- ```ruby
for obj[(redo if done)] in ary
work
end
```
```bash
ruby --parser=parse.y -e 'RubyVM::InstructionSequence.compile("for obj[(redo if done)] in ary; work; end"); puts :ok'
ruby --parser=prism -e 'RubyVM::InstructionSeq... -
04:44 PM Bug #22646 (Open): parse.y: `argument stack underflow (-1)` on Braceless Hash Under `# shareable_constant_value: experimental_copy`
- Differential fuzzer (prism vs parse.y) find.
```ruby
# shareable_constant_value: experimental_copy
while e
B = [[[g: []]]]
end
```
```bash
ruby --parser=parse.y --disable-gems -e 'RubyVM::InstructionSequence.compile("#share... -
04:36 PM Bug #22645 (Open): Heap corruption (and potential hang)
- Differential fuzzing (prism vs parse.y) find.
With file trap.rb:
```ruby
begin 3until begin/#{next"#{next}"}/ end end
```
```
$ ruby trap.rb
malloc(): invalid size (unsorted)
trap.rb: [BUG] Aborted at 0x000003e800000099
ruby... -
04:24 PM Bug #22644 (Closed): `argument stack underflow (-1)` and `iseq_set_sequence: adjust bug` on `return` inside `begin ... ensure`
- Differential fuzzer finds (prism vs parse.y)
### Variant A: `argument stack underflow (-1)`
```ruby
def f
d begin
return
rescue
ensure
end
d
end
```
```bash
ruby --parser=prism --disable-gems -e 'RubyVM::I... -
04:18 PM Revision 59ce2384 (git): [DOC] Fix the C docs for Ractor::Port functions
-
04:18 PM Revision b4357a22 (git): Ractor.select should reject other Ractors ports.
- Ractor.select looks up the port in the calling Ractors table, so a port
created by another Ractor could share the same id as the caller Ractor.
We should reject any ID that resolves to a port belonging to a Ractor
that's not the current... -
04:14 PM Bug #22643 (Closed): Null pointer dereference compiling with parse.y
- Differential fuzzing find (prism vs parse.y)
```
$ ruby --parser=parse.y --disable-gems -e 'RubyVM::InstructionSequence.compile("def z(f:e, e:super[]) end")'
-e:1: [BUG] Segmentation fault at 0x0000000000000000
ruby 4.1.0dev (2026-11... -
04:11 PM Bug #22639 (Rejected): ZJIT: three byte order assumptions in code shared by all backends
- Right, ZJIT doesn't support PowerPC and doesn't plan to for now.
-
12:39 AM Bug #22639 (Rejected): ZJIT: three byte order assumptions in code shared by all backends
- Three places in code that every ZJIT backend shares assume a little-endian host:
1. `gen_string_copy` (`zjit/src/codegen.rs`) reverses every 8 bytes of a short string it copies inline.
2. `rb_shape_id_offset()` (`shape.c`) returns th... -
04:11 PM Bug #22642 (Closed): Segmentation fault (stack use after return?) when compiling with parse.y
- Differential fuzzing (prism vs parse.y) find:
```
$ ruby --parser=parse.y --disable-gems -e 'RubyVM::InstructionSequence.compile("a\nreturn defined? -(1until yield)")'
-e:1: warning: argument of top-level return is ignored
-e:1: [BUG... -
03:46 PM Feature #22628: configure: Skip the GNU config downloader when both auxiliary files exist
- The use of this downloader dates back to the days of `configure.in`, when such auxiliary files weren't necessary at startup.
Could you make a PR? - 03:41 PM Revision 4535fe0d (git): ZJIT: Fix wrong assumption about frozen objects and object layout
- When an object is frozen, it can still undergo a shape transition that may
unembed the object or turn it complex. This happens when it gets an object_id
(ex: calling object_id or hashing some objects). This changes how ivars are
laid out... - 03:35 PM Revision f8260c88 (git): Fix memory leak when re-embedding empty strings.
- 03:23 PM Revision aaebdb68 (git): Don't keep a valid coderange in rb_str_subseq across a split character
- rb_str_subseq cuts at byte offsets, but copied a VALID coderange from
the receiver to the result even when a cut fell inside a character, so
the result could be broken while reporting itself valid:
```ruby
io = StringIO.new("éé")
... -
02:33 PM Bug #22641: ZJIT: "Function failed validation" on FixnumRShift in a block that type inference found unreachable
## Cause
The function is valid after every pass until `canonicalize` in the second iteration of the optimisation loop:
1. Iteration 1, `fold_constants`: both `a4 / 2` sites, in `bb6` and in `bb5`, are rewritten to `FixnumRShift`. Both...-
11:28 AM Bug #22641 (Open): ZJIT: "Function failed validation" on FixnumRShift in a block that type inference found unreachable
## Summary
In a build with debug assertions (`--enable-zjit=dev`), ZJIT aborts while compiling a method that compares an argument with `!=` and then divides it by a power of two, once the division has been profiled with both a Fixnu...-
02:26 PM Bug #22637 (Closed): compilation segfault when using parse.y
- Applied in changeset commit:git|17eecca74a586156acebb8b06417f4df17cdedfc.
----------
[Bug #22637] Handle keyword arguments in nested splats
Preserve argument structure when nested splats contain keyword hashes. -
01:52 PM Revision 17eecca7 (git): [Bug #22637] Handle keyword arguments in nested splats
- Preserve argument structure when nested splats contain keyword hashes.
-
01:31 PM Revision 6478deb7 (git): Keep dirname alive in append_fspath
- dirname may be replaced with a new string by rb_str_new_shared or
rb_str_conv_enc, and rb_str_resize may trigger GC before cwdp, which
points into it, is copied.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: ht... -
01:29 PM Revision 34af03e0 (git): Fix Time.new with a zone object that converts to a UTC offset or name
- A zone argument that is not a String or an Integer is tried as a
timezone object first. When it has no local_to_utc, time_init_vtm
falls back to utc_offset_arg, which converts it with to_str. That
fallback handled a nil result and stored... - 01:18 PM Revision b298d1e7 (git): [ruby/net-http] Ignore Content-Length when sending a chunked request body
- Sending both Content-Length and Transfer-Encoding: chunked on a request is a request-smuggling primitive (RFC 9112 6.1): a desync proxy may frame the two differently. When a caller sets both, Net::HTTP now drops Content-Length and sends ...
-
12:03 PM Revision 54b8f88f (git): [ruby/zlib] Read as UTF-8 in test_gets_limit_multibyte_boundary
- The test relied on the default external encoding being UTF-8, so it failed under the C locale, as in the Fedora container of the SHSTK workflow.
https://github.com/ruby/zlib/commit/774e470be1
Co-Authored-By: Claude Opus 5.5 <noreply@an... -
10:26 AM Revision 81aba56d (git): [ruby/zlib] Keep the arguments of GzipReader#each_line when returning an enumerator
- rb_gzreader_each created the enumerator with RETURN_ENUMERATOR(obj, 0, 0), so each_line(sep, limit) without a block iterated with the default separator and no limit.
```ruby
gz = Zlib.gzip("a,b,c\nd,e\n")
Zlib::GzipReader.new(StringIO.n... -
10:23 AM Revision cda37f53 (git): [ruby/zlib] Reject a negative length in Zlib.crc32_combine
- zlib 1.3.1 loops forever in x2nmodp() on a negative length, and the
loop cannot be interrupted.
Zlib.crc32_combine(0, 0, -1)
#=> never returns (with zlib 1.3.1)
https://github.com/ruby/zlib/commit/5943150a09
Co-Authored-By: Claude... -
10:19 AM Revision e587b28e (git): [ruby/zlib] Keep the separator out of the object in a test for mmtk
- mmtk can embed a String of any length in its object, so `"-" * 1000` keeps its content there and `replace` copies the new content into the same place. The pointer never changes and the test always fails with mmtk. Grow `rs` from an empty...
-
10:14 AM Revision ad179ab0 (git): [ruby/zlib] Alias Zlib.deflate as Zlib.dump and Zlib.inflate as Zlib.load
- `load` and `dump` are a very popular naming convention for
serializer and such, and defining them allows easy composition.
https://github.com/ruby/zlib/commit/e78fa49e7f -
10:01 AM Revision 1b91ac97 (git): [ruby/zlib] Pend test_getc_with_encoding_conversion on TruffleRuby
- TruffleRuby ignores the encoding options of GzipReader, as test_gets_separator_inside_multibyte_char already notes, so each_char returns the unconverted bytes.
https://github.com/ruby/zlib/commit/612c1fa10e
Co-Authored-By: Claude Opus ... -
10:01 AM Revision 6c962489 (git): [ruby/zlib] Check the separator boundary in the encoding before conversion
- The boundary check from #180 used `enc`, which this branch removed. It looks at the unconverted buffer, so it takes GZFILE_RAW_ENC like the other checks here.
https://github.com/ruby/zlib/commit/5a93626f0a
Co-Authored-By: Claude Opus 5... -
10:01 AM Revision b367b54a (git): [ruby/zlib] Use the external encoding for character boundaries in GzipReader
- GzipReader#getc and #gets with a limit split the data before it is
converted to the internal encoding, but measured characters in the
internal encoding.
gz = Zlib.gzip("\x82\xa0\x82\xa2".b) # "あい" in Shift_JIS
Zlib::GzipReader.new(S... -
09:58 AM Revision 8becf802 (git): [ruby/zlib] Fix GzipReader#gets(limit) splitting a multibyte character at the buffer end
- gzreader_charboundary finds how many bytes of the character at the limit are missing from the inflated buffer, but asked gzfile_fill for only n + missing bytes. When the buffer already held more than n bytes nothing new was read, and the...
-
09:49 AM Revision 34c49d92 (git): Retry Set insertion when eql? adds an element to the same set
- set_insert did not notice an element added to the same set during the
comparison and appended its entry even when the entries array was full.
Restart the search when entries_bound changes, as is done on rebuild.
Reported-by: Alexander M... -
09:46 AM Revision 5d684cba (git): [ruby/zlib] Raise ArgumentError for a zero limit in GzipReader#each_line and #readlines
- GzipReader#gets(0) returns "" without consuming anything, as IO#gets(0) does, so each_line(0) and readlines(0) never reached the end of the stream and allocated an empty string per iteration until the process ran out of memory. IO#each_l...
-
08:48 AM Revision ea2525ca (git): [ruby/zlib] Do not let the allocator reuse the separator buffer in a test
- `rs.clear << "-" * 1000` frees the old buffer before allocating the new one, and on mswin the heap hands the same address back about one time in five, so rscheck has nothing to detect and the test fails intermittently. Allocate the new b...
-
08:35 AM
Bug #22278 (Closed): `Coverage.line_stub` emits warnings found in source code
- Applied in changeset commit:git|83cecabf9b3d09036ff2ffc8296cc41fa4a060cc.
----------
[Bug #22278] Suppress source warnings in Coverage.line_stub
`Coverage.line_stub` compiles the given file with
`RubyVM::InstructionSequence.compile_fil... - 08:35 AM Revision 83cecabf (git): [Bug #22278] Suppress source warnings in Coverage.line_stub
- `Coverage.line_stub` compiles the given file with
`RubyVM::InstructionSequence.compile_file`, which emits every parser
and compiler warning found in the source when `$VERBOSE` is enabled
(e.g. "assigned but unused variable"). The helper ... -
08:27 AM Revision a987e89f (git): [ruby/zlib] Hide the dictionaries of Zlib::Inflate from Ruby
- They were kept in @dictionaries, which can be replaced with a non-Hash.
z = Zlib::Inflate.new
z.instance_variable_set(:@dictionaries, 1)
z.add_dictionary("foo")
#=> [BUG] Segmentation fault at 0x0000000000000003
https://github.... -
08:02 AM Revision 93850485 (git): [ruby/zlib] Merge pull request #177 from segiddins/segiddins/gzreader-external-encoding
- Return the external encoding from GzipReader#external_encoding when converting
https://github.com/ruby/zlib/commit/cf67abf599
Hiroshi SHIBATA (2):
Merge branch 'master' into segiddins/gzreader-external-encoding
Merge pull r... -
08:02 AM Revision e11e300a (git): [ruby/zlib] Merge pull request #173 from segiddins/segiddins/inflate-add-dictionary-buferror
- Do not raise Zlib::BufError when the dictionary id ends the available input
https://github.com/ruby/zlib/commit/ba47520182
Hiroshi SHIBATA (2):
Merge branch 'master' into segiddins/inflate-add-dictionary-buferror
Merge pull... - 08:02 AM Revision 44e082d7 (git): [ruby/zlib] Do not write through a shared buffer in GzipReader#read and #readpartial
- zstream_shift_buffer() fills the buffer given by the caller with
rb_str_resize() followed by memcpy(). rb_str_resize() returns at once
for a string that shares its memory when the length does not change,
and it only clears the coderange... -
07:37 AM Revision e2435664 (git): variable.c: avoid calling RSHAPE_EDGE_NAME in rb_obj_field_get
- It's only used for assertions and used to be a simple pointer
dereference, but now it's a somewhat expensive call to `rb_id_serial_to_id`. -
07:37 AM Revision e7aa24d0 (git): Shrink redblack_node_t from 24B to 16B
- By storing shape_id_t instead of `rb_shape_t *` we save a full word.
-
07:37 AM Revision 27fed622 (git): shape.c: store edge name as `rb_id_serial_t`
- Just like `id_table` does, this reduce the edge name down to a
32-bit value allowing `rb_shape_t` to shrink from 32B to 24B.
The downside is that converting a serial back into an ID costs
a lookup, but we rarely do this. -
06:55 AM Revision 3a097a45 (git): [ruby/zlib] Keep input given to Zlib::Inflate#inflate(buffer:) after the stream ends
- Without :buffer such input is kept as output, but with it the buffer was truncated right after the input had been appended to it, so the data was dropped. Return it in the buffer, which is the documented return value.
https://github.com... -
06:55 AM Revision 49a7f6f8 (git): [ruby/zlib] Carry over pending output when buffer: is given mid-stream
- The carry-over for a replaced buffer only ran when the previous call also used buffer:, so output still held from a call without it, or from #<<, was dropped.
https://github.com/ruby/zlib/commit/8e8761b747
Co-Authored-By: Claude Opus 5... -
06:52 AM Revision 0cf4a464 (git): [ruby/zlib] Compare with the encoding before EOF in test_read_encoding_at_eof
- With Encoding.default_internal set, as under ruby -U, GzipReader converts to it and the read encoding is not EUC-JP.
https://github.com/ruby/zlib/commit/c096402b41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
06:52 AM Revision 67320f5f (git): [ruby/zlib] Keep the encoding of GzipReader#read at EOF
- Without a length, GzipReader#read returned a binary empty string once all data had been read, while the earlier calls return strings in the read encoding. IO#read keeps the read encoding at EOF too.
https://github.com/ruby/zlib/commit/9... -
06:51 AM Revision c10bc4c5 (git): [ruby/zlib] Make the locked buffer test reach the lock on older Rubies
- `IO#read` up to Ruby 3.1 resizes a buffer shorter than the read, so `Zlib::Inflate#inflate` failed on the resize before reaching the lock. TruffleRuby's `IO#read` does not lock the buffer at all.
https://github.com/ruby/zlib/commit/7906... -
06:51 AM Revision 609722f1 (git): [ruby/zlib] Keep the pending input when the output buffer cannot be locked
- A failure of `rb_str_locktmp` escaped `zstream_run_try` before the unconsumed input was put back into the stream, so a retry after the error ended in `Zlib::BufError`.
https://github.com/ruby/zlib/commit/a62f34a5dd
Co-Authored-By: Clau... -
06:51 AM Revision f74d8177 (git): [ruby/zlib] Do not unlock an output buffer locked by another thread
- zstream_run_func took the temporary lock on the output buffer inside rb_ensure, so when the buffer given as `buffer:` was already locked, for example by `IO#read` in another thread, the failed lock still ran the ensure and released that ...
-
06:47 AM Revision 91c0cad5 (git): [ruby/zlib] Test Zlib::Deflate#params with a block
- When a Z_BUF_ERROR retry fills the output buffer, params yields it to the block. No test went through that path, which crashed the interpreter while the retry still expanded the buffer before counting its output.
https://github.com/ruby... -
06:47 AM Revision 40cfb2d1 (git): [ruby/zlib] Count Zlib::Deflate#params output before warning about Z_BUF_ERROR
- rb_warning() can run Ruby code through Warning.warn and $stderr. When that raised, the bytes the previous deflateParams() call had written were left uncounted, the next write to the stream overwrote them, and the output no longer inflate...
-
06:47 AM Revision a9be68bc (git): [ruby/zlib] Pass keywords through in Zlib::GzipReader.zcat
- zcat forwards its arguments to GzipReader.new with rb_funcallv, which
does not mark the options hash as keywords. Since Ruby 3.0 the keyword
separation makes GzipReader#initialize reject it as an extra positional
argument, so the documen... -
06:42 AM Revision d4c212a0 (git): [ruby/mmtk] T_SYMBOL does not need obj_free
- https://github.com/ruby/mmtk/commit/99e758199d
-
06:30 AM Revision 3f96fa89 (git): [ruby/zlib] Do not match the line separator inside a multibyte character in GzipReader#gets
- The separator was searched bytewise with memchr and memcmp, without checking that a match starts on a character boundary. In Shift_JIS the second byte of a character can be an ASCII byte such as "@", "a" or "|", so gets with such a separ...
-
06:28 AM Revision 172a1181 (git): [ruby/zlib] Close the encoding converter when a GzipFile is freed
- The converter opened for external/internal encoding options was only
closed on rewind, so it leaked for every GzipReader and GzipWriter.
gz = Zlib.gzip("abc")
opts = {external_encoding: "Shift_JIS", internal_encoding: "UTF-8"}
300... -
06:28 AM Revision ac1d42e0 (git): [ruby/zlib] Detect a separator modified during Zlib::GzipReader#gets
- rscheck required both the pointer and the length to change, so a
separator reallocated to the same length was not detected and the
freed pointer was read.
rs = "-" * 1000
src = StringIO.new(Zlib.gzip(Random.bytes(200_000).tr("-", "x... -
06:26 AM Revision b46c4e88 (git): [ruby/zlib] Store the result in outbuf in Zlib::GzipReader#read(nil, outbuf)
- outbuf was only used as the scratch buffer for the underlying readpartial, so it was left holding compressed bytes while a separate String was returned. Fill and return it like IO#read, in the reader's encoding, and reject a frozen one b...
-
06:26 AM Revision e46acc60 (git): [ruby/zlib] Reject a non-String outbuf in Zlib::GzipReader#read
- #readpartial already raises TypeError for one, but #read wrote into whatever object was passed.
https://github.com/ruby/zlib/commit/3fc5f36499
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
06:24 AM Revision 038be092 (git): [ruby/zlib] Do not share the output buffer in Zlib::Deflate#initialize_copy
- The copy shared the buffer string with the original, and its next_out
still pointed into the original's buffer.
z1 = Zlib::Deflate.new
z1 << Random.bytes(50_000)
z2 = z1.dup
z2 << "foo"
#=> can't set length of shared string (R... -
06:23 AM Revision cb5d5835 (git): [ruby/zlib] Allocate the output buffer before Zlib::Deflate#params
- deflateParams may write output, but the buffer could be nil, and then
next_out was NULL and z->buf was used as a String.
Zlib::Deflate.new.params(1, 0)
#=> [BUG] Segmentation fault at 0x0000000000000014
https://github.com/ruby/zlib... -
06:23 AM Revision 63285bf0 (git): [ruby/zlib] Keep ZSTREAM_IN_PROGRESS when raising InProgressError
- The ensure that clears the flag also ran for a call rejected by
InProgressError. After rescuing it, the stream was no longer marked
as in progress, so the recursive call prevented by [Bug #18358] was
allowed again.
s = Zlib.deflate(R... -
05:47 AM Revision 6a3f481d (git): Bound the regexp lock test helper by time
- The helper doubled the string up to 48_000 and flunked when no thread
switch happened; the O(n^2) match then could take over a minute. Stop
after 10 seconds and omit instead, as the environment decides whether
the timer interrupt switch... -
05:47 AM Revision c75ab848 (git): Match grapheme clusters on a frozen copy of the string
- String#grapheme_clusters and each_grapheme_cluster.size passed
RSTRING_PTR(str) to onig_match() directly. Interrupt checks in the
match may run other threads, which can modify str and free the buffer
being read. The block form already ... -
05:47 AM Revision b0bea23c (git): Keep the buffer of a locked string during a regexp match
- When the target string is already locked, e.g. by another thread
matching the same string, rb_reg_onig_match() matched it without taking
the lock. The owner of the lock could release it in the middle of the
match, and then the string cou... -
05:47 AM Revision 52214dff (git): Lock the target string during a regexp match
- A regexp match checks interrupts every 128 steps (CHECK_INTERRUPT_IN_MATCH_AT),
so other threads, trap handlers or finalizers can run in the middle of the
match. If one of them modified the target string, the buffer onigmo was
reading co... -
05:01 AM Revision bef83e40 (git): ZJIT: Inline block bodies on invokeblock (#20137)
- Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
-
03:40 AM Revision 77e1d94a (git): Fix super call in uncached method with argument forwarding
- A super call in any uncached method with argument forwarding will recurse
forever, causing a SystemStackError. For example, the following code will
recurse forever:
class Foo
def self.attr_accessor(...) = super
attr_acce... -
03:01 AM Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- Thank you! I've set the Backport field. 3.3 is not affected, as #22257 was not backported to `ruby_3_3`.
-
02:58 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
- @nobu please attend to the pr when you get a chance, thanks!
-
02:54 AM Bug #22640 (Open): Thread stack size is one guard page too small on glibc 2.27+, and running into the guard is a segmentation fault
## Summary
On Linux with glibc 2.27 or later, `get_stack()` in `thread_pthread.c` takes the guard size off the size of a thread's stack, although glibc no longer counts the guard in that size. For every thread but the main one this ...- 02:25 AM Revision 7402606d (git): Bump zizmorcore/zizmor-action
- Bumps the github-actions group with 1 update in the / directory: [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).
Updates `zizmorcore/zizmor-action` from 0.8.1 to 0.9.1
- [Release notes](https://github.com/zizmo... -
01:57 AM Bug #22481 (Closed): `break` in block passed to Method#to_proc causes [BUG] Stack consistency error
- Applied in changeset commit:git|3a148d550641083ee7842ed14937f4fef9af4429.
----------
Adjust stack after ifunc frame is pushed
When a method converted with Method#to_proc yielded to a block
containing break, the VM could resume the call... -
01:57 AM Revision 3a148d55 (git): Adjust stack after ifunc frame is pushed
- When a method converted with Method#to_proc yielded to a block
containing break, the VM could resume the caller with extra values
on its stack. Internally, Method#to_proc creates a proc backed by a
C callback. The VM used to invoke that ... -
01:18 AM Revision a3e35c6c (git): Take the write lock in io_binwrite and io_binwritev during a flush
- io_flush_buffer_sync updates wbuf.off and wbuf.len without the GVL. If
io_binwrite or io_binwritev was called at that moment, it could read
the buffer in an inconsistent state.
io_flush_buffer_sync holds fptr->write_lock, so io_binwrit... -
01:18 AM Revision 68a141d7 (git): Remove unreachable branches for a missing write lock
- io_allocate_write_buffer always creates fptr->write_lock, so it is never
nil after that call in io_binwrite and io_binwritev.
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
11/25/2026
-
11:57 PM Revision cb181116 (git): [ruby/mmtk] Add T_FILE, T_ICLASS, T_MATCH to obj_can_parallel_free_p
- These types can be freed in parallel.
https://github.com/ruby/mmtk/commit/8e0b385c5f - 10:05 PM Revision f46d41a5 (git): [ruby/stringio] Fix `gets` with a limit around a truncated character
- on JRuby
(https://github.com/ruby/stringio/pull/241)
`StringIO#gets`, `#readlines` and `#each_line` with a byte limit adjust
the end of the line to a character boundary. On JRuby, the adjustment
breaks when the string ends with a trunca... - 10:03 PM Revision 78b3edc4 (git): [ruby/stringio] Fix `binmode` and iterations of a null device
- `StringIO`
(https://github.com/ruby/stringio/pull/243)
`StringIO#binmode` of a null device (`StringIO.new(nil)`) raises
`FrozenError` because it tries to associate the encoding with `nil`. On
JRuby, it raises `Java::JavaLang::NullPointe... - 10:03 PM Revision e68f80c1 (git): [ruby/stringio] Accept a non-`Integer` position in `pos=` on JRuby
- (https://github.com/ruby/stringio/pull/242)
`StringIO#pos=` on JRuby raises
`Java::JavaLang::ClassCastException` for an argument that isn't a
`Fixnum`:
```ruby
io = StringIO.new("foo")
io.pos = 1.0 # => Java::JavaLang::ClassCastExcepti... -
09:33 PM Bug #22516 (Closed): Emacs-Mule accepts a code point whose first byte is below 0x80 in format("%c")
- Applied in changeset commit:git|af337e692e882960fbe3090cff4476cb43ea6f38.
----------
Make code_to_mbclen of Emacs-Mule agree with code_to_mbc
code_to_mbc writes each non-zero byte of the code point, plus the last
byte, but code_to_mbcl... -
09:33 PM Revision af337e69 (git): Make code_to_mbclen of Emacs-Mule agree with code_to_mbc
- code_to_mbc writes each non-zero byte of the code point, plus the last
byte, but code_to_mbclen took its length from the highest byte that was
0x80 or above. The two disagreed in two ways:
format(("a" * 100 + "%c").force_encoding("... -
09:30 PM Revision 2ffd03ab (git): Fix String#rindex missing a match whose first byte repeats
- str_rindex looks for the first byte of the substring with memrchr. When
that byte turned out to be inside a character, it moved the search end
to before that character, so a match starting there was never checked:
"=A".encode("Shift... -
09:15 PM Revision 2006d39e (git): [ruby/prism] Unset static literal for xstrings
- https://github.com/ruby/prism/commit/a5e01d818f
-
09:15 PM Revision 46cbd4be (git): [ruby/prism] Use Ruby 3.4 syntax for implicit it parameter assertions
- https://github.com/ruby/prism/commit/7519a4065b
-
09:15 PM Revision fd3a7f3b (git): [ruby/prism] Ignore encoding directives on a shebang found at EOF
- https://github.com/ruby/prism/commit/4d74b1c25e
-
09:15 PM Revision b8db3708 (git): [ruby/prism] Use a zero-width location for missing method names
- https://github.com/ruby/prism/commit/2935e3c882
-
09:15 PM Revision 7a981abf (git): [ruby/prism] Make sure unterminated errors do not point into DATA
- https://github.com/ruby/prism/commit/5215b1ed20
-
09:15 PM Revision 44b656b9 (git): [ruby/prism] Disallow infix operators after interpolated labels
- https://github.com/ruby/prism/commit/a0e86e3dc4
-
09:15 PM Revision 2be1d3a3 (git): [ruby/prism] Check encoding compatibility within %W and %I elements
- https://github.com/ruby/prism/commit/437c9df3c7
-
09:15 PM Revision 42186bd6 (git): [ruby/prism] Match unterminated quoted encoding name behavior
- https://github.com/ruby/prism/commit/70dc07fb27
-
09:15 PM Revision 6ced6755 (git): [ruby/prism] Handle searching for shebang properly in parse_stream
- https://github.com/ruby/prism/commit/07685d16d9
-
09:15 PM Revision 8b1fb03e (git): [ruby/prism] Extract out shebang searching
- https://github.com/ruby/prism/commit/323acb9c3d
-
09:15 PM Revision 46b21ca6 (git): [ruby/prism] Resolve implicit block parameters in shorthand hash values
- https://github.com/ruby/prism/commit/da1ade1f0f
-
09:15 PM Revision 6ff35ad9 (git): [ruby/prism] Preserve enclosing terminators during hash pattern recovery
- https://github.com/ruby/prism/commit/fda0cdbe1b
-
09:00 PM Bug #22636 (Closed): String#rindex misses a match when its first byte repeats within the first character
- Applied in changeset commit:git|13cf4db246dfc03e5cf2c1e1a522fcbc6c58d1c7.
----------
Fix String#rindex missing a match whose first byte repeats
str_rindex looks for the first byte of the substring with memrchr. When
that byte turned ou... -
03:21 AM Bug #22636 (Closed): String#rindex misses a match when its first byte repeats within the first character
- `String#rindex` misses a match when the substring's first byte appears again later in its first character. `=` is `"\x81\x81"` in Shift_JIS:
```ruby
s = "=A".encode("Shift_JIS")
s.index("=".encode("Shift_JIS")) # => 0
s.rindex("="... -
09:00 PM Revision 13cf4db2 (git): Fix String#rindex missing a match whose first byte repeats
- str_rindex looks for the first byte of the substring with memrchr. When
that byte turned out to be inside a character, it moved the search end
to before that character, so a match starting there was never checked:
"=A".encode("Shift... -
08:48 PM Revision 4282b711 (git): wbcheck: Add WBCHECK_EXACT_SIZE to allocate objects at the requested size
- wbcheck mallocs each object separately, but rounded the size up to the
same heap sizes as the default GC, so an overrun past the end of what the
caller asked for usually landed in padding. With WBCHECK_EXACT_SIZE=1
rb_gc_impl_size_slot_s... - 08:22 PM Revision 6c39222a (git): Update default gems list at dc1df2ef9c9775ae652f16cf75d216 [ci skip]
-
08:21 PM Revision dc1df2ef (git): [ruby/open3] v0.3.1
- https://github.com/ruby/open3/commit/25d41c565e
- 07:18 PM Revision 42a644f6 (git): Fix stale 7-bit coderange in String#tr with a Hash
- For encodings other than UTF-8, US-ASCII and ASCII-8BIT, the coderange
downgrade checked the source character instead of the replacement. An
ASCII-only receiver has only ASCII source characters, so the result stayed
marked 7-bit after a ... -
06:57 PM Revision 63c8706c (git): re.c: reset offsets cache when re-using match data
- [Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt) -
06:23 PM Revision 9723cb1c (git): Fix String#byterindex returning an offset inside a character
- byterindex clamps its starting offset to bytesize - sub.bytesize, which
can be in the middle of a character. str_rindex checked for a match at
that position with memcmp before its main loop, without checking that
it was a character bound... -
06:05 PM Revision d4df3943 (git): [ruby/openssl] ssl: fix flaky test for SSLSocket#connect(timeout:)
- The server proc expected the second accept_nonblock, 0.2s after accept,
to complete the handshake. That holds only if the client has sent its
second flight (or closed) by then. On a slow machine the client with
`timeout: 0.1` could be st... - 05:48 PM Revision e8509c3c (git): Clear the coderange in String#slice! when removing from the middle
- [Bug #19739]
When the removed part did not start at the beginning, the receiver kept
its old coderange, which could be wrong for what was left:
```ruby
s = "aé"; s.valid_encoding?; s.slice!("é")
s.ascii_only? # => fals... -
05:33 PM Revision f0bc77f5 (git): [ruby/resolv] Stop defining a global Object#stub in the DNS tests
- The tests defined Object#stub unless one already existed, and the copy
dropped the block and keyword arguments. In ruby/ruby's test-all, when
test/resolv/test_dns.rb was loaded before the RubyGems tests in the same
process, Gem::TestCas... -
05:33 PM Revision 2abeaa04 (git): Merge RubyGems/Bundler 4.0.25
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
05:33 PM Revision 5a26a291 (git): Merge RubyGems/Bundler 4.0.24
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
05:33 PM Revision eb693d1e (git): Merge RubyGems/Bundler 4.0.23
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
05:33 PM Revision 4b279562 (git): Merge RubyGems/Bundler 4.0.22
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
05:33 PM Revision 74079cb7 (git): Merge RubyGems/Bundler 4.0.21
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
05:31 PM Bug #22447 (Closed): parse.y `-> do ... end` COND state
- Applied in changeset commit:git|74259b30fc7aafc001f5ee12c0eeb26a0178ecf4.
----------
Make lambda do honor loop do
[Bug #22447] -
05:31 PM Revision 74259b30 (git): Make lambda do honor loop do
- [Bug #22447]
-
05:24 PM Bug #22635: String#byterindex can return an offset inside a character
- 3.4: https://github.com/ruby/ruby/pull/20181
4.0: https://github.com/ruby/ruby/pull/20180 -
05:23 PM Bug #22635 (Closed): String#byterindex can return an offset inside a character
- Applied in changeset commit:git|fde586b886a4ea6f5ee15dd7ff5a8fb1094e6eac.
----------
Fix String#byterindex returning an offset inside a character
byterindex clamps its starting offset to bytesize - sub.bytesize, which
can be in the mid... -
05:22 PM Bug #22635: String#byterindex can return an offset inside a character
- I had to look up the meaning as well, whether the search cared about encoding (it does). I think this example is helpful to see the bug, which only occurs on the last character.
```
>> "C:\\data\\表".encode("Shift_JIS").byterindex("\\... -
01:43 PM Bug #22635: String#byterindex can return an offset inside a character
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Doesn't **byte** mean it never considers the encoding information?
The "byte" in byteindex/byterindex means that offsets and return values are measured in bytes, not that the encoding is ig... -
07:26 AM Bug #22635: String#byterindex can return an offset inside a character
- Doesn't **byte** mean it never considers the encoding information?
-
12:48 AM Bug #22635 (Closed): String#byterindex can return an offset inside a character
- `String#byterindex` can return the offset of a match that starts in the middle of a character. In Shift_JIS the second byte of `表` is `0x5C`, the same as `\`:
```ruby
s = "C:\\data\\表".encode("Shift_JIS")
s.byterindex("\\") # => 9, ... -
05:23 PM Revision fde586b8 (git): Fix String#byterindex returning an offset inside a character
- byterindex clamps its starting offset to bytesize - sub.bytesize, which
can be in the middle of a character. str_rindex checked for a match at
that position with memcmp before its main loop, without checking that
it was a character bound... - 05:06 PM Revision 0bb18ed9 (git): Clear the coderange in String#slice! when removing from the middle
- [Bug #19739]
When the removed part did not start at the beginning, the receiver kept
its old coderange, which could be wrong for what was left:
```ruby
s = "aé"; s.valid_encoding?; s.slice!("é")
s.ascii_only? # => fals... -
04:52 PM Revision c279df09 (git): Document the klass parameter of r_object_for
- 04:52 PM Revision 20937c9b (git): Reject non-Regexp classes for user class Regexp in Marshal.load
- Since cb03bf43eb, TYPE_REGEXP allocates the object with the class
given by an enclosing TYPE_UCLASS record. The type check in
TYPE_UCLASS then compares the class with itself and never rejects
it, so a stream like "\x04\x08C:\x0bString/\x... -
04:32 PM Bug #22220: Performance regression when requiring `aws-sdk-ec2` in Ruby 4.0.6
- added you to the Contributor group. you should be able to modify the Backport field yourself going forward.
-
01:07 PM Bug #22220: Performance regression when requiring `aws-sdk-ec2` in Ruby 4.0.6
- Thank you for catching this and creating the PR.
Merged into `ruby_3_4` at https://github.com/ruby/ruby/commit/6d46e323a97e26c37666611102e25913a9733a7b. -
08:23 AM Bug #22220: Performance regression when requiring `aws-sdk-ec2` in Ruby 4.0.6
- I've opened a backport PR for ruby_3_4: https://github.com/ruby/ruby/pull/20167
It's a clean cherry-pick of commit:5c9bb97ca8, the same change as commit:faa5caf1b7 on ruby_4_0. ruby_3_4 already contains commit:8a159ffbd6 (the #22126 bac... -
03:17 PM Bug #22632: parse.y magic encoding comments accept NUL bytes
- My concern is just about the value of the magic comment. Basically if `# encoding: binary\0ignored` should result in `Encoding.find("binary")` or `Encoding.find("binary\0ignored")` with the second one being an ArgumentError. To me it see...
-
09:55 AM Bug #22632: parse.y magic encoding comments accept NUL bytes
- Or do not consider such a line as a magic comment at all?
-
07:56 AM Bug #22632: parse.y magic encoding comments accept NUL bytes
- Now I think a SyntaxError would be better for such a line, while both of parse.y and prism accept it.
```console
$ for x in parse.y prism; do echo $'# encoding: binary\0ignored' | ./ruby -vc --parser=$x -; done
ruby 4.1.0dev (2026-1... -
03:07 PM Feature #22630: GC improvements
- We're just about to test it out, which we know will help. We tried a GC.disable approach originally and got hosed on that, so this was the recommendation afterwards.
-
08:31 AM Feature #22630: GC improvements
- No opinion on either patch, but:
> to reduce GC time/cost. It seems to be one of the biggest things we hit in our app.
I assume you're not using `GC.config(rgengc_allow_full_mark: false)` ? Any reason why? -
02:01 PM Bug #22638 (Closed): Out-of-bounds read via stale MatchData char-offset cache
- Applied in changeset commit:git|9d4d6c3c14b472e4f0a986f7e6ff9b2ff44e81b3.
----------
re.c: reset offsets cache when re-using match data
[Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt) -
01:06 PM Bug #22638 (Closed): Out-of-bounds read via stale MatchData char-offset cache
- ```ruby
input = "abcdefgh"
big = /(.)(.)(.)(.)(.)(.)(.)(.)/
small = /(.)/
big =~ input
input.split(small, 2) { |s| Regexp.last_match.offset(1) if s.length == 1 }
m = big.match(input)
p (0..8).map { |i| m.offset(i) }
```
Expe... -
02:01 PM Revision 9d4d6c3c (git): re.c: reset offsets cache when re-using match data
- [Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt) -
01:32 PM Revision e53e2ef5 (git): [ruby/net-http] Only accept a chunk size at the start of the chunk-size line
- read_chunked took the first run of hex digits anywhere in the line, so
lines such as "0x1f" or ";ext=1f" were read as different sizes. Require
the size at the start of the line, followed only by optional whitespace
and a chunk extension... -
01:32 PM Revision 5eb3d824 (git): [ruby/uri] Keep the RFC 2396 regexps within the match cache
- (https://github.com/ruby/uri/pull/271)
* Keep the RFC 2396 regexps within the match cache
The bounded repeats {2}, {1,3} and {1,4} inside other repeats keep the
regexp match cache from being used, and URI.extract and URI.regexp took
qu... -
01:06 PM Revision 6d46e323 (git): Optimize DCE
- [Bug #22220]
ref: https://bugs.ruby-lang.org/issues/22220
1f473ed633 split the walk into a counting pass and a deletion pass -- but
the counting pass only stops at `leave`, so it scans to the end of the
ISEQ on every call.
`opt_new` c... -
11:57 AM Bug #22637 (Closed): compilation segfault when using parse.y
- Found during differential fuzzing of prism vs parse.y. Seen on 89f7ea9a17 and `ruby 4.0.10 (2026-11-19 revision a704b7cd95) +PRISM [arm64-darwin27]`
```
ubuntu@d0a9fc66b4ca:/prism-fuzzer$ ruby --parser=parse.y -e 'm c,*[s:],*[*y]'
-e:... - 11:44 AM Revision e8167b0d (git): Compute the buffer size of unpack("u") without overflow
- The output buffer was sized as (send - s)*3/4, which overflows on
32-bit platforms when the input is longer than 715,827,882 bytes.
Valid uuencoded input then raised ArgumentError or was decoded to a
truncated or empty string without an ... -
11:25 AM Revision 2a3f7e1f (git): [ruby/mmtk] Fix clippy warning
- https://github.com/ruby/mmtk/commit/45fdff7857
-
11:23 AM Feature #10869 (Closed): Add support for option to pre-compile Ruby files
- bootsnap (https://github.com/rails/bootsnap) does this, among other things
-
11:20 AM Feature #12802 (Closed): Add BLAKE2 support to Digest
- digest now has BLAKE3 https://github.com/ruby/digest/issues/77
-
11:18 AM Feature #7321 (Closed): Newton.#nsolve の第 2 引数が複数の役割を持つ
- This functionality is now deprecated https://github.com/ruby/bigdecimal/pull/471
-
11:14 AM Feature #8786 (Closed): Process.clock_gettime(:realtime)
- Seems to be the case now `Process.clock_gettime(:CLOCK_REALTIME)`
-
11:10 AM Feature #9445 (Closed): Support emitting 1.9 Symbol keyword Hash syntax when pretty printing Hashes
-
11:06 AM Feature #7795 (Closed): Symbol.defined? and/or to_existing_symbol
- Symbols are GCed for a long time now
-
11:03 AM Feature #6946 (Closed): FIPS support?
-
11:02 AM Feature #6613 (Closed): VT_RECORD, IRecordInfo Support in WIN32OLE
-
10:24 AM Revision f2ee33dc (git): Stop installing MSYS2 in the Windows tarball test
- It was only there to provide patch for tool/extlibs.rb, but no extension ships an extlibs file anymore, so patch is never run. windows.yml dropped MSYS2 in b4c29b7af6, and setup-msys2 now fails to update pacman because the new signing ke...
-
10:24 AM Revision cad40645 (git): Stop installing MSYS2 in the Windows tarball test
- It was only there to provide patch for tool/extlibs.rb, but no extension ships an extlibs file anymore, so patch is never run. windows.yml dropped MSYS2 in b4c29b7af6, and setup-msys2 now fails to update pacman because the new signing ke...
-
09:40 AM Revision 3b188d0d (git): Stop installing MSYS2 in the Windows tarball test
- It was only there to provide patch for tool/extlibs.rb, but no extension ships an extlibs file anymore, so patch is never run. windows.yml dropped MSYS2 in b4c29b7af6, and setup-msys2 now fails to update pacman because the new signing ke...
-
09:35 AM Revision 97136c38 (git): Stop installing MSYS2 in the Windows tarball test
- It was only there to provide patch for tool/extlibs.rb, but no extension ships an extlibs file anymore, so patch is never run. windows.yml dropped MSYS2 in b4c29b7af6, and setup-msys2 now fails to update pacman because the new signing ke...
-
09:28 AM Revision 652b7e35 (git): Disable the match cache when the size of the cache opcodes overflows
- On platforms where size_t is 32-bit, the number of cache opcodes times
the size of OnigCacheOpcode could wrap and the array was allocated too
small. Give up the match cache in that case.
Reported-by: ProofHunt (https://hackerone.com/pr... -
09:23 AM Revision a4351997 (git): dtoa.c: Initialize S in dtoa
- When the allocation of mhi failed, the cleanup at nomem tested S
before it was assigned.
Reported-by: Jarek Prokop <jprokop@redhat.com>
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> -
09:03 AM Revision f70ba253 (git): [ruby/date] Set errno when the strftime buffer is filled up before the format ends
- date_strftime_with_tmx returned 0 without setting errno when the
output reached exactly maxsize - 1 with directives left, so
date_strftime_alloc ended up in rb_sys_fail with errno == 0.
Report ERANGE like the other out-of-room paths.
Re... -
09:01 AM Revision 5efb6c6e (git): Reject non-ASCII property names before the JIS property lookup
- The JIS property table is generated by gperf with -7, so its hash only
works for 7-bit names. Fall back to the generic lookup, which reports
the invalid name, when the name contains a non-ASCII byte.
Reported-by: 0xhello (https://hacke... -
08:57 AM Revision 614d2507 (git): Add a test for the end of the subject in str_lower_case_match
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
08:57 AM Revision d0462454 (git): Check the end of the subject in str_lower_case_match
- When a character of the subject folds to fewer bytes than the pattern
has, the loop continued after the subject was exhausted. Fail when no
subject is left. -
08:56 AM Revision e266c4cf (git): Check the precision in sprintf
- A negative precision given by `*` was ignored but its value was kept,
and the length of `%f` with an Integer could exceed the limit with a
precision near INT_MAX on 32-bit platforms.
Reported-by: ozsecresearch (https://hackerone.com/ozs... -
08:47 AM Revision 15574d5f (git): Check the argument of Set#initialize_copy before freeing the table
- Set#initialize_copy freed the receiver's table before checking that the
argument is a Set, so a TypeError left the receiver with a freed table.
Reported-by: Versa NexusIX <vnexusix@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@ant... -
08:43 AM Revision 697282a5 (git): Cover every byte value in the threaded VM's dispatch table
-
08:40 AM Revision 89cec0f0 (git): Allocate the group number map on the heap
- disable_noname_group_capture allocated the map on the stack, whose size
grows with the number of groups up to 128 KB. -
08:40 AM Revision 1f4b90df (git): Check integer overflows in Onigmo
- Reject look-behinds whose length does not fit in int, saturate
threshold_len, avoid casting an infinite distance to int in the
optimizer, check the relative number of \g<+n>, and use unsigned
shifts in BIT_STATUS_ON_AT and int arithmetic... -
08:24 AM Revision 0988275a (git): Reject huge character class data at parse time
-
08:10 AM Revision 5c1e5f8b (git): Bound the memory of the match cache table: a sparse table past 64 MB, and NoMemoryError when it cannot be allocated
-
08:07 AM Revision f94c867d (git): Add a test for chop of an invalid byte in Japanese encodings
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
08:07 AM Revision 9e1390da (git): Keep the encodings to the length contract and JIS property lookup to 7-bit names
-
08:02 AM Revision d6f13895 (git): Check every emission into the program, mark the emitters warn_unused_result, and bound BBuf growth
- 08:00 AM Revision cfb0984a (git): [ruby/zlib] Keep the inflated member alive in GzipReader.zcat
- Zlib::GzipReader.zcat copied each inflated member into the result with rb_str_cat, but nothing referenced the member string after its pointer and length were read, so a GC triggered while growing the result could free it in the middle of...
-
07:59 AM Revision 06c9ecb1 (git): Keep the MatchData in $~ visible during String#scan and String#gsub
- String#scan and String#gsub hid the reused MatchData in $~ while
searching without setting its string, so when the matching raised in
the middle, such as by a timeout, a hidden MatchData was left in $~.
Hide it only while its string is n... -
07:59 AM Revision 28da40d2 (git): Set the string of $~ in the first iteration of String#scan
- String#scan without a block updated only the positions of $~ until the
end, so when the matching raised in the middle, such as by a timeout,
$~ was left with the string of an earlier match and the positions in
the receiver.
Reported-by:... -
07:58 AM Revision 3a5eedd0 (git): Do not take a negative code point for ASCII
- Do not take a code point that is negative as int (a four-byte character
of GB18030) for ASCII and index the ASCII tables with it. -
07:56 AM Revision 929caf82 (git): Fix flaky test_global_compaction_cpu_intervals_do_not_overlap on Windows
- `GetThreadTimes` advances `CLOCK_THREAD_CPUTIME_ID` in 15.625ms ticks and charges each tick to the interval it lands in, so five `GC.compact` calls of a few milliseconds each can leave `GC.total_time` unchanged and the `> 0` assertion fa...
-
07:55 AM Revision bb27ff85 (git): Do not read the byte at end in left_adjust_char_head
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
07:55 AM Revision c623cb8d (git): Check the remaining length before OP_PUSH_OR_JUMP_EXACT1 peeks
- Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-
07:55 AM Revision 48b664a9 (git): Add tests for reading at the end of the subject
- Co-authored-by: Hiroya Fujinami <make.just.on@gmail.com>
-
07:55 AM Revision cc690fad (git): Do not read the subject at its end, and keep sprev right after an empty back reference
-
07:54 AM Feature #5558 (Closed): String#% strange arity errors
- Fixed by https://bugs.ruby-lang.org/issues/22136
-
07:44 AM Feature #17036 (Closed): Regexp deconstruction keys to allow pattern matching
-
07:42 AM Bug #16158 (Closed): "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
-
07:41 AM Bug #14838 (Closed): RegexpError with double "s" in look-behind assertion in case-insensitive unicode regexp
-
07:39 AM Revision 870175cc (git): Update the test of Regexp#initialize from a warning hook
- The parser's warnings are now emitted after the compilation, so the hook
runs after the receiver has been initialized.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
07:39 AM Revision 641da7b1 (git): Discard the warnings kept during the trial compilation of Regexp#to_s
- The trial compilation sets $VERBOSE to nil to suppress its warnings, but
the warnings kept by the parser were emitted after $VERBOSE was restored.
Discard them instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
07:39 AM Revision fcb2a392 (git): Keep Ruby exceptions from jumping out of Onigmo
- Catch what the interrupts raise in the matcher, and emit the parser's
warnings after the compilation.
Adapted to the regexp variants of reg_prepare_re by Yusuke Endoh.
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> -
07:39 AM Revision 19841d3b (git): Define ONIG_THREAD_LOCAL
- Taken from makenowjust's node arena patch, for the thread-local variables
that the next change adds to re.c.
Co-authored-by: Hiroya Fujinami <make.just.on@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
06:56 AM Revision f63048e9 (git): Check single_byte_optimizable after converting the arguments of String#tr
- tr_trans computed single_byte_optimizable before calling to_str on the
arguments, which can replace the receiver with a multibyte string. Compute
it after the conversions.
Reported-by: clawd (https://hackerone.com/clawdbot520)
Co-Author... - 06:51 AM Revision 27e5026b (git): [DOC] Update bundled gems list at 84a8f0a8e65fddb62fae07c4614806
-
05:50 AM Revision 84a8f0a8 (git): Disable the match cache when the number of cache points overflows long
- On platforms where long is 32-bit, the number of cache points summed over
repeats could wrap and the cache buffer was allocated too small. Give up
the cache instead when the number would exceed half of LONG_MAX. -
05:46 AM Revision efebd566 (git): [ruby/strscan] [DOC] Fix heading levels
- (https://github.com/ruby/strscan/pull/225)
First heading should be level 1, not 2.
Fixed, along with adjustments to subheadings.
---------
https://github.com/ruby/strscan/commit/81357f8083
Co-authored-by: Sutou Kouhei <kou@cozmixng.... - 05:36 AM Revision d690f356 (git): separate FMODE_SETENC_BY_BOM test from bom prefix stripping in parse_mode_enc
- strip the "bom|" prefix only when io_encname_bom_p matches, which already checks the length, and test the flag on its own for the utf- check. a flag carried in from the mode string no longer shifts an unprefixed encoding: name.
- 05:36 AM Revision 70249127 (git): fix out-of-bounds access in parse_mode_enc bom prefix stripping
- parse_mode_enc strips a leading "bom|" by advancing estr and subtracting bom_prefix_len whenever FMODE_SETENC_BY_BOM is set. that flag can be carried in from the mode string while estr comes from a separate encoding: option, so a name wh...
-
05:23 AM Revision 7994e1be (git): Raise ArgumentError for a negative length in socket recv methods
- recv, recvfrom, read_nonblock and their nonblock variants did not check
the sign of the length when an output buffer was given. Reject it like
IO#read does.
Reported-by: RNando (https://hackerone.com/ernans)
Co-Authored-By: Claude Opus ... - 04:49 AM Revision 2c09e899 (git): [ruby/zlib] Reject negative Zlib output sizes
- https://github.com/ruby/zlib/commit/ca6e1fa216
-
03:45 AM Bug #22606 (Closed): Lazy zero repeat `x{0,0}?` can match one `x`, and raises "undefined bytecode (bug)" since 4.0
- Applied in changeset commit:git|524ff52b7977fa45bbb2056741f5178202461f90.
----------
[Bug #22606] Compile a repeat whose upper bound is zero to nothing
A lazy repeat with an upper bound of zero, such as x{0,0}?, was compiled
as a loop,... -
03:45 AM Revision 77b5f21d (git): Remove the match cache analysis for a repeat whose upper bound is zero
- Such a repeat is no longer compiled to OP_REPEAT or OP_REPEAT_NG, so
the analysis never sees it.
[Bug #22606]
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> -
03:45 AM Revision d9afda3a (git): Add tests for a lazy repeat whose upper bound is zero
- [Bug #22606]
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> -
03:45 AM Revision 524ff52b (git): [Bug #22606] Compile a repeat whose upper bound is zero to nothing
- A lazy repeat with an upper bound of zero, such as x{0,0}?, was compiled
as a loop, unlike the greedy one. It could run its body once on
backtracking, and the match cache analysis for it could fail with
"undefined bytecode (bug)". -
03:32 AM Revision 0d2f784e (git): st.c: Do not free the given table on allocation failure
- st_init_existing_table_with_size freed the table passed by the caller
when the allocation of entries failed without RUBY defined, and then
st_init_table_with_size freed it again. Leave it to the caller.
Reported-by: Jarek Prokop <jprok... -
03:27 AM Revision 1fef59ad (git): compile.c: Initialize val for shareable constant array elements
- val was left unset if a list element were NULL. No syntax seems to
produce such a list here, but make it explicit as in the hash case.
Reported-by: Jarek Prokop <jprokop@redhat.com>
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.... -
03:00 AM Revision a17b9f22 (git): ZJIT: Recompile when an objtostring String guard fails (#19982)
- * ZJIT: Recompile when an objtostring String guard fails
When objtostring has only seen Strings, ZJIT guards that the value is a
String. The guard didn't recompile, so any other value side-exited on
every call for as long as that versio... -
02:51 AM Bug #22633 (Closed): Enumerator#peek_values segfaults when the enumerated code calls Fiber.yield with a non-Array
- Applied in changeset commit:git|8888bcfc418b31483ddc6008681bc8eae6b12c60.
----------
Return a non-Array value from Enumerator#peek_values as is
A Fiber.yield inside the enumerator passes its value as the next values,
which Enumerator#n... -
02:51 AM Revision 8888bcfc (git): Return a non-Array value from Enumerator#peek_values as is
- A Fiber.yield inside the enumerator passes its value as the next values,
which Enumerator#next_values returns as is, but #peek_values tried to
duplicate it as an Array.
[Bug #22633]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> - 02:26 AM Revision 4622f65c (git): Bump the github-actions group across 1 directory with 2 updates
- Bumps the github-actions group with 2 updates in the / directory: [msys2/setup-msys2](https://github.com/msys2/setup-msys2) and [taiki-e/install-action](https://github.com/taiki-e/install-action).
Updates `msys2/setup-msys2` from 2.33.... -
02:24 AM Revision 62be8d2d (git): ZJIT: Don't specialize super from a refined method (#19976)
- * ZJIT: Add a test for super from a refined method
* ZJIT: Don't specialize super from a refined method
When a refined method is called through `using`, its CME has the
refinement's iclass as its defined_class. That iclass sits in the
... - 01:08 AM Revision 12c8365a (git): Update default gems list at a925a9997115b3cdd5a6ee824d4068 [ci skip]
-
01:07 AM Revision a925a999 (git): [ruby/rubygems] Bump Rubygems version to 4.1.1
- https://github.com/ruby/rubygems/commit/ff54fe3126
-
01:07 AM Revision a864e354 (git): [ruby/rubygems] Bump Bundler version to 4.1.1
- https://github.com/ruby/rubygems/commit/832a60a57c
-
01:07 AM Revision cb916ebf (git): [ruby/rubygems] Merge pull request #10128 from ruby/claude/rubygems-file-permissions-d10124
- Fix file permissions during gem extraction
(cherry picked from commit https://github.com/ruby/rubygems/commit/f6fe63134bf4)
https://github.com/ruby/rubygems/commit/ce1c91d7cb -
01:07 AM Revision 146ec168 (git): [ruby/rubygems] Merge pull request #10127 from ruby/claude/assign-unsharded-specs
- Assign the specs missing from the shard list to shard_d
(cherry picked from commit https://github.com/ruby/rubygems/commit/d496176b64d0)
https://github.com/ruby/rubygems/commit/b8668f69fa - 12:33 AM Revision 6698249e (git): ZJIT: Sign-extend narrow loads to 64 bits (#19241)
-
12:28 AM Revision c30e3b36 (git): Fix crash in Ractor.shareable_proc with argument forwarding
- Ractor.shareable_proc does not correctly handle ... argument forwarding
because it does not correctly copy the env. The following script crashes:
def foo(*a) = a
def bar(...) = Ractor.shareable_proc { foo(...) }
pr = bar(1, ... -
12:26 AM Revision 2519b093 (git): Avoid copy-on-write commit for read-only private mappings on Windows
- Windows charges commit for the entire view when FILE_MAP_COPY is requested. Read-only private buffers cannot modify the mapped pages, so a read-only view avoids that charge.
11/24/2026
-
11:45 PM Revision 0607a4a4 (git): [ruby/resolv] Stop defining a global Object#stub in the DNS tests
- The tests defined Object#stub unless one already existed, and the copy
dropped the block and keyword arguments. In ruby/ruby's test-all, when
test/resolv/test_dns.rb was loaded before the RubyGems tests in the same
process, Gem::TestCas... -
11:01 PM Revision a469c88b (git): ZJIT: Allocate side-exit JITFrames after deduplication
- For side-exits, we used to allocate a JITFrame for them, run side-exit
deduplication, and then set the stack map on the exits remaining.
Because the we never deallocate from the JITFrame arena, all memory
allocated for JITFrames in the r... -
10:20 PM Bug #22551 (Closed): YJIT: String#<< clears the receiver's coderange
- Applied in changeset commit:git|1ed05952d2a61dfa0a27123374ab3448e13098fa.
----------
YJIT: Maintain code range for String#<< with a string argument
Previously, YJIT's fastpath for appending a string to a string
unconditionally cleared ... -
10:20 PM Revision b62d8405 (git): ZJIT: Record whether an inlined frame has a receiver slot in stack maps (#20113)
- Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
-
10:17 PM Revision 5a0ec137 (git): Delete rb_jit_str_simple_append, which is now unused
-
10:15 PM Revision 00b29f4d (git): ZJIT: Maintain code range for String#<< with a string argument
- Previously, through rb_jit_str_simple_append(), appending a string to a
string unconditionally cleared the code range of the receiver. This
created a performance cliff for workloads that alternate between
appending and potentially scanni... -
10:15 PM Revision 1ed05952 (git): YJIT: Maintain code range for String#<< with a string argument
- Previously, YJIT's fastpath for appending a string to a string
unconditionally cleared the code range of the receiver. This created a
performance cliff for workloads that alternate between appending and
potentially scanning operations, s... - 10:08 PM Revision 040d3f32 (git): Reject broken keys and values in String#tr with a Hash
- A broken key could match bytes inside a valid character, and a broken key
or value produced a broken result whose coderange was cached as valid:
```ruby
"あい".tr("\x81" => "X") # => "\xE3X\xE3X", valid_encoding? true
"abc".tr("a... -
08:24 PM Revision 89f7ea9a (git): [ruby/prism] Explicitly cast flags to u8
- https://github.com/ruby/prism/commit/d4b9e07ed3
-
08:24 PM Revision 85218233 (git): [ruby/prism] Move more tests into fixtures
- https://github.com/ruby/prism/commit/1a8ca75442
-
08:24 PM Revision 1256bc49 (git): [ruby/prism] Omit even more ripper tests
- https://github.com/ruby/prism/commit/3a5db92142
-
08:24 PM Revision d0336f8c (git): [ruby/prism] Parse BEGIN blocks as statement-list entries
- https://github.com/ruby/prism/commit/c74855a9b4
-
08:24 PM Revision d7e57cd9 (git): [ruby/prism] Preserve misplaced statements in error recovery nodes
- https://github.com/ruby/prism/commit/68539b13cb
-
08:24 PM Revision 9248e80b (git): [ruby/prism] Remove one more deferred test
- https://github.com/ruby/prism/commit/5750fcede2
-
08:24 PM Revision 7f705c90 (git): [ruby/prism] Remove deferred tests
- https://github.com/ruby/prism/commit/0b094869cb
-
08:24 PM Revision 39e4dbea (git): [ruby/prism] Omit a couple more ripper tests
- https://github.com/ruby/prism/commit/531f929106
-
08:24 PM Revision 0c311b70 (git): [ruby/prism] Fix up error test expectation
- https://github.com/ruby/prism/commit/28c986bd4f
-
08:23 PM Revision fc276bc5 (git): [ruby/prism] Preserve blank lines when dedenting heredocs in Ripper
- https://github.com/ruby/prism/commit/b004618862
-
08:23 PM Revision 8ce2b6e3 (git): [ruby/prism] Fix Ripper translation of parenthesized patterns with guards
- https://github.com/ruby/prism/commit/956649fc97
-
08:23 PM Revision ae7882b6 (git): [ruby/prism] Fix Ripper translation of parentheses in nested patterns
- https://github.com/ruby/prism/commit/da127155c5
-
08:23 PM Revision 3d514186 (git): [ruby/prism] Omit a couple more ripper tests
- https://github.com/ruby/prism/commit/3c8955de57
-
08:23 PM Revision bc3cfecc (git): [ruby/prism] Fix Ripper translation of command calls in index writes
- https://github.com/ruby/prism/commit/c0a4c6b15c
-
08:23 PM Revision ab4d1027 (git): [ruby/prism] Fix Ripper tokenization of keyword method names in write targets
- https://github.com/ruby/prism/commit/2849c092f6
-
08:23 PM Revision a35ba1b1 (git): [ruby/prism] Fix Ripper translation of :: write targets in for and rescue
- https://github.com/ruby/prism/commit/21a52fe6ed
-
08:23 PM Revision b6f84ab7 (git): [ruby/prism] Distinguish not() from not () in Ripper translation
- https://github.com/ruby/prism/commit/b0e6a541fb
-
08:23 PM Revision 64d93f17 (git): [ruby/prism] Skip Ripper comparisons for word lists spanning a heredoc
- https://github.com/ruby/prism/commit/2c3aa64264
-
08:23 PM Revision 97f2a279 (git): [ruby/prism] Parse beginless ranges as ternary predicates in call arguments
- https://github.com/ruby/prism/commit/3a2f6f5bb1
-
08:23 PM Revision fe01c067 (git): [ruby/prism] Validate jumps in singleton class receivers in the enclosing loop scope
- https://github.com/ruby/prism/commit/f4239a9459
-
08:23 PM Revision 9d577352 (git): [ruby/prism] Reject jumps in endless methods when the loop modifier applies to the definition
- https://github.com/ruby/prism/commit/8ae7829544
-
08:23 PM Revision 14567e36 (git): [ruby/prism] Reject invalid parenthesized multiple assignment targets
- https://github.com/ruby/prism/commit/196c662510
-
08:23 PM Revision 48ec4a99 (git): [ruby/prism] Parse lone splats in for loops as multiple-assignment targets
- https://github.com/ruby/prism/commit/9e04ce645c
-
08:23 PM Revision 1a4a5f69 (git): [ruby/prism] Stop at the signed numeric literal in pattern ranges
- https://github.com/ruby/prism/commit/d76bdacbb4
-
08:23 PM Revision 233599f2 (git): [ruby/prism] Reject completed index writes as assignment targets
- https://github.com/ruby/prism/commit/91adcf75ba
-
08:23 PM Revision 7193b197 (git): [ruby/prism] Limit loop modifiers to jumps in their own statement
- https://github.com/ruby/prism/commit/df5e04dc6a
-
08:23 PM Revision 0acbde20 (git): [ruby/prism] Respect rescue scope boundaries when validating retry
- https://github.com/ruby/prism/commit/699f5672ac
-
08:23 PM Revision f417cf2f (git): [ruby/prism] Respect END block boundaries when validating jumps
- https://github.com/ruby/prism/commit/9b3d716eda
-
08:23 PM Revision 64c3eba1 (git): [ruby/prism] Allow jumps in lambda parameter defaults
- https://github.com/ruby/prism/commit/205a83a61e
-
08:23 PM Revision d3530565 (git): [ruby/prism] Check the enclosing method when validating return in singleton class bodies
- https://github.com/ruby/prism/commit/96d5a1c2fb
-
08:23 PM Revision 9badd3f2 (git): [ruby/prism] Allow argument forwarding after post parameters in method definitions
- https://github.com/ruby/prism/commit/5e7808a085
-
08:23 PM Revision f5e30d9f (git): [ruby/prism] Fix label newline handling in patterns and bare method parameters
- https://github.com/ruby/prism/commit/d8d9908a14
-
08:23 PM Revision 7c272eab (git): [ruby/prism] Preserve command assignment reductions for endless method definitions
- https://github.com/ruby/prism/commit/9f62cf0456
-
08:23 PM Revision 9d7e2fc3 (git): [ruby/prism] Fix do block binding after brace commands in endless method definitions
- https://github.com/ruby/prism/commit/8fde5e1fcc
-
08:23 PM Revision 01fb6f90 (git): [ruby/prism] Fix do block binding after A::B {} commands
- https://github.com/ruby/prism/commit/c0ae1723c0
-
08:23 PM Revision 436f155a (git): [ruby/prism] Check nested statements for void value expressions in Ruby 4.1
- https://github.com/ruby/prism/commit/17e5f738af
-
08:23 PM Revision b1ad952b (git): [ruby/prism] Allow trailing commas in bare method parameter lists in Ruby 4.1
- https://github.com/ruby/prism/commit/2c6b2f9b90
-
08:23 PM Revision 7d482a3b (git): [ruby/prism] Fix anonymous splat forwarding at the end of command arguments
- https://github.com/ruby/prism/commit/3dd206f2ad
-
08:23 PM Revision e97f8af1 (git): [ruby/prism] Fix do block binding in case clauses inside command arguments
- https://github.com/ruby/prism/commit/468c55006e
-
08:23 PM Revision 01e844d2 (git): [ruby/prism] Require a primary expression for block parameter defaults
- https://github.com/ruby/prism/commit/c7f55cf4dd
-
08:23 PM Revision b7383fea (git): [ruby/prism] Fix rescue modifier precedence for bare not in endless methods
- https://github.com/ruby/prism/commit/4669109aba
-
08:23 PM Revision 58c8642b (git): [ruby/prism] Fix pattern matching after operator calls and in modifier predicates
- https://github.com/ruby/prism/commit/6d29906439
-
08:23 PM Revision cf46eae7 (git): [ruby/prism] Preserve in clauses after command assignments and rescue handlers
- https://github.com/ruby/prism/commit/288326236f
-
08:23 PM Revision f098023a (git): [ruby/prism] Fix rescue modifier binding in nested command assignments
- https://github.com/ruby/prism/commit/a6fec43074
-
08:23 PM Revision caa2dc83 (git): [ruby/prism] Preserve nested command assignments through operator writes
- https://github.com/ruby/prism/commit/97172d8fa4
-
08:23 PM Revision 860992ad (git): [ruby/prism] Preserve nested command assignments when checking RHS commas
- https://github.com/ruby/prism/commit/02c6b886f8
-
08:23 PM Revision 80350c26 (git): [ruby/prism] Reject commas after brace commands on assignment right-hand sides
- https://github.com/ruby/prism/commit/6f970bdba0
-
08:23 PM Revision 89bcfa68 (git): [ruby/prism] Fix call chaining after return, break, and next with command blocks
- https://github.com/ruby/prism/commit/28c3e7d0d7
-
08:23 PM Revision a8a1c1fb (git): [ruby/prism] Distinguish bare jumps from jump commands before in clauses
- https://github.com/ruby/prism/commit/85c87b447f
-
08:23 PM Revision 6effbdea (git): [ruby/prism] Use reductions to enforce block call and modifier rescue boundaries
- https://github.com/ruby/prism/commit/9f98f15e44
-
08:23 PM Revision 07add5cc (git): [ruby/prism] Use statement parsing for multiple assignment in rescue modifier handlers
- https://github.com/ruby/prism/commit/eea5bf8eaf
-
08:23 PM Revision 5ba51eaa (git): [ruby/prism] Match parse.y for brace commands chained after do blocks
- https://github.com/ruby/prism/commit/7080d354cb
-
08:23 PM Revision 23c4b118 (git): [ruby/prism] Match parse.y for shorthand calls after command do blocks
- https://github.com/ruby/prism/commit/03bc24a765
-
08:23 PM Revision a03a3734 (git): [ruby/prism] Fix brace block ownership for command-style super
- https://github.com/ruby/prism/commit/55d9f0e027
-
08:23 PM Revision 28a24fcf (git): [ruby/prism] Move parse_arguments below parse_block
- https://github.com/ruby/prism/commit/1530b52d50
-
08:23 PM Revision 9d8fc37a (git): [ruby/prism] Distinguish command brace blocks from chainable block calls
- https://github.com/ruby/prism/commit/6520242058
-
08:23 PM Revision a2b8f5d0 (git): [ruby/prism] Recognize command-style super calls
- https://github.com/ruby/prism/commit/e4797a57c7
-
08:23 PM Revision 14bf6cff (git): [ruby/prism] Migrate call nodes to start tracking command style syntax
- https://github.com/ruby/prism/commit/a54ee39512
-
08:23 PM Revision f52be5dd (git): [ruby/prism] Recognize when an endless def not or an in expr needs to be promoted
- https://github.com/ruby/prism/commit/30c4a58d3b
-
08:23 PM Revision b22ac97c (git): [ruby/prism] Fix up command calls on assignments RHS
- https://github.com/ruby/prism/commit/c864ed2331
-
08:23 PM Revision 177d292a (git): [ruby/prism] Use pm_reduction_t for yield
- When parsing a yield, if it has no parentheses and it has
arguments then it counts as a command, which is higher up in the
grammar. It cannot be combined with modifiers, so we need to exit
the pratt loop.
https://github.com/ruby/prism/c... -
08:23 PM Revision ec2816b0 (git): [ruby/prism] Introduce pm_reduction_t
- This wraps the node returned by parse_expression* to contains just
the node itself at the moment. This is to set up being able to
track which kind of reduction was produced, in order to properly
exit the pratt loop on stmt or expr reduct... -
08:23 PM Revision ed3bc2fd (git): [ruby/prism] Preserve parser regression tests and replay baselines
- https://github.com/ruby/prism/commit/b63580e495
- 08:12 PM Revision 5601d40b (git): ZJIT: Test Method procs with empty keyword splats (#19724)
- Check that Method proc calls with empty keyword splats preserve positional
arguments.
ref:
- https://github.com/ruby/ruby/pull/19607
- https://bugs.ruby-lang.org/issues/22504 -
07:52 PM Revision ae3f0aed (git): [ruby/prism] Squash down parens and begins for conditional predicates
- https://github.com/ruby/prism/commit/f314cb00a3
-
07:42 PM Bug #22407: IO::Buffer#set_value does not call to_int for 128-bit values
- I opened https://github.com/ruby/ruby/pull/20132 for this, it calls to_int for the 128-bit types the same way the smaller types do.
-
07:42 PM Bug #22278: `Coverage.line_stub` emits warnings found in source code
- I opened https://github.com/ruby/ruby/pull/19196 for this, it silences the warnings while Coverage.line_stub compiles the file.
-
07:39 PM Revision 023ded1d (git): ZJIT: Inline and fold Array#last (#19902)
- * zjit: inline Array#last
This avoids calling into C code, thereby opening up opportunities for
further optimizations.
* Fold AdjustBounds with known negative indexes
For constant arrays this lets lookups like [1, 2, 3].freeze[-1] and... -
07:35 PM Revision a54e26fd (git): ZJIT: Dodge &mut-on-read-only UB with C frame JITFrame
- rb_execution_context_update called into Rust, which made a &mut JITFrame
for every ZJIT frame, including C frames that share a read-only static
JITFrame. That's UB even without a write. Update the iseq in C instead.
rb_gc_update_moved_pt... -
06:50 PM Revision 1ab97514 (git): Fix missed write barrier on tailcalled super and ... calls
- Found by wbcheck
sendforward, invokesuper and invokesuperforward call with an adjusted
call data on the stack, then copy the resulting call cache back into
the caller's iseq and issue the write barrier on GET_ISEQ(). With
tailcall optim... -
06:49 PM Revision bbc78eed (git): [ruby/prism] Use leading semicolon for ripper translation
- https://github.com/ruby/prism/commit/d25a4315b5
-
06:49 PM Revision dee750e9 (git): [ruby/prism] Check encoding where adjacent string literals meet
- https://github.com/ruby/prism/commit/a77f390e62
-
06:49 PM Revision 5d5df8b1 (git): [ruby/prism] Check literal encodings inside interpolated strings
- https://github.com/ruby/prism/commit/699067a1e4
-
06:49 PM Revision 6c651195 (git): [ruby/prism] Track encoding when appending string parts
- https://github.com/ruby/prism/commit/0182522b3a
-
06:49 PM Revision 40a0ff7b (git): [ruby/prism] Respect leading semicolons when folding interpolation
- https://github.com/ruby/prism/commit/9b6fcd3454
-
06:49 PM Revision a3664547 (git): [ruby/prism] Reject adjacent string literals with incompatible encodings
- https://github.com/ruby/prism/commit/4a850d94fe
-
06:48 PM Revision 6f2153b6 (git): [ruby/prism] Extract the encoding compatibility check from regexp interpolation
- https://github.com/ruby/prism/commit/86621924a5
-
06:48 PM Revision c11712f0 (git): [ruby/prism] Track leading semicolon on statements
- When statements have a leading semicolon flag, it changes when
something is considered a static literal, or when something flips
to a flip flop or implicit match.
https://github.com/ruby/prism/commit/3c4db62fc7 -
06:26 PM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
- For reference: [Feature #22400] was accepted and merged for Ruby 4.1. Array/String lengths were the other offender where `long` was used instead of a pointer-sized type in the C API, but they now use the new typedef `rb_len_t`.
-
06:15 PM Revision 760125a4 (git): Don't force a major GC for a heap smaller than its initial size (#20110)
- 04:23 PM Revision 924c33b0 (git): Fix capa of returned ary for str.split('', n)
- Since d54f66d1b4, the array's capa was the size of `str`. Since `n` is lower
than the strings size, use `n` instead as the returned array's capa. -
04:07 PM Revision b50e6d69 (git): [ruby/prism] Import latest from ruby_parser
- https://github.com/ruby/prism/commit/73925c6a7c
-
03:56 PM Revision 4f8e2cde (git): [ruby/prism] Extend error tests to cover SWAR enablement
- https://github.com/ruby/prism/commit/1d8f226c31
-
03:56 PM Revision 5dc5e42c (git): [ruby/prism] Fix SWAR underscore-caret borrow and out-of-bounds pointer arithmetic in scan_identifier_ascii
- - Replace (xor_us - ones) & ~xor_us & highs with the borrow-free ~((xor_us + ones * 0x7F) | xor_us) & highs in SWAR scan_identifier_ascii, preventing '_' (0x5F) from borrowing into an immediately following '^' (0x5E)
- Replace cursor + 1... -
03:54 PM Revision 1b5c474c (git): [ruby/zlib] Apply the limit of GzipReader#gets when the rest is shorter than the separator
- When fewer bytes than the separator remained at the end of the stream,
all of them were returned regardless of the limit.
https://github.com/ruby/zlib/commit/110f98dd2a
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> -
03:54 PM Revision 69b62e60 (git): [ruby/zlib] Fix Zlib::GzipReader#gets with a limit shorter than the separator
- The limit made the scanned length smaller than the separator, and the
negative length was passed to memchr.
Zlib::GzipReader.new(StringIO.new(Zlib.gzip("abc"))).gets("xyz", 1)
# expected: "a"
# actual: "abc" ([BUG] Segmentation ... -
03:52 PM Revision bb64d555 (git): Check the length before scanning in rb_enc_cr_str_buf_cat
- Move the negative length check ahead of the code range scan.
-
03:52 PM Revision f5467b99 (git): Keep the match start at or after the attempt position for \K
- A \K inside a look-behind could set the start of the match before the
position where the match attempt began, so String#scan and String#gsub
resumed from a position that did not advance. Clamp the keep position
to the attempt position.
... -
03:00 PM Revision e2834b2f (git): [PRISM] Use APIs that require an explicit length
-
03:00 PM Revision 3d18e750 (git): [ruby/prism] Fix up ASAN violation for string query
- https://github.com/ruby/prism/commit/e8a821f9d4
-
03:00 PM Revision 4785eaf0 (git): [ruby/prism] Maintain signedness in pm_serialize_parse_errors_format
- https://github.com/ruby/prism/commit/1b2cdc39a5
-
03:00 PM Revision 8c8e72d7 (git): [ruby/prism] Explicitly take string lengths for string queries
- https://github.com/ruby/prism/commit/4c93d37857
-
03:00 PM Revision 62273725 (git): [ruby/prism] Explicitly take length for filepath and encoding in options
- https://github.com/ruby/prism/commit/15128cacda
-
03:00 PM Revision 65c64ba7 (git): [ruby/prism] Do not use strlen when constructing scopes for eval
- https://github.com/ruby/prism/commit/1878dc0c20
-
03:00 PM Revision 5a353de2 (git): [ruby/prism] Explicitly reject NUL bytes in command line
- https://github.com/ruby/prism/commit/f5352d33dc
-
03:00 PM Revision 05a8129c (git): [ruby/prism] Track diagnostic message size so we do not have to recompute it
- https://github.com/ruby/prism/commit/960b75397d
-
03:00 PM Revision 3266dc46 (git): [ruby/prism] Construct remaining diagnostics with strings directly
- https://github.com/ruby/prism/commit/99bfcc9b3c
-
03:00 PM Revision c3c4ec94 (git): [ruby/prism] Use node location for invalid block exit diagnostics
- https://github.com/ruby/prism/commit/f52ff3dc61
-
03:00 PM Revision 442b63fc (git): [ruby/prism] Construct diagnostics with context name directly
- https://github.com/ruby/prism/commit/1e4011e21f
-
03:00 PM Revision cab6ba3f (git): [ruby/prism] Construct diagnostics with token names directly
- https://github.com/ruby/prism/commit/b2db276190
-
03:00 PM Revision 3c56ac5e (git): [ruby/prism] Consolidate encoding string diagnostics into pm_encoding_string
- https://github.com/ruby/prism/commit/a5d3650832
-
03:00 PM Revision 2a421910 (git): [ruby/prism] Construct unexpected backslash errors directly without strlen
- https://github.com/ruby/prism/commit/28d351dab7
-
03:00 PM Revision bd25ff6e (git): [ruby/prism] Construct string length literally for invalid magic comment warning
- https://github.com/ruby/prism/commit/0d901ed256
-
03:00 PM Revision 2cb73fe0 (git): [ruby/prism] Explicitly pass context length in predicate literal warning
- https://github.com/ruby/prism/commit/b94f8d1496
-
03:00 PM Revision f7a93f8a (git): [ruby/prism] Construct PM_ERR_REGEXP_UNKNOWN_OPTIONS error option directly
- https://github.com/ruby/prism/commit/c725121d85
-
03:00 PM Revision b3047eae (git): [ruby/prism] Build diagnostics directly for out of range warnings
- https://github.com/ruby/prism/commit/1bab2d8452
-
03:00 PM Revision 0edc00df (git): [ruby/prism] Build escape read warnings directly
- https://github.com/ruby/prism/commit/eea556cb58
-
03:00 PM Revision 691f9eca (git): [ruby/prism] Explicitly construct pm_parser_warn_ambiguous_binary_operator segments using macros
- https://github.com/ruby/prism/commit/612b50a63c
-
03:00 PM Revision e58f3b32 (git): [ruby/prism] Use named errors for regexp diagnostics
- https://github.com/ruby/prism/commit/72fa537db7
-
03:00 PM Revision 6539cd7c (git): [ruby/prism] Explicitly pass constant name length for synthesized nodes
- https://github.com/ruby/prism/commit/ad3b14daae
-
03:00 PM Revision 59fc4218 (git): [ruby/prism] Fix up pm_shebang_find to not use strlen
- https://github.com/ruby/prism/commit/0004e3c5d2
-
03:00 PM Revision 9eb5cce5 (git): [ruby/prism] Track posix bracket name to avoid a strlen
- https://github.com/ruby/prism/commit/e59f227cf9
-
03:00 PM Revision af3a8cdc (git): [ruby/prism] Track encoding length to avoid strlen
- https://github.com/ruby/prism/commit/6e6f9f0d1d
-
03:00 PM Revision 80b03a9e (git): [ruby/prism] Track regexp modifiers directly without strlen
- https://github.com/ruby/prism/commit/34083104ce
-
01:28 PM Feature #22626: Remove unused XRUBY_LIBDIR from the cross-build configuration
- I opened a PR: https://github.com/ruby/ruby/pull/20127
Both Linux cross-build jobs passed.
Five tests timed out in the Windows GNU make job, so I’ve asked in the PR description for a rerun to see whether the timeouts reproduce. -
10:44 AM Feature #22626: Remove unused XRUBY_LIBDIR from the cross-build configuration
- Yes, thanks!
I’ll open a PR and link it here.
-
08:10 AM Feature #22626: Remove unused XRUBY_LIBDIR from the cross-build configuration
- Do you want to create a PR by yourself?
-
01:18 PM Feature #22634: Add a WHATWG URL Standard parser to uri as URI::WHATWG_PARSER
- I have opened https://github.com/ruby/uri/pull/274 as an implementation. I would like to ask about four of its design decisions.
### 1. Where the Unicode data for IDNA comes from
The URL Standard converts a non-ASCII domain to ASCI... -
01:03 PM Feature #22634 (Open): Add a WHATWG URL Standard parser to uri as URI::WHATWG_PARSER
- ## Abstract
I propose adding a parser that follows the [WHATWG URL Standard](https://url.spec.whatwg.org/) to the uri library, as `URI::WHATWG_PARSER`. It is an option: `URI::DEFAULT_PARSER` stays RFC 3986, and the behavior of existin... -
10:40 AM Feature #22628: configure: Skip the GNU config downloader when both auxiliary files exist
Thank you, nobu.
I removed the downloader call and tested a native build from a Git checkout on x86_64 Linux.
`./autogen.sh` created symlinks to the `config.guess` and `config.sub` provided by Autoconf 2.71.
I ran `configure` w...-
07:48 AM Feature #22628: configure: Skip the GNU config downloader when both auxiliary files exist
- It is not different by native and cross builds, but just the `BASERUBY` is available or not.
These auxiliary files are required to run `configure`, which means they should already exist, so I don't think there's any point in trying to d... -
10:26 AM Bug #22633 (Closed): Enumerator#peek_values segfaults when the enumerated code calls Fiber.yield with a non-Array
- `Enumerator#peek_values` crashes the VM when the enumerated code calls `Fiber.yield` with a non-Array value. `enumerator_peek_values_m` calls `rb_ary_dup` on the lookahead and assumes an Array, but `get_next_values` returns whatever the ...
- 08:50 AM Revision dec1bb78 (git): Update default gems list at 7987247289679c62fe047fd210b6e9 [ci skip]
-
08:49 AM Revision 79872472 (git): [ruby/json] Release 3.2.0
- https://github.com/ruby/json/commit/91f1849426
-
08:24 AM Revision 1d9227aa (git): [ruby/rubygems] Merge pull request #10119 from ruby/claude/chained-symlink-extract-af9377
- Resolve chained symlink targets before creating them during extraction
(cherry picked from commit https://github.com/ruby/rubygems/commit/c480f80ea840)
https://github.com/ruby/rubygems/commit/2fea88f63b -
08:24 AM Revision 795b1728 (git): [ruby/rubygems] Merge pull request #10122 from ruby/claude/ca-checksum-missing-b63f6c
- Require a digest on every content-addressed row of a checksummed lockfile
(cherry picked from commit https://github.com/ruby/rubygems/commit/f91319ee40e6)
https://github.com/ruby/rubygems/commit/b6d59d302a -
08:24 AM Revision 9478c5e6 (git): [ruby/rubygems] Merge pull request #10120 from ruby/claude/ca-frozen-fallback-aca4cc
- Keep frozen installs to gems the lockfile covers for content-addressed rows
(cherry picked from commit https://github.com/ruby/rubygems/commit/6fec18c567dd)
https://github.com/ruby/rubygems/commit/1bc9b4cff3 -
08:24 AM Revision 111aca97 (git): [ruby/rubygems] Merge pull request #10121 from ruby/claude/serene-hopper-5e1b16
- Document that bundle lock --add-checksums leaves entries for uninstalled gems empty
(cherry picked from commit https://github.com/ruby/rubygems/commit/c44355269ca1)
https://github.com/ruby/rubygems/commit/4c0bcd6605 -
08:24 AM Revision f9220edf (git): [ruby/rubygems] Merge pull request #10113 from ruby/claude/nice-keller-52fc76
- Stop shipping the URI and YAML serializer entry files in the Bundler gem
(cherry picked from commit https://github.com/ruby/rubygems/commit/a7de0cda3142)
https://github.com/ruby/rubygems/commit/3e43eba01b -
08:24 AM Revision 1160cf2e (git): [ruby/rubygems] Merge pull request #10112 from hsbt/keep-negative-any-terms
- Keep negative any terms when PubGrub resolves conflicts
(cherry picked from commit https://github.com/ruby/rubygems/commit/6e49a99bdbc0)
https://github.com/ruby/rubygems/commit/46fe5dd633 -
08:24 AM Revision a7f7014a (git): [ruby/rubygems] Merge pull request #10111 from hsbt/lock-compatible-legacy-specs
- Check gem requirements when locking from legacy indexes
(cherry picked from commit https://github.com/ruby/rubygems/commit/0d06e8682921)
https://github.com/ruby/rubygems/commit/27afe6131b -
08:24 AM Revision d2ea1b6b (git): [ruby/rubygems] Merge pull request #10110 from hsbt/retry-transitive-prereleases
- Retry resolution with transitive prereleases
(cherry picked from commit https://github.com/ruby/rubygems/commit/12e0459edddd)
https://github.com/ruby/rubygems/commit/59bc3669f7 -
08:24 AM Revision c50e173f (git): [ruby/rubygems] Merge pull request #10109 from hsbt/explain-gemfile-activation
- Explain activation conflicts caused by a Gemfile require
(cherry picked from commit https://github.com/ruby/rubygems/commit/44c5091305d2)
https://github.com/ruby/rubygems/commit/74d7124454 -
08:24 AM Revision 46afadc9 (git): [ruby/rubygems] Merge pull request #10106 from hsbt/allow-update-after-yank
- Allow full updates to downgrade a yanked gem
(cherry picked from commit https://github.com/ruby/rubygems/commit/9ba59dbd3b80)
https://github.com/ruby/rubygems/commit/59c70d426a -
08:24 AM Revision 39170457 (git): [ruby/rubygems] Merge pull request #10108 from ruby/prefer-local-platform-variants
- Honor `--prefer-local` when locking platform variants
(cherry picked from commit https://github.com/ruby/rubygems/commit/cac0e30b2d6b)
https://github.com/ruby/rubygems/commit/fb53496b00 -
08:24 AM Revision 4ed87d1a (git): [ruby/rubygems] Merge pull request #10102 from hsbt/respect-cached-install-jobs
- Honor `--jobs` when installing from `vendor/cache`
(cherry picked from commit https://github.com/ruby/rubygems/commit/d4de2261bc46)
https://github.com/ruby/rubygems/commit/dcb9bd3ae0 -
08:24 AM Revision c8a91b89 (git): [ruby/rubygems] Merge pull request #10107 from ruby/lock-gem-install
- Serialize concurrent installs of the same gem
(cherry picked from commit https://github.com/ruby/rubygems/commit/5563796c104b)
https://github.com/ruby/rubygems/commit/4620bb577f -
08:24 AM Revision 6318382e (git): [ruby/rubygems] Merge pull request #10105 from hsbt/lock-added-platform-dependencies
- Allow `bundle lock --add-platform` to add native platforms from JRuby
(cherry picked from commit https://github.com/ruby/rubygems/commit/7bf00901b897)
https://github.com/ruby/rubygems/commit/d7e710f000 -
08:24 AM Revision 97d6e477 (git): [ruby/rubygems] Merge pull request #10103 from hsbt/outdated-patch-filter
- Show fourth-segment and prerelease updates in `bundle outdated --filter-patch`
(cherry picked from commit https://github.com/ruby/rubygems/commit/cc4c40191c39)
https://github.com/ruby/rubygems/commit/cb1feec7b8 -
08:24 AM Revision bf7d241d (git): [ruby/rubygems] Merge pull request #10099 from ruby/preserve-inline-settings
- Preserve inline settings after a forked install
(cherry picked from commit https://github.com/ruby/rubygems/commit/99530617827e)
https://github.com/ruby/rubygems/commit/30bc886bde -
08:24 AM Revision 297330a9 (git): [ruby/rubygems] Merge pull request #10101 from hsbt/resolve-before-adding
- Resolve dependencies before `bundle add` updates the Gemfile
(cherry picked from commit https://github.com/ruby/rubygems/commit/7f8d9657bc11)
https://github.com/ruby/rubygems/commit/d74aa0d3fd -
08:24 AM Revision 45c1b94a (git): [ruby/rubygems] Merge pull request #10100 from hsbt/sort-resolved-prereleases
- Keep resolved prereleases when sorting install requests
(cherry picked from commit https://github.com/ruby/rubygems/commit/cfdd8c0cbad2)
https://github.com/ruby/rubygems/commit/36cc082ef3 -
08:24 AM Revision d1a4465f (git): [ruby/rubygems] Merge pull request #10098 from ruby/claude/confident-heyrovsky-ddca0c
- Forward keyword arguments in the IPv4 fallback TCPSocket#initialize
(cherry picked from commit https://github.com/ruby/rubygems/commit/43e2f8e6ba77)
https://github.com/ruby/rubygems/commit/24d018d954 -
08:24 AM Revision d34a85cb (git): [ruby/rubygems] Merge pull request #10097 from ruby/claude/adoring-curie-3fb913
- Push attestations with non-ASCII bytes on Ruby 3.2 and 3.3
(cherry picked from commit https://github.com/ruby/rubygems/commit/c51b9f051c40)
https://github.com/ruby/rubygems/commit/23797a4804 -
08:24 AM Revision 155cfff7 (git): [ruby/rubygems] Merge pull request #10075 from top-sigrid/pw/yaml-readable-by-bundler-4.0
- Keep mirror settings readable by Bundler 4.0
(cherry picked from commit https://github.com/ruby/rubygems/commit/bd0f3923fc27)
https://github.com/ruby/rubygems/commit/37ad16b588 -
08:24 AM Revision 1edc02a1 (git): [ruby/rubygems] Merge pull request #10088 from bensheldon/strip_extra_documents
- Gem::YAMLSerializer::Parser only reads the first document of a YAML stream
(cherry picked from commit https://github.com/ruby/rubygems/commit/ddc6412c36cd)
https://github.com/ruby/rubygems/commit/d30f3ac366 -
08:24 AM Revision c785d5c6 (git): [ruby/rubygems] Test that Bundler and RubyGems share one vendored URI
- The spec doesn't go through the artifice, which loads RubyGems' vendored net-http, and with it RubyGems' URI, before Bundler does. It only fails without the fix under RGV=system, which the system-rubygems-bundler job uses.
Co-Authored-B... - 08:24 AM Revision eca3208c (git): [ruby/rubygems] Fix Gem::URI redefinition warnings on older RubyGems
- (cherry picked from commit https://github.com/ruby/rubygems/commit/0dcefe327bf3)
https://github.com/ruby/rubygems/commit/d037ebc011 -
08:24 AM Revision 007d5c83 (git): [ruby/rubygems] Read plugin index sections that are not hashes as empty
- When a gemrc is loaded, RubyGems < 4.1 loads its minimal YAML serializer over the copy shipped with Bundler. That serializer reads the `{}` Bundler 4.1.0 writes for an empty section as the string "{}", and loading the plugin index then r...
-
08:19 AM Bug #22632: parse.y magic encoding comments accept NUL bytes
- This isn't limited to “magic comments”; NUL bytes within comments are generally ignored.
In this case, it's simply a delimiter.
I once tried to treat NUL bytes within comments as EOF, just as they are outside comments, but this attem... -
02:08 AM Bug #22632 (Open): parse.y magic encoding comments accept NUL bytes
- I can't tell if this is intentional or not. It doesn't really seem like an issue either way, but I think it should reject NUL bytes as it's a bit odd.
```ruby
# encoding: binary\0ignored
``` -
08:18 AM Revision 03f9b9d5 (git): Insert the replacement before the pending input of the converter
- When an invalid byte was found by a transcoder after a decorator, such
as UTF-8 to UTF-16LE with universal_newline, the replacement character
was appended after the input that the decorator had already passed on.
It was then decoded toge... -
08:18 AM Revision bf2a74ee (git): Raise the proper error from the UTF-8 preconversion in String#encode
- When both encodings are not ASCII-compatible and a decorator is given,
the source is converted to UTF-8 first. That conversion ignored the
invalid/undef options and, when it failed, the original bytes were
still treated as UTF-8, which c... -
07:34 AM Bug #22627 (Rejected): Build system fails to fresh-install Ruby 3.4.13 on the brand new system due to missing "BASERUBY".
-
05:41 AM Bug #22627: Build system fails to fresh-install Ruby 3.4.13 on the brand new system due to missing "BASERUBY".
- This is caused by the `-m` option of tar. It doesn't restore the modification times stored in the tarball, so bundled generated files such as `id.h` end up older than their sources (`template/id.h.tmpl`, `tool/generic_erb.rb`), and make ...
-
07:13 AM Bug #22619 (Closed): parse.y missing invalid return syntax error
- Applied in changeset commit:git|9b8cfe79f5608262e84543bd162c6419b40d1f4d.
----------
[Bug #22619] Restore the "can't return" state -
07:13 AM Revision 9b8cfe79 (git): [Bug #22619] Restore the "can't return" state
- 06:50 AM Revision 868587dd (git): [DOC] Update bundled gems list at 70e9b42892434d75eb8c34071c8b7a
-
06:05 AM Revision 70e9b428 (git): Raise encoding table errors outside the VM lock
- Have the table helpers (enc_table_expand, enc_register,
enc_check_addable, enc_replicate, enc_replicate_with_index) return an
error code instead, and raise with the same classes and messages after
leaving the locked section. -
06:05 AM Revision 7412d264 (git): Define encoding constants outside the VM lock
- Record what needs defining inside the GLOBAL_ENC_TABLE_LOCKING sections
and call set_encoding_const() after leaving them. enc_alias() reports
whether the alias was new through a flag instead of defining the
constant itself. -
04:42 AM Revision de413a17 (git): Fix stale cvar cache after remove_class_variable
- remove_class_variable does not increment the ruby_vm_global_cvar_state
which can cause a stale cvar cache. The following code crashes:
class C
@@a = 1
def a = @@a
end
C.new.a # warm cache
C.remove_class_varia... -
04:21 AM Revision 83851090 (git): [ruby/prism] Explicitly copy down when unreferencing a node
- https://github.com/ruby/prism/commit/19396fe2fd
-
04:21 AM Revision e2492a59 (git): [ruby/prism] Simplify parse_heredoc_dedent_string to scan before copying
- https://github.com/ruby/prism/commit/c5c24e29e5
-
04:21 AM Revision c313b19c (git): [ruby/prism] Remove unused pm_buffer_prepend_string
- https://github.com/ruby/prism/commit/e13c9fc8ef
-
04:12 AM Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- I added you to the Contributor group. You should now be able to edit the Backport field.
-
02:48 AM Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- The commit doesn't apply cleanly to `ruby_3_4` or `ruby_4_0`, so I'm happy to provide backport patches (or pull requests against those branches) if that would help. Just let me know.
-
01:33 AM Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- @eightbitraptor
Could you set the Backport field to `3.4: REQUIRED, 4.0: REQUIRED`? I can't edit it myself.
The fix (1d214cd778) is not in `ruby_3_4` or `ruby_4_0` yet. The regression was introduced by the backports of #22257 (c8e0... -
04:05 AM Revision eff1d51b (git): [ruby/prism] Build our own vectorized memchr
- https://github.com/ruby/prism/commit/c404eb0f3c
-
04:05 AM Revision 6481f4ea (git): [ruby/prism] Derive encoding changed from the encoding passed to pm_memchr
- https://github.com/ruby/prism/commit/b7149a809c
-
03:50 AM Revision 34b29773 (git): Keep the state of Array#zip for non-array arguments in a memo
- The callback passed to each referred to an array on the stack of
take_items, so a block retained by an argument of Array#zip could not
be called after the method returned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:50 AM Revision ac79d218 (git): Keep the state of Enumerator.product in a hidden array
- The callback passed to each_entry referred to a struct on the stack
of enum_product_run and shared one index among all levels, so a block
retained by an element could not be called after the iteration nor
re-entrantly. Keep the state in... -
03:07 AM Revision dc7b1397 (git): [PRISM] Simplify compilation of nested BEGIN blocks
-
02:56 AM Revision 41120619 (git): [ruby/prism] Validate encoding names in magic comments after stripping a line-ending suffix
- https://github.com/ruby/prism/commit/f8594c8a4e
- 02:33 AM Revision 40abfd33 (git): Update bundled gems list as of 2026-11-24
- 02:32 AM Revision 9920c067 (git): Bump the github-actions group across 1 directory with 4 updates
- Bumps the github-actions group with 4 updates in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby), [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github....
-
02:05 AM Revision 1503ca68 (git): [PRISM] Add memequal.c to libprism objects
-
02:05 AM Revision 63de58b4 (git): [ruby/prism5] Compare nodes for equality in static literals
- https://github.com/ruby/prism5/commit/6c2a0050e1
-
02:05 AM Revision 6c726c38 (git): [ruby/prism5] Define our own memequal consistently
- https://github.com/ruby/prism5/commit/f7ad1c0fa4
- 01:57 AM Revision eb6f0925 (git): win32: Reject times outside the FILETIME range in File.utime
- timespec_to_filetime multiplied the seconds by 10**7 without a range
check, so the 64 bit product wrapped around for large values and
File.utime silently stored an unrelated timestamp. Fail with EINVAL
instead, as SetFileTime already do... - 01:55 AM Revision e29e4779 (git): ZJIT: Fold FixnumBitCheck on constant kw_bits (#19859)
- When a method with non-constant keyword defaults (e.g. `kw: (unset = true)`)
is inlined, kw_bits is a constant from the call site, so fold checkkeyword (FixnumBitCheck).
and the default-value branches removed. -
01:12 AM Revision 4abea25a (git): [DOC] Fix links
- 12:26 AM Revision 64f9282d (git): Fix CC invalidation when defining method using Method object with same name
- Fixes [Bug #22555]
[ruby_4_0: rb_vm_check_redefinition_opt_method takes no warnings argument]
(cherry picked from commit e10a8eea54c38f0326472d7266e9e81ecc7d7bf9) -
12:22 AM Revision f138073f (git): show loadavg if the test fails
- to survey the following failure:
```
1) Failure:
TestFile#test_stat [/tmp/ruby/src/trunk-repeat20/test/ruby/test_file.rb:412]:
Expected |1770056232.744032 - 1770056230.6465776| (2.097454309463501) to be <= 1.
```
BTW I found that `te...
11/23/2026
- 11:37 PM Revision 7d0fa886 (git): win32: Use memmove for the overlapping copy in w32_cmdvector
- When a quote is stripped from a command line element, the rest of the
buffer is shifted toward lower addresses within the same buffer. The
source and destination overlap whenever more than a few characters
follow the quote, which is und... -
11:24 PM Bug #22631 (Closed): Set#map! / Set#collect! segfaults under GC.stress on 4.0.x
- Applied in changeset commit:git|4ecd94d4b09a3f776b73db2c73db39cd890da7df.
----------
[Bug #22631] Fix use-after-free in Set#collect! and Set#flatten!
Set#collect! builds a temporary set and copies it back into the
receiver with set_i_i... -
08:03 PM Bug #22631 (Closed): Set#map! / Set#collect! segfaults under GC.stress on 4.0.x
- `Set#collect!`/`map!` on an empty set segfaults when a GC runs during the call.
## Reproduction
```ruby
GC.stress = true
1000.times do
Set.new.map! { |x| x }
end
```
Segfaults on the first iteration, every run, on the o... -
11:24 PM Revision 4ecd94d4 (git): [Bug #22631] Fix use-after-free in Set#collect! and Set#flatten!
- Set#collect! builds a temporary set and copies it back into the
receiver with set_i_initialize_copy. After the last use of `other`
as a VALUE, only a pointer to its embedded table is left, so the
compiler is free to drop the reference. ... -
10:59 PM Revision 8bf6b129 (git): Only pool pages in heaps with at least 2 free pages
- gc_sweep_step takes the first swept page of each heap and adds it to a pool of
pages used to provide free slots for the incremental mark steps of the next
major GC.
This is problematic for Ractors because currently they get created with... -
10:35 PM Bug #22629 (Closed): TracePoint :class / :end events are not fired for class << self when compiled with Prism
- Applied in changeset commit:git|e9ce844bbb4ffc0f28395c36b7cc84e038551dd2.
----------
[Bug #22629] Fire :class/:end TracePoint events for `class << obj` with Prism
The parse.y-based compiler emits RUBY_EVENT_CLASS and RUBY_EVENT_END
for... -
11:28 AM Bug #22629: TracePoint :class / :end events are not fired for class << self when compiled with Prism
- The pull request is at https://github.com/ruby/ruby/pull/20095
Note I can't seem to be able to edit the backports field, but I'd appreciate a backport to 3.4 and 4.0 because it makes some traces unreliable in an instrumentation project ... -
11:12 AM Bug #22629 (Closed): TracePoint :class / :end events are not fired for class << self when compiled with Prism
- When code is compiled with Prism (the default since Ruby 3.4), entering and leaving a singleton class body (`class << obj ... end`) does not fire the `:class` and `:end` TracePoint events. The parse.y compiler does fire them.
## Repro... -
10:34 PM Revision 58f4e444 (git): [PRISM] check body type for tracepoint instead of checking AST node type
-
10:34 PM Revision e9ce844b (git): [Bug #22629] Fire :class/:end TracePoint events for `class << obj` with Prism
- The parse.y-based compiler emits RUBY_EVENT_CLASS and RUBY_EVENT_END
for every ISEQ_TYPE_CLASS iseq, which includes singleton class bodies.
The Prism compiler instead keys these events on the AST node type and
only handled PM_CLASS_NODE ... -
09:42 PM Revision 55397cc5 (git): ZJIT: [DOC] Talk about ZJIT_JIT_RETURN_C_FRAME choosing space efficiency
-
08:43 PM Revision bbefecc1 (git): [ruby/prism] Re-use the buffer we have for strpbrk
- This avoids the need to call strchr, since we already have the
created vector we can look it up directly. In non-accel builds this
results in a memchr over the charset.
https://github.com/ruby/prism/commit/a00a7fb338 -
07:35 PM Revision acaecc4c (git): [ruby/prism] Sort errors as they are gathered for display
- https://github.com/ruby/prism/commit/241ea62298
-
07:35 PM Revision d110703a (git): [ruby/prism] Use insertion sort for comments when attaching
- They are almost always in source order anyway, since the only way
to have them out of order is to have comments inside heredocs.
https://github.com/ruby/prism/commit/32c89d3ebc - 07:03 PM Revision 55584842 (git): Apply define_method visibility whenever the method entry is reused
- method_entry_set only applied the requested visibility when the
reused entry was the very object the UnboundMethod carried
(newme == me). With UnboundMethod#clone, Method#unbind, or a subclass
that already has its own entry for the same ... -
06:53 PM Feature #17036: Regexp deconstruction keys to allow pattern matching
- This has long since been implemented, in issue #18821 via [PR 6216](https://github.com/ruby/ruby/pull/6216).
-
06:45 PM Bug #14838: RegexpError with double "s" in look-behind assertion in case-insensitive unicode regexp
- this has been fixed in ruby 4.0.0 via issue #13671 and commit [bfbbcf3](https://github.com/ruby/ruby/commit/bfbbcf34557b0aad4f5ed045df3e4e86b11c9a8c), with backports to ruby 3.3.11 and 3.4.8.
-
06:45 PM Bug #16158: "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- this has been fixed in ruby 4.0.0 via issue #13671 and commit [bfbbcf3](https://github.com/ruby/ruby/commit/bfbbcf34557b0aad4f5ed045df3e4e86b11c9a8c), with backports to ruby 3.3.11 and 3.4.8.
-
06:32 PM Bug #22595 (Closed): ObjectSpace::WeakMap#each can yield the same pair twice if compaction happens during iteration
- Applied in changeset commit:git|930e330102a95c19bd28427e20ba59cd6b77dc4b.
----------
Fix WeakMap#each yielding entries twice or stopping early
WeakMap#each, #each_key, #each_value and #inspect ran st_foreach over
the table while callin... -
06:31 PM Revision 930e3301 (git): Fix WeakMap#each yielding entries twice or stopping early
- WeakMap#each, #each_key, #each_value and #inspect ran st_foreach over
the table while calling code that can change it. Compaction deletes each
moved key and reinserts it at the end of the entries array, so the
iteration reaches it again.... -
06:31 PM Feature #11309: Iterator over string matches
- i think this is a duplicate of #5606, #5749, #6802
- 06:22 PM Revision 7e33f0f6 (git): [ruby/prettyprint] Reduce gem size by excluding unnecessary file
- https://github.com/ruby/prettyprint/commit/337a5c7c7d
-
06:12 PM Revision 12e1b34b (git): [ruby/prism] Final cleanup of old formatting code
- https://github.com/ruby/prism/commit/a607276a48
-
06:12 PM Revision 9d86d152 (git): [ruby/prism] Format diagnostics ourselves
- https://github.com/ruby/prism/commit/fe921ec619
-
06:12 PM Revision fcecf8e9 (git): [ruby/prism] Remove old debug logging infra
- https://github.com/ruby/prism/commit/2fa84e12fb
-
06:12 PM Revision bc100c78 (git): [ruby/prism] Remove pm_buffer_append_format and its last callers
- https://github.com/ruby/prism/commit/a3070f8f73
-
06:12 PM Revision edc5d62c (git): [ruby/prism] Teach pm_buffer_t about hexidecimals and escapes for formatting
- https://github.com/ruby/prism/commit/69ee93bea1
-
06:12 PM Revision 381f9304 (git): [ruby/prism] Do not use printf for formatting line numbers
- https://github.com/ruby/prism/commit/e2a8993604
-
06:12 PM Revision 60d637a1 (git): [ruby/prism] Share pm_buffer_append_decimal for formatting
- https://github.com/ruby/prism/commit/637d1d9ac0
-
06:12 PM Revision a966c5fe (git): [ruby/prism] Do not use printf for integer formatting
- https://github.com/ruby/prism/commit/7860f31518
-
06:12 PM Revision 8360c485 (git): [ruby/prism] Format floats ourselves
- https://github.com/ruby/prism/commit/9ac41d6a9c
-
06:06 PM Revision 75a91750 (git): Fix hang when a cross-Ractor require result can't be copied
- ractor_require_protect passed rb_rescue2 its data argument and exception
class in the wrong order, with no terminating 0. So if sending the
require's result back failed (say, the raised exception holds a Mutex),
rb_rescue2 compared the e... -
05:59 PM Revision b26dd336 (git): [ruby/openssl] ssl: add SSLSocket#ssl_shutdown
- Expose SSL_shutdown() directly so that Ruby programs can control
closure of connection more precisely.
Update SSLSocket#sysclose and #close_write to use this method. They
rescue SystemCallError and SSLError to preserve the existing beha... -
04:54 PM Revision b9e515af (git): [ruby/openssl] ssl: harden session_{get,new,remove}_cb
- Prepare the Array objects for the argument inside rb_protect(). This
object allocation may potentially raise an exception and corrupt
OpenSSL's internal state.
Also look up the callback Proc objects directly from SSLContext's
instance v... -
04:54 PM Revision 45f9eb05 (git): [ruby/openssl] ssl: harden client_cert_cb
- Currently, if the callback raises an exception or returns an invalid
value, the handshake is resumed as if the callback has not been called.
This is contrary to the documentation.
Propagate exceptions raised by the callback to the origi... -
04:54 PM Revision 0df3c25c (git): [ruby/openssl] ssl: harden info_callback
- Use rb_protect() to avoid exiting from SSL_accept() or SSL_read()
prematurely.
Also set the callback to SSL_CTX instead of SSL, similarly to what we
do for other callbacks configurable on SSLContext.
https://github.com/ruby/openssl/com... -
04:54 PM Revision 3d981a86 (git): [ruby/openssl] ssl: use ossl_cb_state_*() for handling exceptions in callbacks
- Simplify handling of the temporary rb_protect() jump states. This also
avoids potential corruption of OpenSSL's internal state if the
SSLSocket object is frozen in the middle of SSL_*() calls.
Also, skip calling Ruby callbacks while we ... -
04:44 PM Revision 60f5f70f (git): [ruby/openssl] Iterate the options of pkey_ctx_apply_options without calling #each
- The block given to #each carried the EVP_PKEY_CTX pointer, so a Hash
subclass that overrides #each could retain the block and call it after
the context was freed. Iterate the Hash with rb_hash_foreach instead.
https://github.com/ruby/o... -
03:36 PM
Bug #22555 (Closed): Missing CC invalidation when changing visibility using Method object
- Applied in changeset commit:git|e10a8eea54c38f0326472d7266e9e81ecc7d7bf9.
----------
Fix CC invalidation when defining method using Method object with same name
Fixes [Bug #22555] - 03:36 PM Revision e10a8eea (git): Fix CC invalidation when defining method using Method object with same name
- Fixes [Bug #22555]
-
03:06 PM Revision 495f3778 (git): [ruby/openssl] ossl.c: fix possible exceptions in ossl_clear_error()
- ossl_clear_error() is often used when we are about to resume a jump
with rb_jump_tag(). It should not raise an exception or clobber the
current errinfo.
https://github.com/ruby/openssl/commit/d59a3a8508 -
03:06 PM Revision c749d09b (git): [ruby/openssl] x509store: do not suppress exceptions in verify_callback
- Currently, verify_callback has no common place to store the jump tag
type when an exception is raised or the thread is interrupted, so it
suppresses the jump and emits a warning instead.
Use Fiber-local storage for the callback state. W... - 02:49 PM Revision 5eaf7cf8 (git): Fix cross-ractor race of shareable MatchData#offset
- We lazily compute MatchData offsets, so we need to either precompute them when
setting these objects shareable, disallow setting these object shareable or
lazily compute them with atomic publishing. I chose to go with the atomics
solution. -
01:59 PM Feature #22630 (Open): GC improvements
- I was playing around with options to reduce GC time/cost. It seems to be one of the biggest things we hit in our app.
In doing so, Claude was able to find 4 changes that could dramatically reduce GC time on a warmed up host (it pointe... -
01:30 PM Feature #22625: iseq memory improvements
- > I'll see if I can review and approve some of those, but they're all pretty big and critical PR so can't promise anything.
No worries. More than happy to slowly walk them in. Ultimately I think there's some good wins and I'm willing ... -
10:23 AM Feature #22625: iseq memory improvements
- Iseq are indeed a major contributor to memory usage in large monoliths (even though it's always unclear how much of it end up shared with Copy-on-Write), and there was various work to shrink them up in the last couple years, but nothing ...
-
02:40 AM Feature #22625: iseq memory improvements
- Just adding a screenshot of a local run of the various findings I have (which include more than just these PRs) - GC time down to 750ms from 23s would be nice :)
-
12:17 PM Revision 11d985f1 (git): Check frozen in Set#initialize and Set#initialize_copy
- Set#initialize and Set#initialize_copy does not check the frozen status
of the set which can modify a frozen set. - 09:24 AM Revision 0b4e7e04 (git): [DOC] Describe Shellwords 0.3.0 in NEWS
- 09:04 AM Revision f89691db (git): Update default gems list at b070ad9c3a3b91c1856ca8c0bdadfe [ci skip]
- 09:04 AM Revision b070ad9c (git): [ruby/shellwords] Bump the version to 0.3.0
- Use annotated tags for reviewed GitHub release notes. Keep generated
notes for lightweight tags.
https://github.com/ruby/shellwords/commit/872ab88155 -
08:33 AM Feature #22628 (Open): configure: Skip the GNU config downloader when both auxiliary files exist
- For the official source tarball, I’d like native and cross builds to handle config.guess and config.sub the same way.
Today, a native build without BASERUBY uses the bundled files directly, while a cross build requires BASERUBY and t... - 08:30 AM Revision cdaa37fa (git): [ruby/shellwords] Simplify line continuation handling in shellsplit
- Use the current field to distinguish an unstarted word from an empty
quoted word. Capture only the characters to keep when unescaping
double-quoted text.
https://github.com/ruby/shellwords/commit/d9a08cec24 -
08:30 AM Revision 870224b2 (git): [ruby/shellwords] Remove backslash-newline line continuations in shellsplit
- The Bourne shell removes a backslash followed by a newline, both outside
quotes and inside double quotes. shellsplit kept the backslash and the
newline outside quotes, and kept the newline inside double quotes, so
"foo\\<newline>bar" bec... - 08:30 AM Revision 9e06b88e (git): [ruby/shellwords] [DOC] Link to encoding caveats from Shellwords.join
- https://github.com/ruby/shellwords/commit/7944729d4e
-
05:18 AM Revision 87e70777 (git): Fix memory leak in String#each_grapheme_cluster
- If the block raises or breaks in String#each_grapheme_cluster, then the
compiled regexp can leak memory because it is never freed.
For example, the following code leaks memory:
s = "abc".encode("UTF-16LE")
10.times do
10_... - 02:52 AM Revision 41159be1 (git): [ruby/shellwords] [DOC] Clarify shell escaping encoding assumptions
- The encoding must suit how the target shell parses its input. Describe
what callers can do when the shell parses command lines byte by byte.
https://github.com/ruby/shellwords/commit/678569aba1 - 02:29 AM Revision 60ccd762 (git): Bump the github-actions group across 1 directory with 4 updates
- Bumps the github-actions group with 4 updates in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby), [cross-platform-actions/action](https://github.com/cross-platform-actions/action), [ossf/scorecard-action](https://g...
-
02:01 AM Revision 779c393b (git): [DOC] Broken link
-
01:34 AM Revision 491835f3 (git): Don't allow re-initializing a Ractor::Port
- Ractor::Port.allocate froze the port so that it would be shareable, but
nothing stopped initialize or initialize_copy from being called again
on an already initialized port. Since ports are shareable, any Ractor
could do this to a port i... -
12:52 AM Revision a76ddf54 (git): Check if orig modified in rb_str_tmp_frozen_release
- The string orig could have been modified by the time rb_str_tmp_frozen_release
is called which would incorrectly modify orig. This can cause crashes.
Each of the tests in this commit demonstrates a crash from users of
rb_str_tmp_frozen_r... -
12:43 AM Bug #20804: Stop reserving stack ahead-of-time in on Linux
- Could this be backported to Ruby 3.3?
With musl, ruby 3.3 segfaults at startup under qemu-user for 32-bit targets (arm and mips with qemu 10.2, 11.1 and current master). musl's `pthread_getattr_np()` finds the bottom of the main threa...
11/22/2026
-
10:50 PM Bug #22627 (Rejected): Build system fails to fresh-install Ruby 3.4.13 on the brand new system due to missing "BASERUBY".
- Unable to "clean compile" Ruby on a freshly minimally-installed system. That defeates the purpose of "clean" installation. By definition, I'm going through the installation steps because I want to have Ruby on the system that does not cu...
- 04:35 PM Revision bf888872 (git): [ruby/openssl] ssl: fix string comparison in SSLContext#{min,max}version=
- The strncmp() incorrectly accepts truncated strings or strings
containing embedded NUL bytes. Check that the string lengths match
before comparing the contents.
Fixes https://github.com/ruby/openssl/issues/1158
https://github.com/ruby/... -
03:26 PM Revision 6c232d4a (git): Register OP_REPEAT_INC at its own position in the match cache table
- The cache entry of OP_REPEAT_INC was registered at the address of
OP_REPEAT, so the cache was never used for repeats compiled to OP_REPEAT.
Also count two points for OP_REPEAT_INC in look-arounds and atomic groups
in find_cache_point, as... -
02:26 PM Feature #22626 (Open): Remove unused XRUBY_LIBDIR from the cross-build configuration
- During cross configuration, configure.ac runs the build-machine Ruby to read RbConfig::CONFIG["libdir"] and substitutes the result as XRUBY_LIBDIR in the generated Makefile.
I found no in-tree consumer of this variable in CRuby 4.0.10.... -
01:43 PM Feature #22625 (Open): iseq memory improvements
- I am trying to reduce the memory footprint of our large application in multiple ways, and I was looking at what I could contribute to the Ruby codebase to do so.
There's obviously some tradeoffs in memory vs time complexity, so I am b... -
01:16 PM Feature #22624 (Open): Fixing lazy-loading of iseqs and making it a runtime option
- https://github.com/ruby/ruby/pull/20072 is the PR
Lazy-loading of iseqs was broken using the compile-time USE_LAZY_LOAD switch. The proposal is to compile the code with USE_LAZY_LOAD=1 and set it as a runtime option via RubyVM::Instru... -
01:10 PM Revision 742885de (git): Add version guards for Array#find_index and rindex offset specs
- The `offset` keyword argument was added in Ruby 4.1 by
99f92c4874ddd08a50f74eb37e6a51f0194c9c76 ([Feature #17056]), so these
specs raised ArgumentError on older versions and failed the
"Rubyspec Version Guards Check" workflow.
Co-Author... - 01:07 PM Revision 4ef2e61e (git): [ruby/ipaddr] Drop the zone ID when IPAddr#native returns an IPv4 address
- IPAddr.new("::ffff:192.168.1.2%eth0").native kept the IPv6 zone ID.
The result is IPv4, so the zone is not shown by #to_s and #zone_id
raises, but it is still part of #hash. So the address was == to
IPAddr.new("192.168.1.2") but not #eql... -
12:54 PM Bug #21203 (Closed): TestGc#test_gc_parameter_init_slots is flaky results
-
12:32 PM Bug #22623 (Open): Ractor.main.freeze from another Ractor is allowed and races with the owner
- ## Summary
`Kernel#freeze` can be called on a Ractor object owned by another Ractor, and succeeds:
```ruby
Ractor.new { Ractor.main.freeze }.value
Ractor.main.frozen? # => true
```
This is a write to another Ractor's object, ... -
11:41 AM Feature #21962: Add deep_freeze for recursive freezing
- > matz: except classes and modules, I agree. Traverse every other reference, including instance variables, array elements, and hash keys and values. Please update the PR.
Done, I updated https://github.com/ruby/ruby/pull/19529 to trav... -
09:44 AM Feature #21962: Add deep_freeze for recursive freezing
- This was discussed at the last dev meeting: https://github.com/ruby/dev-meeting-log/blob/master/2026/DevMeeting-2026-11-12.md#feature-21962-add-deep_freeze-for-recursive-freezing-eregon
I'm confused because IIRC twice matz agreed to t... -
09:30 AM Revision 11f224ae (git): Keep the members of Struct and Data classes in an inline field of the class (#19907)
- A class can be allocated with one extra VALUE right after it, for something
that is read too often to be kept in an ivar of the class. It starts as
nil, belongs to the class and not to a box, and is marked and updated
by the GC.
A subcl... -
01:08 AM Revision 297f4b25 (git): Fix use-after-free in Array#sort! when tmp shared
- Array#sort! makes ary shared and tmp the shared root. The assumption is
that tmp is never referred to by any object other than ary. However, if
ary is sliced, than another array would also refer to tmp. This can cause
an use-after-free w... -
12:50 AM Bug #22622 (Open): Crash when autoload constants are queried in Ractors (autoload?, defined?, const_defined?) while the main Ractor requires files
- ## Environment
- ruby 4.0.10 (2026-11-19 revision a704b7cd95) +PRISM [arm64-darwin25]
- ruby 4.1.0dev (2026-11-21T12:46:06Z master f2d62c677e) +PRISM [arm64-darwin25]
## How this came up
This came up in a test suite that runs e...