Profiling doesn't work with SMP execution
Compiling a Hello World program with -threaded and -prof results in a binary that segfaults immediately. This is with GHC-6.5.20060831.
$ cat Test.hs
module Main where
main = putStrLn "Hello world"
$ ../ghc-6.5.20060831/usr/bin/ghc -threaded -prof Test.hs -o test
$ ./test
Segmentation fault
$ ghc-6.4.1 -threaded -prof Test.hs -o test
$ ./test
Hello world
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Linux |
Architecture | x86 |