Skip to content

GHCi crash on simple writeFile

Windows NT sp4, ghc 5.01 "Borag Thungg"

On a simple attempt to use writeFile, the file is
correctly written, however ghc crashes immediately
afterward. The exact error message is:

The instruction at "0x00b12d58" referenced memory at
"0x00000000". The memory could not be "written".

Assigned to a null pointer, I guess.

Thanks,

Bryn


Administrator@BRK /NextGen/src/magellan/src/haskell
$ ghc --interactive
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
5.01, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package std ... linking ... done.
Prelude> writeFile "foo" "baz"

Administrator@BRK /NextGen/src/magellan/src/haskell
$
Trac metadata
Trac field Value
Version 5.0
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information