+RTS -xc and SIGINT handler gives seg fault
To reproduce this bug, save the attached file Bug.hs,
run the following commands
ghc -package posix -prof -auto-all Bug.hs
./a.out +RTS -xc
and then hit control-C. The result is a SIGSEGV inside
fprintCCS().
Trac metadata
| Trac field | Value |
|---|---|
| Version | None |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedFixed |
| Component | Profiling |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |