Skip to content

Segfault when profiling on OS X

I built a profiled version of GHC using the prof flavour. Then attempting to profile some programs with this executable causes segfaults reliably.

  1. Build GHC with the prof flavour
  2. inplace/bin/ghc-stage2 Main.hs -O2 -fforce-recomp +RTS -p
Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information