Segmentation fault for space_leak_001 with profiling (-hc)
WAY=profasm
is omitted by default for this test, but the code looks like this:
Test.hs:
import Data.List
main = print $ length $ show (foldl' (*) 1 [1..100000] :: Integer)
$ ghc Test.hs -prof -O
$ ./Test +RTS -hc
Segmentation fault (core dumped)
Reproducible with at least 7.10.3 and HEAD, also without -O
.