[GHC] #7380: Panic: mkNoTick: Breakpoint loading modules with -O2 via API

GHC ghc-devs at haskell.org
Mon Nov 24 22:48:59 UTC 2014


#7380: Panic: mkNoTick: Breakpoint loading modules with -O2 via API
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  JeanPhilippeMoresmau               |           Status:  new
                  Type:  bug         |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.4.1
             Component:  GHC API     |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Runtime     |  Related Tickets:
  crash                              |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * os:  Windows => Unknown/Multiple
 * architecture:  ia64 => Unknown/Multiple


Comment:

 I can reproduce this bug on Linux.


 Change the let binding `fp` in `Main.hs` to the path of a file that
 contains:
 {{{
 main::IO()
 main = print "Hello Fay"
 }}}

 Then:
 {{{
 $ cabal install ghc-paths

 $ ghc-7.9.20141121 -package ghc Main.hs

 $ ./Main
 Main: Main: panic! (the 'impossible' happened)
   (GHC version 7.9.20141121 for x86_64-unknown-linux):
         mkNoCount: Breakpoint
 }}}

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


More information about the ghc-tickets mailing list