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 755871B614BC for ; Sat, 18 Mar 2017 00:30:05 +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 2C58FB5D894 for ; Sat, 18 Mar 2017 01:04:14 +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 0536F18CC8CE for ; Sat, 18 Mar 2017 01:04:14 +0900 (JST) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 88C8212075F; Sat, 18 Mar 2017 01:04:13 +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 98347120721 for ; Sat, 18 Mar 2017 01:04:10 +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=T8HBRRzyPaBgKKoX9GA6oHdX/fc=; b=BnKmDsw9GuTuloDKBA zvXFNZ+YBxJHu131Ru2JLj18BHUNJLKhfSwh1wdc/cj8XtWsabfvTfqy/nqyQoFM E2o1D61bYncwsw1sLRFRkZJAUNDEIGdGqG8mSgCelvuGM+bd9EzNuZh8dsYwJmw4 AgcV4qGa+qFd/qMTF0IDI5nvo= Received: by filter0424p1mdw1.sendgrid.net with SMTP id filter0424p1mdw1-7528-58CC0860-56 2017-03-17 16:01:36.396396136 +0000 UTC Received: from herokuapp.com (ec2-184-73-1-254.compute-1.amazonaws.com [184.73.1.254]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id EI3h_hURTr6N7P4GlmDS-g for ; Fri, 17 Mar 2017 16:01:36.323 +0000 (UTC) Date: Fri, 17 Mar 2017 16:01:35 +0000 From: srodman7689@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 55152 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7HxluH+PjNd+BCfFirVHNiW8Ed828yLmJEFk VFM59AdExwqwetR7pfeUlk+D1MaqqUx6yBdSlk/XHCxp5f7ip7K6LWgW3ei4XqZuIJDbQOQi8j52pH SsaxVkKW0qmXeyoKCui6Frq6Mvi1YE2E48eVtwnGLQTjzAyVLp8h2CPhKg== X-ML-Name: ruby-core X-Mail-Count: 80209 Subject: [ruby-core:80209] [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 reported by srodman7689@gmail.com (Sean Rodman). ---------------------------------------- Bug #13324: IRB Segmentation Fault from eval infinite loop https://bugs.ruby-lang.org/issues/13324 * 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/