From: "Iñaki Baz Castillo" Date: 2012-05-18T08:20:46+09:00 Subject: Re: rb_gc_register_address() or rb_gc_mark()? 2012/5/18 Eric Hodel : > rb_gc_register_address is for use with fixed memory addresses like: > >  static VALUE string_aaa; > > Using it on pointers to the heap or stack is going to result in undefined behavior. Ok, that explains the behavior I've observed. This should be documented somewhere, I will report it. Thanks a lot. -- Iñaki Baz Castillo