From: normalperson@... Date: 2014-09-23T20:01:58+00:00 Subject: [ruby-core:65248] [ruby-trunk - Bug #10282] Reproducible segfault when inspecting this method Issue #10282 has been updated by Eric Wong. File 0001-object.c-rb_class_real-do-not-dereference-0-VALUE.patch added Category set to core Target version set to current: 2.2.0 Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED This looks to be a simple dereference bug. However, this is my first time looking a prepend so maybe there's a subtle behavior change I missed. "make check" and rubyspec passes, at least. ---------------------------------------- Bug #10282: Reproducible segfault when inspecting this method https://bugs.ruby-lang.org/issues/10282#change-49080 * Author: Thomas Stratmann * Status: Open * Priority: Normal * Assignee: * Category: core * Target version: current: 2.2.0 * ruby -v: 2.1.2 * Backport: 2.0.0: DONTNEED, 2.1: REQUIRED ---------------------------------------- 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/