On Thu, 10 Jun 2004 00:52:27 +0900, Paul Brannan wrote:

> On Wed, Jun 09, 2004 at 07:38:32AM +0900, nobu.nokada / softhome.net wrote:
>> I've understood that [ruby-talk:102597] doesn't crash when
>> rb_gc_register_address() is called, wrong?
> 
> Maybe I read it wrong, but I thought it crashed regardless of whether it
> was called.
> 
> Paul


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).

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 ...?

Clueless as usual,
-Godot