[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67329] [ruby-trunk - Bug #10695] Segmentation fault with *args and **kwargs

From: nobu@...
Date: 2015-01-04 16:11:24 UTC
List: ruby-core #67329
Issue #10695 has been updated by Nobuyoshi Nakada.

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

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

* Author: Tobias B=C3=BChlmann
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: syntax
* Target version:=20
* 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' =3D> 'bar')
~~~

Segmentation fault in [here](https://gist.github.com/tbuehlmann/5f0eeaae4f6=
66bd486a8).



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

In This Thread

Prev Next