>>>>> "B" == Bil Kleb <Bil.Kleb / NASA.Gov> writes:

B> Here's what I did and found, but I am not sure what you mean by "value it has",
B> i.e., I need more hand-holding.

 Well, you need the value of rb_gc_stack_start and the value of the current
 stack which must be in a register.

 Apparently this is the limit `49152' which is the problem

 For example at moulon

Breakpoint 2, stack_check () at eval.c:5254
5254            overflowing = 1;
(gdb) p STACK_LEVEL_MAX
$1 = 1835008
(gdb) p rb_gc_stack_start
$2 = (VALUE *) 0xbfffdb90
(gdb) info register esp
esp            0xbf8ed300       0xbf8ed300
(gdb) p (0xbfffdb90-0xbf8ed300)/4
$3 = 1851940
(gdb)



Guy Decoux