From: Eric Wong Date: 2014-09-26T07:38:39+00:00 Subject: [ruby-core:65281] Re: [ruby-trunk - Bug #10296] [Open] SEGV from unchecked Data_Get_Struct() argument Calling initialize_copy directly is probably buggy behavior and not unique to just the json/zlib C extensions. Other than telling users to never call initialize_copy directly, I'm not sure what to do about it. It would be a lot of effort to fix every existing extension out there. Moving towards rb_data_type_t should allow CRuby to enforce this transparently. Maybe other folks have better ideas...