Re: Crashing Hugs for fun and profit

"Neil Mitchell" <[email protected]> Fri, 20 Apr 2007 13:44:15 +0100
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Ross

> > * Nonterm generates:

> > * Segfault generates:

> Under Linux, I get "Garbage collection fails to reclaim sufficient
> space" for both of these.

By tweaking the code a bit I was able to get GC messages, but the
examples above crash. I suspect the crash is rather fragile - minor
alternations like removing expressions that seemingly have no
interaction fix this crash. I suspect it will be hard to replicate
unless you use the actual binary from WinHugs.

I have replicated this on my other Windows machine, with the same
binaries, and the same result. Perhaps running this example under
Valgrind will show up something?

Thanks

Neil