Josef Svenningsson wrote:
>
> Hi!
>
> I'm running the latest hugs (feb 2000) on a sparcstation.
>
> When I load the following script:
>
> > fib' n = fibs!!n
> > where fibs = 0:1:zipWith(+)fibs(tail fibs)
>
> and type:
>
> fib' 100000
>
> I get "Segmentation fault".
> I don't know how important this is to you since you're moving over to the
> STG backend, but it might be important to someone.
This is C stack overflowing. At least with STG Hugs, we can
capture this message in all cases, because we are using our
own, internal stack. What would be even more useful would be
a tool that told you where/why the stack was use by the
above declaration.
Andy Gill