Ticket #376 (closed bug: Works For Me)
Program aborts with segmentation fault when profiling used.
|Reported by:||nobody||Owned by:||nobody|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
I have a program that I have compiled under ghc6.5 (downloaded from the CVS repository on May 5/6), on Fedora-2 core running on a PC. This will run fine when compiled without profiling. With profiling enabled (-prof -auto-all with GHC, and +RTS -p for the program), it aborts, with the message "internal error: Segmentation fault". The same program will compile and run, both with and without profiling, under ghc6.2.1. I have also tried with different datasets, and the same pattern occurs. I updated my ghc installation from CVS today (9th May), but have not been able to update my ghc installation to see if this problem has been removed, as the fptools-level build process is failing, with the Haddock build complaining that parsec-1.0 is an unknown package when building Utils.hs; building in the ghc dir results in a failure to find a module Version when building Main.hs in the utils/ghc-pkg area. The program and dataset are contained in the attached gzip'd tar file. I compile it (without profiling) using ghc --make -fglasgow-exts -o Reader Reader.hs
Note: See TracTickets for help on using tickets.