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 958EA19E006B for ; Wed, 3 Feb 2016 19:00:32 +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 4A5DEB5D819 for ; Wed, 3 Feb 2016 19:34:50 +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 CC61418CC7D1 for ; Wed, 3 Feb 2016 19:34:50 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id F14AA1204F3; Wed, 3 Feb 2016 19:34:49 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 4767B1204C5 for ; Wed, 3 Feb 2016 19:34:46 +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=nNxYrH+1G441jnUeu1GwRi/6lJg=; b=ApxfC1pFCo2BbblopY nM/WFOuIq82IsL7TmGdwY0gmKvAv5PxpTdK9olb6+HKb2nOA03KmP5iNFNM9cPXV Jtz8ECC2vwalwcd9tVgNLzh8cLegz3TvjiXMvclXAQlobcL1IMzemdM/f+iq/9tY CXLyhZur6vswdnbkrItN2xv6Y= Received: by filter0831p1mdw1.sendgrid.net with SMTP id filter0831p1mdw1.12456.56B1D7C420 2016-02-03 10:34:44.327240933 +0000 UTC Received: from herokuapp.com (ec2-54-221-4-6.compute-1.amazonaws.com [54.221.4.6]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id 1oih_boYTxi8KEI4oTxYsw for ; Wed, 03 Feb 2016 10:34:44.338 +0000 (UTC) Date: Wed, 03 Feb 2016 10:34:44 +0000 From: usa@garbagecollect.jp To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 48265 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11845 X-Redmine-Issue-Author: kou X-Redmine-Sender: usa 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7b0dQgCo47SKuTCTyO2oBqjivM5M3+5ggFDu xs4/n0SwVCDmHY/ufDCX6EZsPw1AybV7w9BtLaRLN7sNicuQWgAIRCtgL60PsEaWt7X7QO0Jo56LYJ t/AtlZv4IRkzdL5Z9A3KNMrl7P7GFQTJq5SsacIy76qiDL58QKjp16Q3BA== X-ML-Name: ruby-core X-Mail-Count: 73670 Subject: [ruby-core:73670] [Ruby trunk Bug#11845] source_location against symbol.to_proc causes 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 #11845 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- Bug #11845: source_location against symbol.to_proc causes infinite loop https://bugs.ruby-lang.org/issues/11845#change-56862 * Author: Kouhei Sutou * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-12-19 trunk 53202) [x86_64-linux] * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- `ruby -v -e ':class.to_proc.source_location'` causes inifinite loop: ```text % /tmp/local/bin/ruby -v -e ':class.to_proc.source_location' ruby 2.3.0dev (2015-12-19 trunk 53202) [x86_64-linux] (never finished) ``` It's also caused with ruby 2.3.0preview2: ```text /tmp/local/bin/ruby -v -e ':class.to_proc.source_location' ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-linux] (never finished) ``` This may be related to `Proc#call` optimization. -- https://bugs.ruby-lang.org/