[Haskell-cafe] Crash in GHCI - what is the correct behavior here?

Sittampalam, Ganesh ganesh.sittampalam at credit-suisse.com
Thu Mar 19 05:02:22 EDT 2009

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 at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Luke Palmer
Sent: 19 March 2009 05:00
To: Zachary Turner
Cc: haskell-cafe at haskell.org
Subject: Re: [Haskell-cafe] Crash in GHCI - what is the correct behavior

On Wed, Mar 18, 2009 at 10:55 PM, Zachary Turner
<divisortheory at 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)


 Please access the attached hyperlink for an important electronic communications disclaimer: 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090319/fa782847/attachment.htm

More information about the Haskell-Cafe mailing list