Dear GHC team, 

The command 

ghci Models

generates the following error on my 64 bit intel dual core machine: 

[EMAIL PROTECTED] demo-devel]$ ghci Models
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.4.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Compiling Models           ( Models.hs, interpreted )
ghc-6.4.1: internal error: mallocBytesRWX: failed to protect 0x0x165c050

    Please report this as a bug to glasgow-haskell-bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/

The file Models.hs is in appendix. 

I am using ghc-6.4.1 on a Fedore Core 5 linux machine, 
running kernel 2.6.16-1.2080 (_FC5.x86_64). 

Regards, 

Jan 


-- 
Jan van Eijck                                EMAIL [EMAIL PROTECTED]
CWI, PO Box 94079, 1090 GB Amsterdam, NL     phone +31-20-5924052 (work)      
                                                   +31-20-6250735 (home)
WWW   http://www.cwi.nl/~jve                 fax   +31-20-5924200

module Models where 

import List 

data Agent = A | B | C | D | E deriving (Eq,Ord,Enum,Bounded) 

a, alice, b, bob, c, carol, d, dave, e, ernie  :: Agent 
a = A; alice = A
b = B; bob   = B
c = C; carol = C
d = D; dave  = D
e = E; ernie = E

instance Show Agent where 
  show A = "a"; show B = "b"; show C = "c"; show D = "d" ; show E = "e"

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to