Opened 14 years ago

Closed 14 years ago

Last modified 45 years ago

#581 closed bug (Fixed)

GHCi crash on simple writeFile

Reported by: xoltar Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 5.0
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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
$

Change History (1)

comment:1 Changed 14 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Fixed in 5.02, thanks for the report.
Note: See TracTickets for help on using tickets.