From: nobu@... Date: 2014-05-27T03:52:10+00:00 Subject: [ruby-core:62780] [Backport21 - Backport #9828] Segfault instead of stack overflow 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/