Skip to content

[pull] master from ruby:master#888

Merged
pull[bot] merged 2 commits intoturkdevops:masterfrom
ruby:master
Mar 26, 2026
Merged

[pull] master from ruby:master#888
pull[bot] merged 2 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 26, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

k0kubun and others added 2 commits March 26, 2026 07:34
rb_ec_ractor_ptr(ec) can return NULL when ec->thread_ptr is NULL
(e.g. when crashing from a GC free function). Dereferencing the
NULL return value crashes the bug reporter itself, causing "Crashed
while printing bug report" and losing all diagnostic information.

Similarly, ec->thread_ptr can be NULL, so guard the scheduler check.
* Redefining Integer#to_s is bound to break many things,
  any non-segfault outcome should be acceptable.
  So adapt the test to just ensure it does not segfault.
* Also redefining Kernel#String would also break with the previous code.

ruby/json@ac0670b20b
@pull pull bot locked and limited conversation to collaborators Mar 26, 2026
@pull pull bot added the ⤵️ pull label Mar 26, 2026
@pull pull bot merged commit afe5f77 into turkdevops:master Mar 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants