From: nobu@... Date: 2015-12-01T14:12:58+00:00 Subject: [ruby-core:71779] [Ruby trunk - Bug #11756] SEGV Thread#inspect when sets the thread#name as a OpenStruct Issue #11756 has been updated by Nobuyoshi Nakada. Description updated Backport set to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- Bug #11756: SEGV Thread#inspect when sets the thread#name as a OpenStruct https://bugs.ruby-lang.org/issues/11756#change-55188 * Author: Lucas Amorim * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0preview1 (2015-11-11 trunk 52539) [x86_64-darwin15] * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- How to reproduce: Run this script: ~~~ruby require 'ostruct' thread = Thread.new { 0 } thread.name = OpenStruct.new puts thread.inspect ~~~ Result: ~~~ ../thread_name.rb:6: [BUG] Segmentation fault at 0x00000000000000 ruby 2.3.0preview1 (2015-11-11 trunk 52539) [x86_64-darwin15] ~~~ I'll try to provide a patch ASAP. -- https://bugs.ruby-lang.org/