From: Gavin Kistner Date: 2005-03-19T10:38:11+09:00 Subject: Re: Maximum stack depth On Mar 18, 2005, at 6:15 PM, Thomas Hurst wrote: > * Robert Klemme (bob.news@gmx.net) wrote: >>> 1891 levels in my old redhat linux 7.3 box, ruby 1.8.2 built from >>> source > On FreeBSD 5: > 49165 > I think I can live with that. Solaris 9 fares somewhat worse: > 3921 > But not as badly as Linux 2.6.8.1: > 2091 > Or WinXP: Man, you are all awesome compared to MacOS X :| [Slim:~] gavinkis% uname -a Darwin Slim.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc [Slim:~] gavinkis% ruby --version ruby 1.8.2 (2004-11-06) [powerpc-darwin7.6.0] [Slim:~] gavinkis% ruby tmp.rb tmp.rb:9:in `ack': stack level too deep (SystemStackError) from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' ... 600 levels... from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:9:in `ack' from tmp.rb:14 -- (-, /\ \/ / /\/