id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5909,Segfault with multi-threaded retainer profiling,akio,simonmar,"I see the following program often segfaults when compiled and run like this:

{{{
% ghc -threaded -O2 -prof -fprof-auto segfault.hs -rtsopts
[1 of 1] Compiling Main             ( segfault.hs, segfault.o )
Linking segfault ...
% ./segfault aaaaaaaaaaaaaaaaaaaaaaa +RTS -hr -N5 -V -A512K
# Segfaults, often within a minute.
}}}

It also seems to me that it segfaults more often/quickly when some other process is actively running on the same machine. I kept ""ghc -e 'last [1..]' +RTS -A13G"" running while making the test case. The machine I used has 4 cores, 8 HT threads and 16GB RAM.",bug,merge,high,7.6.2,Runtime System,7.4.1,,,jwlato@…,Linux,x86_64 (amd64),Runtime crash,Unknown,,,,
