From: Daniel Berger Date: 2008-02-20T08:15:55+09:00 Subject: Re: Timeout, WWW::Mechanize, core dump On Feb 14, 6:57 pm, Nobuyoshi Nakada wrote: > It seems similar to [ruby-dev:33611], and akr was suggesting > changing the following in gc.c from 0x80 to 0. > > #if defined(sparc) || defined(__sparc__) > # define STACK_LENGTH (rb_gc_stack_start - STACK_END + 0x80) > > Could you try it? > > Index: gc.c > =================================================================== > --- gc.c (revision 15479) > +++ gc.c (working copy) > @@ -454,7 +454,5 @@ stack_end_address(VALUE **stack_end_p) > # define STACK_END (stack_end) > #endif > -#if defined(sparc) || defined(__sparc__) > -# define STACK_LENGTH (rb_gc_stack_start - STACK_END + 0x80) > -#elif STACK_GROW_DIRECTION < 0 > +#if STACK_GROW_DIRECTION < 0 > # define STACK_LENGTH (rb_gc_stack_start - STACK_END) > #elif STACK_GROW_DIRECTION > 0 That worked, thanks! Dan