Igor Schein on Tue, 28 Jul 1998 15:06:05 -0400 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
SEGV on bad recursion |
Hi, here's what happening: \\ f() is an recursively defined identity map on Z+ \ {1} f(n)=if(n==2,2,f(n-1)+1) f(1) That's where gp segfaults and dies. My guess is that gp doesn't handle infinite recursion well. Rather, it handles it awefully, because it can't even trap a SEGV. Thanks Igor