From: gregory.t.brown@... Date: 2016-09-06T12:28:54+00:00 Subject: [ruby-core:77158] [Ruby trunk Bug#12727] Segfault when subclassing Thread with bad initialize Issue #12727 has been updated by Gregory Brown. Subject changed from Segfault when subclassing Thread to Segfault when subclassing Thread with bad initialize ---------------------------------------- Bug #12727: Segfault when subclassing Thread with bad initialize https://bugs.ruby-lang.org/issues/12727#change-60376 * Author: Gregory Brown * Status: Open * 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: