Crashing Hugs for fun and profit

Neil Mitchell ndmitchell at gmail.com
Fri Apr 20 08:44:15 EDT 2007


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


More information about the Hugs-Bugs mailing list