Re: Compiled hugs - on "overload" crashes

Ross Paterson <[email protected]> Thu, 3 Nov 2005 13:51:55 +0000
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
[moving from haskell-cafe to hugs-bugs]

On Thu, Nov 03, 2005 at 02:32:44PM +0100, Dusan Kolar wrote:
>  My older hugs interpreter stops with error: ERROR - Control stack overflow
> GHCi stops with the same error: *** Exception: stack overflow
> That's OK, really, that's correct behavior after printing some results.
> 
>  Nevertheless, the new hugs compilation stops with this: Segmentation 
> Fault(coredump)
> And that's probably not the correct end. May I do something wrong?

Yes, some infinite computations crash Hugs; it varies with the relative
sizes of your heap, Hugs stack and C stack.  You might like to try a
recent snapshot, in which this should be fixed:

	http://cvs.haskell.org/Hugs/downloads/snapshots/hugs98-20051029.tar.gz