Crashing Hugs for fun and profit

Neil Mitchell ndmitchell at gmail.com
Thu Apr 19 20:42:52 EDT 2007


Hi

I've attached 3 separate bugs in the Hugs compiler, they are all a bit
perplexing, and all seem to ruffle similar areas. I suspect there is
an underlying memory bug, such as overwriting areas of memory or
something.

* Silly fails to derive something that should be obvious, as sent in a
previous mail to hugs-users@

* Nonterm generates:

> hugs Nonterm.hs -98

ERROR "Nonterm.hs":56 - Unresolved top-level overloading
*** Binding             : test
*** Outstanding context : (Play b, Typeable b, Play ((bad type) ((bad type) ((ba
d type) ((bad type) (bad type)))) ((bad type) ((bad type) ((bad type) ((bad type
) ((bad type) ((bad type) ((bad type) (bad type)))) ((bad type) ((bad type) ((ba

Running with WinHugs causes an immediate shutdown.


* Segfault generates:

> hugs Segfault.hs -98

Unexpected signal

With WinHugs I get an immediate shutdown.

Thanks

Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Silly.hs
Type: text/x-haskell
Size: 370 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/hugs-bugs/attachments/20070420/61c676d7/Silly.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Nonterm.hs
Type: text/x-haskell
Size: 1014 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/hugs-bugs/attachments/20070420/61c676d7/Nonterm.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Segfault.hs
Type: text/x-haskell
Size: 1027 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/hugs-bugs/attachments/20070420/61c676d7/Segfault.bin


More information about the Hugs-Bugs mailing list