Project

General

Profile

Actions

Bug #10695

closed

Segmentation fault with *args and **kwargs

Added by tb (Tobias Bühlmann) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
[ruby-core:67328]

Description

The following will raise a Segmentation fault:

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

foo('foo' => 'bar')

Segmentation fault in here.


Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash Closed12/31/2014Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0