[GHC] #16367: Panic when trying to openFile

GHC ghc-devs at haskell.org
Tue Feb 26 14:50:45 UTC 2019


#16367: Panic when trying to openFile
----------------------------------+--------------------------------------
        Reporter:  vilem          |                Owner:  (none)
            Type:  bug            |               Status:  new
        Priority:  normal         |            Milestone:
       Component:  GHCi           |              Version:  8.4.3
      Resolution:                 |             Keywords:
Operating System:  MacOS X        |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):
       Wiki Page:                 |
----------------------------------+--------------------------------------

Comment (by vilem):

 Also getting this with 8.4.4

 {{{
 ~ ✔︎ ghci
 GHCi, version 8.4.4: http://www.haskell.org/ghc/  :? for help
 Loaded GHCi configuration from /Users/vl200/.ghci
 Prelude> import System.IO
 Prelude System.IO> openFile ".granule" ReadWriteMode
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.4.4 for x86_64-apple-darwin):
         nameModule
   system $dShow_a1QU
   Call stack:
       CallStack (from HasCallStack):
         callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in
 ghc:Outputable
         pprPanic, called at compiler/basicTypes/Name.hs:241:3 in ghc:Name

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

 Prelude System.IO>

 }}}

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


More information about the ghc-tickets mailing list