[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89681] [Ruby trunk Bug#15087] Segmentation fault with splat and block
From:
msiegel@...
Date:
2018-11-02 19:31:34 UTC
List:
ruby-core #89681
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/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>