[GHC] #13428: internal error: Can't allocate thunk for free

#13428: internal error: Can't allocate thunk for free -------------------------------------+------------------------------------- Reporter: alexbiehl | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Keywords: RTS linker | Operating System: Windows Architecture: | Type of failure: Compile-time Unknown/Multiple | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Trying to compile `stack` with `ghc-8.0.2` resulted in this: {{{ [ 73 of 124] Compiling Stack.PackageIndex ( src\Stack\PackageIndex.hs, C:\Users\abiehl\git\stack\dist- newstyle\build\x86_64-windows\ghc-8.0.2\stack-1.4.1\build\Stack\PackageIndex.o ) ghc.exe: internal error: Can't allocate thunk for free (GHC version 8.0.2 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. cabal.exe: Failed to build stack-1.4.1. The build process terminated with exit code 3 }}} The file in question uses `TemplateHaskell` and I suspect the runtime linker to be the culprit. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13428 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13428: internal error: Can't allocate thunk for free -------------------------------------+------------------------------------- Reporter: alexbiehl | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: RTS linker Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by awson): This is fixed in HEAD and 8.2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13428#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13428: internal error: Can't allocate thunk for free -------------------------------------+------------------------------------- Reporter: alexbiehl | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: invalid | Keywords: RTS linker Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by alexbiehl): * status: new => closed * resolution: => invalid Comment: Awesome! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13428#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC