From: nobu.nokada@... Date: 2003-10-09T07:26:56+09:00 Subject: Re: GC Segfault [LONG] Hi, At Thu, 9 Oct 2003 01:49:39 +0900, Hannes Wyss wrote: > It seems that GC reaches the Stack-Limit (but then why don't I get "stack > level too deep" ?): Because, when stack overflowed actually, OS kernel terminates the process immediately in kernel mode. We can do nothing at all. > If I understand Ruby-Extensions correctly, the only function called in > Rwv2 so far should be Init_rwv2()- so the only Objects to be marked should > be the Module and its Classes and Constants: As globals? Yes. > I'm pretty sure the problem must lie in my wrapper code, as I'm not > exactly fluent in C++, but it definitely looks as if I'm stuck. What > should my next steps be? Can I get any of you Ruby-Gods more Information? You may need stack checking code at deeply recursing code. Currently, however, it is not provided for extension libraries. -- Nobu Nakada