[GHC] #14631: GHC 8.2.2 crashes when building the haskell-gi sample code

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC 8.2.2 crashes while building the haskell-gi sample code in a new project created with stack (see the attached project). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by muscar): * Attachment "gtk-hello.tar.bz2" added. Sample project -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by muscar: Old description:
GHC 8.2.2 crashes while building the haskell-gi sample code in a new project created with stack (see the attached project).
New description: GHC 8.2.2 crashes while building the haskell-gi sample code in a new project created with stack (see the attached project). Steps to repro: 1. Download the attached project 2. Unarchive 3. run `stack build` in the project folder. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by muscar: Old description:
GHC 8.2.2 crashes while building the haskell-gi sample code in a new project created with stack (see the attached project).
Steps to repro:
1. Download the attached project 2. Unarchive 3. run `stack build` in the project folder.
New description: GHC 8.2.2 crashes while building the haskell-gi sample code in a new project created with stack: ghc: panic! (the 'impossible' happened) (GHC version 8.2.2 for x86_64-unknown-linux): tcIfaceGlobal (local): not found You are in a maze of twisty little passages, all alike. While forcing the thunk for TyThing Layout which was lazily initialized by initIfaceCheck typecheckLoop, I tried to tie the knot, but I couldn't find Layout in the current type environment. If you are developing GHC, please read Note [Tying the knot] and Note [Type-checking inside the knot]. Consider rebuilding GHC with profiling for a better stack trace. Contents of current type environment: [] Call stack: CallStack (from HasCallStack): prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1133:58 in ghc:Outputable callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in ghc:Outputable pprPanic, called at compiler/iface/TcIface.hs:1696:23 in ghc:TcIface Steps to repro: 1. Download the attached project 2. Unarchive 3. run `stack build` in the project folder. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by sgraf): This is probably related: https://github.com/haskell-gi/haskell- gi/issues/113 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14631: GHC 8.2.2 crashes when building the haskell-gi sample code -------------------------------------+------------------------------------- Reporter: muscar | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #13981 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #13981 Comment: Yep, this is a duplicate of #13981. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14631#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC