Issue #9828 has been reported by Arne Brasseur.

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

* Author: Arne Brasseur
* Status: Open
* Priority: High
* Assignee: 
* Category: core
* Target version: 
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
This causes a segmentation fault on 2.1.1 and 2.1.2, instead of SystemStackError

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



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