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=-4.1 required=3.0 tests=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 C865A1F404 for ; Fri, 7 Sep 2018 15:07:24 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id F0741120A1F; Sat, 8 Sep 2018 00:07:22 +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 35CA51209E9 for ; Sat, 8 Sep 2018 00:07:19 +0900 (JST) Received: by filter0033p3iad2.sendgrid.net with SMTP id filter0033p3iad2-27953-5B929424-7 2018-09-07 15:07:16.075557148 +0000 UTC m=+60747.313675712 Received: from herokuapp.com (ec2-54-204-176-169.compute-1.amazonaws.com [54.204.176.169]) by ismtpd0040p1mdw1.sendgrid.net (SG) with ESMTP id Fg7HgrUxRo6iLnFN5VbSwQ for ; Fri, 07 Sep 2018 15:07:15.973 +0000 (UTC) Date: Fri, 07 Sep 2018 15:07:16 +0000 (UTC) From: mame@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 64282 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15087 X-Redmine-Issue-Author: jacobevelyn X-Redmine-Sender: mame 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS6HPVgiGAlyGpnQG/dwr8d/DdPPWghRP+ICWm BtDpEN3tDqdfAtQOgrS2/ozWO4z99bdI6JeawxncLocUIk0V3qQ1pf/Hr87xdB0FFBx0FK84ana/NW VowX3bJ4zcnffkJa5NhVdixC9XaDpkI+T5zubCg4s64azLAp1vTA82kHYQ== X-ML-Name: ruby-core X-Mail-Count: 88891 Subject: [ruby-core:88891] [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 mame (Yusuke Endoh). Good catch. My patch for #15052 will fix this issue. ---------------------------------------- Bug #15087: Segmentation fault with splat and block https://bugs.ruby-lang.org/issues/15087#change-73934 * Author: jacobevelyn (Jacob Evelyn) * Status: Open * 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/