From: nobu@... Date: 2016-09-06T13:41:11+00:00 Subject: [ruby-core:77159] [Ruby trunk Bug#12727][Rejected] Segfault when subclassing Thread with bad initialize Issue #12727 has been updated by Nobuyoshi Nakada. Status changed from Open to Rejected ---------------------------------------- Bug #12727: Segfault when subclassing Thread with bad initialize https://bugs.ruby-lang.org/issues/12727#change-60379 * Author: Gregory Brown * Status: Rejected * Priority: Normal * Assignee: * ruby -v: 2.3.0p0 * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- I imagine that this is a really unlikely problem to encounter in real code, but... ~~~ ruby class MyThing < Thread def initialize raise end end MyThing.new do loop do puts "hello" sleep(1) end end sleep ~~~ Produces a segfault for me, and I've had someone else confirm as well. -- https://bugs.ruby-lang.org/ Unsubscribe: