#1227: Crash with biographical profiling on OS X
-------------------------------+--------------------------------------------
Reporter: Judah Jacobson | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: powerpc | Os: MacOS 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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1227>
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