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.9 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 535A11F453 for ; Fri, 2 Nov 2018 19:31:41 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id A71A6121442; Sat, 3 Nov 2018 04:31:39 +0900 (JST) 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 3FDB01212C9 for ; Sat, 3 Nov 2018 04:31:37 +0900 (JST) Received: by filter0145p3las1.sendgrid.net with SMTP id filter0145p3las1-746-5BDCA615-35 2018-11-02 19:31:33.816201085 +0000 UTC m=+160993.736634233 Received: from herokuapp.com (ec2-54-197-117-97.compute-1.amazonaws.com [54.197.117.97]) by ismtpd0014p1iad2.sendgrid.net (SG) with ESMTP id NfS0D0U8Tt2gqnpFEWbgkA for ; Fri, 02 Nov 2018 19:31:33.529 +0000 (UTC) Date: Fri, 02 Nov 2018 19:31:34 +0000 (UTC) From: msiegel@riverdaletechinc.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65066 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15087 X-Redmine-Issue-Author: jacobevelyn X-Redmine-Sender: RubyBugs 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7t0r8ZP3XnPEJ4Ho2g/BBx2k5c03mZi2FJlp 7J5VcjeDjfTszcTfAEdQFR6xgpRJTJ01G8Hsrw3ZPVK9TVpgIOS+sjdPLRZLA6XQEkd9f16qtVbOot QLeX3rFK1DzlWF2REWkyq/z/kuNdplvSVv/AgSPYOChYRx+9+xZVTUupYg== X-ML-Name: ruby-core X-Mail-Count: 89681 Subject: [ruby-core:89681] [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 RubyBugs (A Nonymous). This is **still crashing** in Ruby 2.5.3. Is this going to ever be fixed in Ruby 2.5 series? ---------------------------------------- Bug #15087: Segmentation fault with splat and block https://bugs.ruby-lang.org/issues/15087#change-74721 * 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: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- 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/