Skip to content

ghci panic in windows

Summary

ghci panic while opening

Steps to reproduce

when I run ghci in git bash, it show below

GHCi, version 8.10.6: https://www.haskell.org/ghc/  :? for help
ghc.exe: fd:3: hGetContents: invalid argument (invalid byte sequence)
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 8.10.6:
        thread blocked indefinitely in an MVar operation

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

when I run in cmd.exe or powershell, usually ghci crashed and exit (no any message), seldom it works.

Expected behavior

interactive console

Environment

ghci 8.10.6 from link

Windows 10 64bit

git version 2.33.0.windows.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information