[GHC] #14299: GHCi for GHC 8.2.1 crashed with simple function?

GHC ghc-devs at haskell.org
Fri Sep 29 20:37:12 UTC 2017


#14299: GHCi for GHC 8.2.1 crashed with simple function?
--------------------------------------+-------------------------------
           Reporter:  mathiassm       |             Owner:  (none)
               Type:  bug             |            Status:  new
           Priority:  normal          |         Milestone:
          Component:  GHCi            |           Version:  8.2.1
           Keywords:                  |  Operating System:  MacOS X
       Architecture:  x86_64 (amd64)  |   Type of failure:  GHCi crash
          Test Case:                  |        Blocked By:
           Blocking:                  |   Related Tickets:
Differential Rev(s):                  |         Wiki Page:
--------------------------------------+-------------------------------
 I'm a newbie here, but I'm following your instructions!

 I started GHCi, defined a simple factorial function and then called it
 and... it crashed.

 {{{#!hs
 let f 0 = 0
 f n = n * f (n-1)
 f 0
 }}}

 That is what I introduced in the console... After that computer hanged and
 gave me the following error:

 {{{
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.2.1 for x86_64-apple-darwin):
         thread blocked indefinitely in an MVar operation

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14299>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list