Bug#390854: hugs: SEGV instead of Control stack overflow in many ocassions

2006-10-04 Thread Ross Paterson
On Tue, Oct 03, 2006 at 01:03:59PM +0200, Tomas Janousek wrote: It crashes with let test x = test x + 1 in test 1 but does not with let test x = 1 + test x in test 1 The same applies for factorial calculation like: crash: let fac x = fac (x - 1) * x in fac (-1) stack overflow: let

Bug#390854: hugs: SEGV instead of Control stack overflow in many ocassions

2006-10-04 Thread Tomáš Janoušek
Wed, Oct 04, 2006 at 09:07:40AM +0100 Ross Paterson napsal: It's a documented bug (Other bugs in Hugs in the User's Guide): the former versions overflow the C stack (SEGV), while the latter overflow the Hugs stack (nice error message). It's interesting that November 1999 on IRIX works ok, but

Bug#390854: hugs: SEGV instead of Control stack overflow in many ocassions

2006-10-03 Thread Tomas Janousek
Package: hugs Version: 98.200503.08-4 Severity: normal It crashes with let test x = test x + 1 in test 1 but does not with let test x = 1 + test x in test 1 The same applies for factorial calculation like: crash: let fac x = fac (x - 1) * x in fac (-1) stack overflow: let fac x = x * fac