From: Nobuyoshi Nakada Date: 2006-04-13T17:33:00+09:00 Subject: Re: Segmentation fault in recursive function Hi, 2006/4/13, Sven Klemm : > I know the code does not make that much sense but nervertheless should > ruby never segfault but throw a SystemStackError or something similar. > > I am using ruby 1.8.4 under Gentoo (powerpc). On a x86 computer the code > correctly throws a SystemStackError. Stack overflow can't be caught always. There's no way (portable one, at least) to tell it from other segfaults. -- nobu.nakada