[GHC] #13233: typePrimRep panic while compiling GHC with profiling

GHC ghc-devs at haskell.org
Sun Feb 5 04:44:12 UTC 2017


#13233: typePrimRep panic while compiling GHC with profiling
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Here is a more complete backtrace,
 {{{
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 8.1.20170124 for x86_64-unknown-linux):
         runtimeRepPrimRep
   typePrimRep (a :: TYPE k0)
   k0
   Call stack:
       ?callStack, called at compiler/utils/Util.hs:1352:50 in ghc:Util
         prettyCurrentCallStack, called at
 compiler/utils/Outputable.hs:1166:58 in ghc:Outputable
         callStackDoc, called at compiler/utils/Outputable.hs:1170:37 in
 ghc:Outputable
         pprPanic, called at compiler/simplStg/RepType.hs:358:5 in
 ghc:RepType
         runtimeRepPrimRep, called at compiler/simplStg/RepType.hs:340:5 in
 ghc:RepType
         kindPrimRep, called at compiler/simplStg/RepType.hs:303:18 in
 ghc:RepType
         typePrimRep, called at compiler/simplStg/RepType.hs:67:11 in
 ghc:RepType
         typePrimRepArgs, called at compiler/simplStg/RepType.hs:108:13 in
 ghc:RepType
         countFunRepArgs, called at compiler/basicTypes/Id.hs:570:19 in
 ghc:Id
         idFunRepArity, called at compiler/codeGen/StgCmmClosure.hs:334:13
 in ghc:StgCmmClosure
 }}}

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


More information about the ghc-tickets mailing list