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 (smtp.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 66B921B614BC for ; Sat, 18 Mar 2017 00:28:49 +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 140ABB5D894 for ; Sat, 18 Mar 2017 01:02:58 +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 E00E318CC81C for ; Sat, 18 Mar 2017 01:02:57 +0900 (JST) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 271FD120762; Sat, 18 Mar 2017 01:02:56 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 4C5ED120721 for ; Sat, 18 Mar 2017 01:02:50 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=RZwM4Gdl0PKHwS0T79LIhJNDbfM=; b=Vbg5Izw643id+jNbvb iXb1pl5JYuojEPoZJW91XBGOP/ncgPPzNbWAxp9ENDsTkuxoPmlAu2hOHI7eeQ+j Atm3qQAga2dsGlwjYKIBjTZEzpNkoTqbelCrm9h+dIGd9+AJ7ZjpAfEgsftiHasS +l2ZUI97a5vufjWIVzPffYep4= Received: by filter0983p1mdw1.sendgrid.net with SMTP id filter0983p1mdw1-5818-58CC08A1-7B 2017-03-17 16:02:41.865932834 +0000 UTC Received: from herokuapp.com (ec2-54-197-121-40.compute-1.amazonaws.com [54.197.121.40]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id X58mSI4IRF2vqxOnnf7x9w for ; Fri, 17 Mar 2017 16:02:41.827 +0000 (UTC) Date: Fri, 17 Mar 2017 16:02:41 +0000 From: srodman7689@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 55153 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13324 X-Redmine-Issue-Author: srodman7689@gmail.com X-Redmine-Sender: srodman7689@gmail.com 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7aDkjc6IaoQ88rDYjRQc7QHeNl3zJ6hx4jU1 zluF6RLauclqbzRSv0eeBz9NgFKAIAjr7yoQ8E2x2Ih5W2XBNKObEsoPzX8BMiyn+Keu9S1w5cZGmh u0IkdDdgjO6SF2FuwU9zvAcm4SytqWJg84oicbC/RHTmPsZQHhvnEHuTCA== X-ML-Name: ruby-core X-Mail-Count: 80208 Subject: [ruby-core:80208] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #13324 has been updated by srodman7689@gmail.com (Sean Rodman). The command I use to run it directly on the ruby interpreter is ruby -e "a = \"eval a\"; eval a" ---------------------------------------- Bug #13324: IRB Segmentation Fault from eval infinite loop https://bugs.ruby-lang.org/issues/13324#change-63646 * Author: srodman7689@gmail.com (Sean Rodman) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault `a = "eval a"; eval a` when running the same code with just the ruby interpreter I get the below error which is what I would expect `-e:1:in `eval': stack level too deep (SystemStackError) from (eval):1:in `
' from (eval):1:in `eval' from (eval):1:in `
' from (eval):1:in `eval' from (eval):1:in `
' from (eval):1:in `eval' from (eval):1:in `
' from (eval):1:in `eval' ... 9507 levels... from (eval):1:in `eval' from (eval):1:in `
' from -e:1:in `eval' from -e:1:in `
'` -- https://bugs.ruby-lang.org/