Hi,

At Thu, 10 Jun 2004 04:13:41 +0900,
Godot wrote in [ruby-talk:102983]:
> That's correct, rb_gc_register_address doesn't prevent the crash, and the
> more I read about Init_stack, the more I question why it even needs to be
> called (although that does fix it).

Hmmm, rb_gc_register_address should do.  Something other might
go wrong.

> This is from http://www.rubygarden.org/ruby?RubyApi/InitStack :
> 
> " If ruby_init() is not called from main(), you may need to use Init_stack
> so Ruby knows the true bounds of the stack."
> 
> Now, either this wiki entry is only partially true, or ...?

It is difficult to say generally without assembler details,
because it is affected by compile option and so on.

-- 
Nobu Nakada