#886: Profiling a threaded application with GHC-6.6rc.
-------------------------+--------------------------------------------------
Reporter: Lemmih | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6
Component: Compiler | Version: 6.5
Severity: normal | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: x86 |
-------------------------+--------------------------------------------------
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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/886>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs