From: "nobu (Nobuyoshi Nakada)" Date: 2013-09-09T13:14:21+09:00 Subject: [ruby-core:57082] [ruby-trunk - Bug #8880] Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux] Issue #8880 has been updated by nobu (Nobuyoshi Nakada). #8722 is irrelevant, and it occurs regardless of eval. Seems refined method definition doesn't increase seq in the class. ---------------------------------------- Bug #8880: Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux] https://bugs.ruby-lang.org/issues/8880#change-41692 Author: minad (Daniel Mendler) Status: Open Priority: Normal Assignee: Category: core Target version: current: 2.1.0 ruby -v: ruby 2.1.0dev (2013-09-08) [x86_64-linux] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Hi, I found a bug in the refinements implementation of Ruby 2.1.0. It is related to https://bugs.ruby-lang.org/issues/8722. On ruby 2.0.0p0 (2013-02-24 revision 39474) this does not occur. The VM segfaults when the attached code is executed. The problem is that a used refinement is modified afterwards. Daniel -- http://bugs.ruby-lang.org/