From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 993061F453 for ; Sat, 3 Nov 2018 05:35:58 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5FC9A120C1E; Sat, 3 Nov 2018 14:35:56 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 43044121277 for ; Sat, 3 Nov 2018 14:35:54 +0900 (JST) Received: by filter0058p3mdw1.sendgrid.net with SMTP id filter0058p3mdw1-26805-5BDD33B6-22 2018-11-03 05:35:50.742303535 +0000 UTC m=+197579.314146369 Received: from herokuapp.com (ec2-23-20-100-230.compute-1.amazonaws.com [23.20.100.230]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id hpIK5PQWTJKi1aDEnKoFig for ; Sat, 03 Nov 2018 05:35:50.704 +0000 (UTC) Date: Sat, 03 Nov 2018 05:35:51 +0000 (UTC) From: nobu@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65076 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15087 X-Redmine-Issue-Author: jacobevelyn X-Redmine-Sender: nobu 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS6hqKUFtepz1V2/AmREQCJM7SRQpMVSRjySCz NTOJ1B8LgazL+ErmMTr7tqiHf5OfEzlSd9QdJcuT6ZMOALfqoscc/1k0/9fAyJ0cMaVJh0neNn+p74 ziwFLMXeUwQamg03RT+5p3v8DUVE7UkqxywYGUEXW1Awz88+FbrU6XejFw== X-ML-Name: ruby-core X-Mail-Count: 89691 Subject: [ruby-core:89691] [Ruby trunk Bug#15087] Segmentation fault with splat and block 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 #15087 has been updated by nobu (Nobuyoshi Nakada). Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED Sorry, I've missed filling the Backport. ---------------------------------------- Bug #15087: Segmentation fault with splat and block https://bugs.ruby-lang.org/issues/15087#change-74730 * Author: jacobevelyn (Jacob Evelyn) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656) * Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED ---------------------------------------- The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1. ~~~ ruby test_proc = Proc.new { "test" } def foo(bar: 1, &block) yield end foo(**{}, &test_proc) ~~~ I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide. ---Files-------------------------------- ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB) ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB) -- https://bugs.ruby-lang.org/