Opened 2 years ago

Closed 19 months 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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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:  http://www.haskell.org/ghc/reportabug

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 2 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 2 years ago by simonmar

  • Difficulty set to Unknown
  • Status changed from new to infoneeded

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

comment:3 Changed 2 years ago by simonmar

Incidentally, the program has a bug :)

comment:4 Changed 19 months ago by igloo

  • Description modified (diff)

comment:5 Changed 19 months ago by igloo

  • Resolution set to worksforme
  • Status changed from infoneeded to closed

No response from submitter, so closing.

Note: See TracTickets for help on using tickets.