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 B98F417DC09B for ; Tue, 14 Oct 2014 21:18:48 +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 927D4B5D844 for ; Tue, 14 Oct 2014 21:03:20 +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 3217197A82C for ; Tue, 14 Oct 2014 21:03:23 +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 dMDB4rTpcXXP for ; Tue, 14 Oct 2014 21:03:23 +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 EADCC97A826 for ; Tue, 14 Oct 2014 21:03:22 +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 D62AF952446 for ; Tue, 14 Oct 2014 21:03:16 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id B8BC3120421; Tue, 14 Oct 2014 21:03:08 +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 7C1C112040E for ; Tue, 14 Oct 2014 21:03:04 +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=tEKpPSN80U4/gnJCyWTFkDRU4LY=; b=cGVAYYAxABjUnyC+Rj HX1uKrC42649MkRsMy1Xs0DvzOQFDkfmQQZZUHc8+OtkAF77JZhyME2/m9MCp7pm wK7OiHkOVsyvpNJL0y/Aw0R+tVLCgkbwviPxDVAYxZgA1maA980nRBeZdiRORF4F AcFPPNtK1SJYfbp2DvyKiUtvg= Received: by filter0141p1mdw1.sendgrid.net with SMTP id filter0141p1mdw1.9152.543D10F2B 2014-10-14 12:02:58.747061952 +0000 UTC Received: from herokuapp.com (ec2-54-237-200-188.compute-1.amazonaws.com [54.237.200.188]) by ismtpd-028.iad1.sendgrid.net (SG) with ESMTP id 1490e8a3384.5a5f.1bce94 for ; Tue, 14 Oct 2014 12:02:58 +0000 (GMT) Date: Tue, 14 Oct 2014 12:02:58 +0000 From: shibata.hiroshi@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: 39995 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10290 X-Redmine-Issue-Author: jacknagel X-Redmine-Sender: hsbt X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7nUo+/revSoDb31cSTsD/Wr27ll4Vf0ZrExSSEFIoUvuFcdw+hlQC7stlJ/vPXfcVUsCK36TrXQ9QGiEvflyptGieVXEH8cyTA4+lvxyT4sa85uhRlxpkcmL8VFzGOzu8G298w66c8ZtnClLCnLdNB X-ML-Name: ruby-core X-Mail-Count: 65701 Subject: [ruby-core:65701] [ruby-trunk - Bug #10290] segfault when calling a lambda recursively after rescuing SystemStackError 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 #10290 has been updated by Hiroshi SHIBATA. I can reproduce clang on linux. ``` [hsbt@chkbuild001 ~]$ clang -v clang version 3.5.0 (tags/RELEASE_350/final) Target: x86_64-amazon-linux-gnu Thread model: posix Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-amazon-linux/4.8.2 Found candidate GCC installation: /usr/lib/gcc/x86_64-amazon-linux/4.8.2 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-amazon-linux/4.8.2 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 ``` ---------------------------------------- Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError https://bugs.ruby-lang.org/issues/10290#change-49429 * Author: Jack Nagel * Status: Feedback * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.3p242 (2014-09-19 revision 47629) [x86_64-darwin13.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- The following code segfaults on Ruby 2.1.3: ``` l = -> { l.() } begin l.() rescue SystemStackError l.() # segfault end ``` the issue does not occur on trunk. ---Files-------------------------------- ruby_2014-09-25-000925_haswell.log (46.4 KB) ruby_2014-09-25-001644_haswell.log (46.8 KB) -- https://bugs.ruby-lang.org/