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 9B72319C03A7 for ; Tue, 24 Nov 2015 08:54:20 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 16172B5D9B4 for ; Mon, 23 Nov 2015 00:41:55 +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 D048118CC7B6 for ; Mon, 23 Nov 2015 00:41:58 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 58EF0120434; Mon, 23 Nov 2015 00:41:55 +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 AE00E120410 for ; Mon, 23 Nov 2015 00:41:50 +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=hDWeVb6vR9rGg9IfnI/AE6UBLBY=; b=Ah1TJHHTLriLSkrtJD ceNIWmE0xNAD1pUBscruHk4CyPw4W8XTDz7TcaMRna7L0MbhPr/QXbn8Jl0IcGWP wt3Nrx6v+8y5Fve+EDmfdfH5houKM/9g5KpbTB50Z5O5905vOw3bh4eC/SG0BLr3 baxyPG7KXC3XmLJ0Zp1DdLi6M= Received: by filter0438p1mdw1.sendgrid.net with SMTP id filter0438p1mdw1.19298.5651E2398 2015-11-22 15:41:45.102929274 +0000 UTC Received: from herokuapp.com (ec2-54-167-203-252.compute-1.amazonaws.com [54.167.203.252]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id OmtVBPpEQzWp5RAy21-Mtw for ; Sun, 22 Nov 2015 15:41:45.044 +0000 (UTC) Date: Sun, 22 Nov 2015 15:41:44 +0000 From: nagachika00@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: 46299 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11451 X-Redmine-Issue-Author: alexdowad X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: nagachika 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS60P0elMS0YI1G9W5tyE3+YYE48Y1tWrjxR77 77tKJ1cyXgVqFRTqDTW/SYCxFIjfhEeNI7LKzBi1V6ToYfXeWXSCdcW1dzHcsaA9hImLPO2cbL0JNf DpbrVlKahBj5F7CDfX2mXcKYrVZWcve5UpJ6 X-SendGrid-Contentd-ID: {"test_id":"1448206906"} X-ML-Name: ruby-core X-Mail-Count: 71628 Subject: [ruby-core:71628] [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 Tomoyuki Chikanaga. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE Backported into `ruby_2_2` branch at r52717. ---------------------------------------- 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-55029 * 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: DONE ---------------------------------------- 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/