
#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{ GHCi, version 8.4.3: http://www.haskell.org/ghc/ :? for help Prelude> :print getChar >>= return ghc.exe: panic! (the 'impossible' happened) (GHC version 8.4.3 for x86_64-unknown-mingw32): isUnliftedType t1_a1tM[rt] :: TYPE t_a1tL[rt] Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler\utils\Outputable.hs:1150:37 in ghc:Outputable pprPanic, called at compiler\\types\\Type.hs:1939:10 in ghc:Type Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: Thank you for the report. This is a duplicate of #14828. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Well it's hard to tell if it's a duplicate without a way to reproduce it. Andrew, do you have a repro case? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by monoidal): The reproduction is above the panic message: `:print getChar >>= return` causes ghci to panic. Simplifying, `:print return` also panicks, which is one of examples in #14828. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by awf): Thanks @monoidal, agree it is a dup. I assume it's by design that the "Report a bug" link at https://ghc.haskell.org/trac/ghc/wiki/ReportABug doesn't encourage submitters to check for duplicates? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by monoidal): There is some encouragement to check for duplicates at that page, but maybe it's not visible enough; feel free to edit the wiki page. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15748: panic -------------------------------------+------------------------------------- Reporter: awf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
There is some encouragement to check for duplicates at that page, but maybe it's not visible enough
I have amplified a bit. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15748#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC