[GHC] #13428: internal error: Can't allocate thunk for free
GHC
ghc-devs at haskell.org
Wed Mar 15 15:04:17 UTC 2017
#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
More information about the ghc-tickets
mailing list