From: Motohiro KOSAKI Date: 2011-02-05T01:07:08+09:00 Subject: [ruby-core:35088] [Ruby 1.9-Bug#4367][Closed] Thread.kill segfaults when the object to be killed isn't a thread Issue #4367 has been updated by Motohiro KOSAKI. Status changed from Open to Closed % Done changed from 0 to 100 This issue was solved with changeset r30781. Andrew, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you. ---- * vm_core.h (GetThreadPtr): use TypedData_Get_Struct() instead CoreDataFromValue() because we need type check. Otherwise, type mismatch can cause segmentation fault crash. [ruby-core:35086] [Ruby 1.9-Bug#4367] * vm.c (thread_data_type): remove static. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4367 ---------------------------------------- http://redmine.ruby-lang.org