Opened 5 years ago

Closed 5 years ago

#6014 closed bug (worksforme)

Crash; message says to report it, here it is.

Reported by: guest Owned by:
Priority: normal Milestone:
Component: GHCi Version: 7.4.1
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: GHCi crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

Prelude> :cd ~/Dropbox\\classes\\inf212W12\\haskell\\examples\\

Prelude> :load fact2.hs

[1 of 1] Compiling Main             ( fact2.hs, interpreted )
Ok, modules loaded: Main.

*Main> fact 42
ghc.exe: internal error: evacuate(static): strange closure type 36134
    (GHC version 7.0.4 for i386_unknown_mingw32)
    Please report this as a GHC bug:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

fact2.hs is this:

fact :: Int -> Int

fact n = if n == 0 then 1 else fact n * (n-1)

Change History (5)

comment:1 Changed 5 years ago by guest

Indentation isn't quite right. I typed

*Main> fact 42

only. The rest is the beginning of the error message

comment:2 Changed 5 years ago by simonmar

difficulty: Unknown
Status: newinfoneeded

I suspect your computer might have a hardware problem. Can you reproduce it on another computer?

comment:3 Changed 5 years ago by simonmar

Incidentally, the program has a bug :)

comment:4 Changed 5 years ago by igloo

Description: modified (diff)

comment:5 Changed 5 years ago by igloo

Resolution: worksforme
Status: infoneededclosed

No response from submitter, so closing.

Note: See TracTickets for help on using tickets.