From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id EE5A519A00E3 for ; Fri, 21 Aug 2015 17:02:35 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 991C5B5DC06 for ; Fri, 21 Aug 2015 17:39:07 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id B147F97A832 for ; Fri, 21 Aug 2015 17:39:09 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ccNkrJMfB8SP for ; Fri, 21 Aug 2015 17:39:09 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 767C597A820 for ; Fri, 21 Aug 2015 17:39:09 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 5B66095241E for ; Fri, 21 Aug 2015 17:39:07 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5A1C3120483; Fri, 21 Aug 2015 17:39:07 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id 8671D12046F for ; Fri, 21 Aug 2015 17:39:02 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=at17NKZr9fTU+IPRAWp9Jo4YU7c=; b=zDX2sNZoKXcGOMuNaz A31FuEJD00sor6Y1jr+rSZD2cPLasSALxgSuOerssxAhT4fgO5LvDqmVY1j5YTXD 8cjYmXt9SlcmvIjPk/zxodHMbRj4GejAOyZ4v99d3Pkx/09aS9jZnaW1MDp9iN57 pw3bbRGBf1YXu57Gfwk3X/vaM= Received: by filter0578p1mdw1.sendgrid.net with SMTP id filter0578p1mdw1.31931.55D6E3A111 2015-08-21 08:38:57.723217641 +0000 UTC Received: from herokuapp.com (ec2-54-147-144-195.compute-1.amazonaws.com [54.147.144.195]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id jMvHqdFeTSW_mg4Vn6vf2Q for ; Fri, 21 Aug 2015 08:38:57.646 +0000 (UTC) Date: Fri, 21 Aug 2015 08:38:57 +0000 From: ko1@atdot.net To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 45113 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11451 X-Redmine-Issue-Author: alexdowad X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: ko1 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5kQePiQ8o820vltI1ABo3DCXPw0kHYuAgJ12 WrygCmqZAgV5fNpyRUH6c3YpgI/x4vKm/eXbMjivjadCX6lHDKZdjFa9kJa0aGGwW9X9QOWby8hQQ9 Nxt/3RjssVQDDNLF/9V0FENhd5rNj7dwjVGF X-ML-Name: ruby-core X-Mail-Count: 70504 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 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/