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

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


The test for it was introduced at r44712, but many changes are in thread*.c and signal.c then.

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

* 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