> Here's another one, using GHC 5.02 > > [ian@urchin current]$ cat W.lhs > > > module Main where > > > main :: IO() > > main = putStrLn $ show $ last [1..100000] > > [ian@urchin current]$ ghc W.lhs -prof -auto-all -o W > [ian@urchin current]$ ./W +RTS -h > 100000 > [ian@urchin current]$ ./W +RTS -c > 100000 > [ian@urchin current]$ ./W +RTS -h -c > Segmentation fault (core dumped) > [ian@urchin current]$
The compacting collector is currently incompatible with single-generation GC (i.e. -G1), and the heap profiler automatically turns on -G1. We added a test to automatically disable compaction in the presence of -G1, but the patch got overlooked during the run-up to the release of 5.02 and never made it into the stable branch. The workaround is "don't do that" :-) Cheers, Simon _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs