From: Eric Wong Date: 2014-01-29T10:13:31+00:00 Subject: [ruby-core:60206] Re: [ruby-trunk - Bug #9365] Sporadic TypeError (wrong argument type Thread (expected VM/thread)) from IO#close (via Net:HTTP) I haven't been able to reproduce this. It appears something is corrupting the typed_flag in the thread VALUE before IO#close. Do you get segfaults or other unexplained errors? Does this happen near/when unicorn worker processes exit/spawn? Thanks for any more info you can provide.