Ticket #5909 (merge bug)
Segfault with multi-threaded retainer profiling
| Reported by: | akio | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 7.6.2 |
| Component: | Runtime System | Version: | 7.4.1 |
| Keywords: | Cc: | jwlato@… | |
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Runtime crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

