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 3C70E19809ED for ; Mon, 17 Aug 2015 21:23:34 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 05022B5D882 for ; Mon, 17 Aug 2015 21:59:16 +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 A3E1597A82C for ; Mon, 17 Aug 2015 21:59:18 +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 3PVmVCBUdIoZ for ; Mon, 17 Aug 2015 21:59:18 +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 1E5A897A82B for ; Mon, 17 Aug 2015 21:59:18 +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 8259B95243E for ; Mon, 17 Aug 2015 21:59:15 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id D7A91120450; Mon, 17 Aug 2015 21:59:13 +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 22BFB120442 for ; Mon, 17 Aug 2015 21:59:08 +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=N7Jeh6/WYxkyqQyKASv0j48pu/w=; b=n1ALxlViZc40OZ1n4A ckWgY/404gb2boup9jJOZ/A6dqSYI6Jtmv3SYgDSjx4bzMe4khrrYLmAhO+/K5e2 HVY5BC3sDU0NAOBU3ZQexYm+y67jkDmmWXdl8l4G32E9+QixyNDP1Z7hQ+oOyCFq 8sYiVFdN/DEJ9Y6op8B9EKtRI= Received: by filter0811p1mdw1.sendgrid.net with SMTP id filter0811p1mdw1.25940.55D1DA9720 2015-08-17 12:59:03.611020699 +0000 UTC Received: from herokuapp.com (ec2-54-161-199-18.compute-1.amazonaws.com [54.161.199.18]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id tmcC1lkrQAegNbmtHhiv3w for ; Mon, 17 Aug 2015 12:59:03 +0000 (UTC) Date: Mon, 17 Aug 2015 12:59:03 +0000 From: alexinbeijing@gmail.com 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: 45038 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11451 X-Redmine-Issue-Author: alexdowad X-Redmine-Sender: alexdowad 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS6aNrYZIVD5kvuYIf2uP/nsmx/yBCt/enw2Nr /VBVFlKCeEm4c+eGixQZpze0+khnN6JxM9YuKIFTYui66VnTZdvS98zXSw3liWZFWrg0CcWTbgv6Xn v/hfAajHcGNeMFcAwU8jlx8C1ol4c6F8Sg9j X-ML-Name: ruby-core X-Mail-Count: 70428 Subject: [ruby-core:70428] [Ruby trunk - Bug #11451] [Open] 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 reported by Alex Dowad. ---------------------------------------- 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 * Author: Alex Dowad * Status: Open * Priority: Normal * Assignee: * ruby -v: 2.3.0dev, also present in 2.2.2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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/