[GHC] #13112: Windows 64-bit GHC HEAD segfaults on the code with a lot of TH stuff.
GHC
ghc-devs at haskell.org
Fri Sep 7 14:21:56 UTC 2018
#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 Phyx-):
@jbransen, yeah we pretty much know that this happens because TH is
exceeding the memory model. That's a sort of design issue with TH. But the
issue is made worse on Windows because of the extreme waste the runtime
linker has when allocating memory. I have a patch that addresses this but
I haven't gotten reviews yet. Hopefully it'll be in 8.6 which should make
this a bit harder to trigger.
I also have further linker changes planned to make this more rare too. But
we'll see if I get the time to finish them for 8.6 (and get them reviewed
which will likely be the sticking point)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13112#comment:32>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list