[GHC] #16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs.

#16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs. -------------------------------------+------------------------------------- Reporter: hanrai | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.4 Keywords: | Operating System: Windows Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: getCurrentDirectory | Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I got this message when I type 'getCurrentDirectory' in repl in spacemacs. ghc.exe: panic! (the 'impossible' happened) (GHC version 8.4.4 for x86_64-unknown-mingw32): nameModule system $dShow_adyn 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16088 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs. -------------------------------------+------------------------------------- Reporter: hanrai | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.4 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: | getCurrentDirectory Blocked By: | Blocking: Related Tickets: #16080 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * related: => #16080 Comment: Hmm, this looks quite similar to #16080. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16088#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs. -------------------------------------+------------------------------------- Reporter: hanrai | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.4.4 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: | getCurrentDirectory Blocked By: | Blocking: Related Tickets: #16080 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => infoneeded Comment: Unfortunately I can't reproduce this. Do you observe this in `ghci` started from a normal shell? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16088#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs. -------------------------------------+------------------------------------- Reporter: hanrai | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.4.4 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: | getCurrentDirectory Blocked By: | Blocking: Related Tickets: #14963, #16080 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * related: #16080 => #14963, #16080 Comment: Here is how to reproduce this: {{{ $ /opt/ghc/8.4.4/bin/ghci -fdefer-type-errors GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/rgscott/.ghci λ> import System.Directory λ> getCurrentDirectory ghc: panic! (the 'impossible' happened) (GHC version 8.4.4 for x86_64-unknown-linux): nameModule system $dShow_a2lk 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 }}} Given that this is not reproducible with GHC 8.6, this is almost assuredly a duplicate of #14963, so I'll close this ticket in favor of that one. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16088#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16088: The 'impossible' happened when I was trying to use getCurrentDirectory in repl in spacemacs. -------------------------------------+------------------------------------- Reporter: hanrai | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.4.4 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: | getCurrentDirectory Blocked By: | Blocking: Related Tickets: #14963, #16080 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: infoneeded => closed * resolution: => duplicate -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16088#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC