Ruby Core Updates: JIT Stability and the Longjmp Problem
The bulk of today's activity centers on ZJIT reliability work, including two reverted PRs and follow-up fixes for frame corruption bugs around longjmp, alongside a cluster of platform and correctness fixes touching Windows, FreeBSD, and fiber safety.
Duration: PT2M24S
Episode overview
This episode is a short developer briefing from Ruby Core Updates.
It explains recent repository work in plain language.
- Show: Ruby Core Updates
- Published: 2026-07-17T13:08:56Z
- Audio duration: PT2M24S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's July 17th, and today's codebase activity has one clear center of gravity: keeping ZJIT correct under exceptional control flow, and cleaning up long-standing platform edge cases.
Start with ZJIT. Takashi Kokubun landed a fix in PR 17947 for a test flake caused by comparing the address of a function pointer field instead of the function itself — a subtle bug that could cause snapshot mismatches. More significant is the longjmp problem: PR 17953 and PR 17948 both address cases where a JIT…
Second theme: use-after-free and undefined behavior around thread and fiber teardown. Samuel Williams' fiber guard fix, PR 17951, addresses a real bug — a fiber target object can be collected while a native frame is suspended mid-switch — but it was merged to the wrong branch and reverted in PR 17956, with a redo…
Third theme: platform cleanup. Hiroshi Shibata removed Windows' deprecated CryptoAPI fallback, dropped Interix support entirely, and disabled a broken DTrace probe path on FreeBSD ARM. Mame filed two Windows argument-quoting bugs, 17941 and 17943, where trailing backslashes or backslash-space sequences corrupted…
What to remember: if you're touching ZJIT frame or…
That's…
Nearby episodes from Ruby Core Updates
- Weekly Recap - JIT Maturity and Memory Safety
- Correctness Fixes Take Center Stage
- Edge Case Cleanup Across the Interpreter
- Fiber Safety and Runtime Introspection
- Concurrency Bugs and JIT Speedups
- Object Layout Cleanup and Concurrency Hardening
- Object Layout Overhaul and ZJIT's Inlining Push
- Weekly Recap - Concurrency Hardening and ZJIT Performance Push