WinHugs crashes reversing infinite lists

carlos.scheidegger@via-rs.net carlos.scheidegger@via-rs.net
Mon, 1 Oct 2001 23:14:25 -0300


Hello all.

	I think I found a bug on Hugs for Windows 32 (both on the GUI 
version and the console). If you try to reverse an infinite list, for 
example:

reverse (repeat 0)
reverse [1..]

This will make Hugs segfault. Of course, reversing an infinite list is 
not something you should do, but so isn't segfaulting :) GHC for 
W2K just freezes (as would be expected).

Hope I helped,
Carlos