From: nagachika00@... Date: 2018-11-06T14:50:04+00:00 Subject: [ruby-core:89725] [Ruby trunk Bug#15087] Segmentation fault with splat and block Issue #15087 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE ruby_2_5 r65579 merged revision(s) 64786. ---------------------------------------- Bug #15087: Segmentation fault with splat and block https://bugs.ruby-lang.org/issues/15087#change-74768 * 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: DONE ---------------------------------------- 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/ Unsubscribe: