[ruby-core:127411] [Ruby Bug#22534] Stack consistency error
10 Nov
2026
10 Nov
'26
8:45 p.m.
Issue #22534 has been reported by tekknolagi (Maxwell Bernstein). ---------------------------------------- Bug #22534: Stack consistency error https://bugs.ruby-lang.org/issues/22534 * Author: tekknolagi (Maxwell Bernstein) * Status: Open * Target version: 4.0 * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- The following snippet causes a crash both on 3.4 and master: a = [7, begin; [(true || 2), (foo while true)]; rescue; 5; end, 6] p a def m = (begin; [(true || 2), (foo while true)]; rescue; 5; end) p m I think the peephole compiler somehow messes up the stack depth. -- https://bugs.ruby-lang.org/
12
Age (days ago)
12
Last active (days ago)
0 comments
1 participants
participants (1)
-
tekknolagi (Maxwell Bernstein)