From: Paul Brannan Date: 2004-06-08T23:40:36+09:00 Subject: Re: Segfault on embedded ruby. On Tue, Jun 08, 2004 at 01:03:19PM +0900, nobu.nokada@softhome.net wrote: > > ruby_init() calls Init_stack, so why should this be necessary? > > To adjust the stack boundary. > The stack frame inside Init_stack() called from ruby_init() > would be placed at lower address than one of dontCrash() , so > that `test' in it would be outside the region of GC target. But test was marked with rb_gc_register_address(). Shouldn't that function work with addresses that are not on the stack? Paul