Segfault with multi-threaded retainer profiling
|Reported by:||akio||Owned by:||simonmar|
|Operating System:||Linux||Architecture:||x86_64 (amd64)|
|Type of failure:||Runtime crash||Test Case:|
|Related Tickets:||Differential Revisions:|
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.
Change History (13)
Changed 3 years ago by akio
comment:1 Changed 3 years ago by simonmar
- difficulty set to Unknown
- Milestone set to 7.4.2
- Owner set to simonmar
- Priority changed from normal to high