[ ghc-Bugs-973766 ] ghci coredumps
SourceForge.net
noreply at sourceforge.net
Wed Jun 16 04:14:57 EDT 2004
Bugs item #973766, was opened at 2004-06-16 10:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=973766&group_id=8032
Category: libraries/base
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Josef Svenningsson (josefs)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghci coredumps
Initial Comment:
When asked to create a sufficiently large array ghci
coredumps.
\begin{code}
import Data.Array.ST
import Control.Monad.ST
import GHC.Base
example = runST (do arr <- newArray (minInt,maxInt)
False
go arr)
where go :: STArray s Int Bool -> ST s Bool
go arr = readArray arr 3
\end{code}
Load this into ghci and type 'example'.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=973766&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list