Crash with biographical profiling on OS X
Biographical profiling appears to be broken on OS X v.10.4.8 (PPC). See the below example. I've reproduced this with ghc-6.6 and a darcs pull of the ghc-6.6.1 branch.
Leak.hs:
module Main where
loop n = foldr (+) 0 [1..n]
main = print (loop 100000)
Example run:
~/tmp/leak: ../ghc-6.6/ghc/compiler/stage2/ghc-inplace --make Leak.hs -prof -debug
[1 of 1] Compiling Main ( Leak.hs, Leak.o )
Linking Leak ...
~/tmp/leak: ./Leak +RTS -hc -RTS
5000050000
~/tmp/leak: ./Leak +RTS -hc -hbvoid -RTS
5000050000
Leak: internal error: ASSERTION FAILED: file ProfHeap.c, line 725
(GHC version 6.6.20070314 for powerpc_apple_darwin)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Abort trap
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | MacOS X |
| Architecture | powerpc |