From: ko1@... Date: 2015-08-21T08:38:57+00:00 Subject: [ruby-core:70504] [Ruby trunk - Bug #11451] MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way Issue #11451 has been updated by Koichi Sasada. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED Thank you for your reproducible script! ---------------------------------------- Bug #11451: MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way https://bugs.ruby-lang.org/issues/11451#change-53904 * Author: Alex Dowad * Status: Closed * Priority: Normal * Assignee: Koichi Sasada * ruby -v: 2.3.0dev, also present in 2.2.2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED ---------------------------------------- Dear Ruby people, How are you? The other day, someone reported that a gem I maintain was crashing under MRI 2.2.2. I traced it through with GDB, found where it was going wrong, and wrote a tiny little patch which makes the crash go away. (Yay!) Can you look at this and check that this patch won't cause any other problems? Thanks, Alex Dowad ---Files-------------------------------- repro.rb (283 Bytes) 0001-Fix-crash-caused-by-recursive-yield-to-blocks-with-d.patch (1.48 KB) -- https://bugs.ruby-lang.org/