Issue #8966 has been updated by shugo (Shugo Maeda). nagachika (Tomoyuki Chikanaga) wrote: > committed at r43090. > And it should be backported to ruby_2_0_0. Ah, I forgot to add the bug number to the commit log of r43090. Thanks. ---------------------------------------- Backport #8966: SEGV when a refined method is undefined by undef https://bugs.ruby-lang.org/issues/8966#change-42126 Author: shugo (Shugo Maeda) Status: Assigned Priority: Normal Assignee: nagachika (Tomoyuki Chikanaga) Category: Target version: =begin The following code causes SEGV: module Foo refine Object do def foo puts "foo" end end end using Foo class Object undef foo end foo I guess undef is not aware of refinements. =end -- http://bugs.ruby-lang.org/