Issue #10282 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE

Backported into `ruby_2_1` at r47957.

----------------------------------------
Bug #10282: Reproducible segfault when inspecting this method
https://bugs.ruby-lang.org/issues/10282#change-49471

* Author: Thomas Stratmann
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: core
* Target version: current: 2.2.0
* ruby -v: 2.1.2
* Backport: 2.0.0: DONTNEED, 2.1: DONE
----------------------------------------
The example code can be found here (in this exact comment): https://github.com/pry/pry/issues/1299#issuecomment-56389004

I have taken the time to reduce it as far as this. It should be easily reproduced on other systems/versions now.

---Files--------------------------------
0001-object.c-rb_class_real-do-not-dereference-0-VALUE.patch (1.77 KB)


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