Issue #10695 has been updated by Nobuyoshi Nakada.

Duplicates Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash  added

----------------------------------------
Bug #10695: Segmentation fault with *args and **kwargs
https://bugs.ruby-lang.org/issues/10695#change-50787

* Author: Tobias Bhlmann
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: syntax
* Target version: 
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
The following will raise a Segmentation fault:

~~~ruby
def foo(*args, **kwargs)
  puts "args: #{args}"
  puts "kwargs: #{kwargs}"
end

foo('foo' => 'bar')
~~~

Segmentation fault in [here](https://gist.github.com/tbuehlmann/5f0eeaae4f666bd486a8).



-- 
https://bugs.ruby-lang.org/