
#13112: Windows 64-bit GHC HEAD segfaults on the code with a lot of TH stuff. ---------------------------------+-------------------------------------- Reporter: awson | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by RyanGlScott): As far as the original ticket goes, I'm stumped. I tried to construct a minimal Template Haskell program which should eat up memory by causing a space leak: {{{#!hs {-# LANGUAGE TemplateHaskell #-} module Bug where $(let f :: Int -> a f x = f (x + 1) in f 0) }}} I tried compiling this on GHC 8.2.2 with and without `-O2`, but despite it using all of my 8GB of memory available, this didn't trigger a segfault. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13112#comment:26 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler