[ruby-core:62780] [Backport21 - Backport #9828] Segfault instead of stack overflow

From: nobu@...
Date: 2014-05-27 03:52:10 UTC
List: ruby-core #62780
Issue #9828 has been updated by Nobuyoshi Nakada.

Duplicates Bug #9454: The define_method(:class) segfault added

----------------------------------------
Backport #9828: Segfault instead of stack overflow
https://bugs.ruby-lang.org/issues/9828#change-46895

* Author: Arne Brasseur
* Status: Open
* Priority: High
* Assignee: 
----------------------------------------
This causes a segmentation fault on 2.1.1 and 2.1.2, instead of `SystemStackError`

~~~ruby
define_method(:foo) { send(:foo) }
foo
~~~



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

In This Thread

Prev Next