I also see a segfault on Windows XP SP2 and GHC 6.10.1,
very quick so I'm fairly sure it's not memory.
I agree this should be a bug report.
From:
haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] On
Behalf Of Luke Palmer
Sent: 19 March 2009 05:00
To:
Zachary Turner
Cc: haskell-cafe@haskell.org
Subject: Re:
[Haskell-cafe] Crash in GHCI - what is the correct behavior
here?
On Wed, Mar 18, 2009 at 10:55 PM, Zachary Turner <divisortheory@gmail.com>
wrote:
Regarding
the "black hole detection", is GHCI supposed to exit after printing
<loop>? Or is just supposed to print <loop> then return to a
GHCI prompt? Here's a transcript:
C:\Documents and
Settings\Zach>ghci
GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help
Loading
package ghc-prim ... linking ... done.
Loading package integer ... linking
... done.
Loading package base ... linking ... done.
Prelude> let f x
= let p = x*x in let p = x*p in p
Prelude> f 7
C:\Documents and
Settings\Zach>
Hmm, that's weird. I note that here on linux, this expression
gobbles up memory like nobody's business. Maybe it's being killed for
eating too much? (I dunno)
Luke