Skip to content

Compiled program crashes when generating heap profile

The attached program crashes when trying to obtain a heap 
profile. The program is compiled with the command:
ghc --make -prof -auto-all -i..:.:../Libs GhcProfileCrash.lhs 
-o GhcProfileCrash.exe -dcore-lint > compile.log

The program is run with the following command:
GhcProfileCrash.exe +RTS -hc -RTS

Sometimes the program crashes immediately or after 
reading some files without any message, and sometimes 
with the message (after reading 547 files):
C:\MIJNDO~1\SOFTWA~1\HASKELL\READALOT\GHCPROFI.
EXE: internal error: heapCensus
    Please report this as a bug to glasgow-haskell-
bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/

I compile with GHC 6.0.1,
under Windows 98
Trac metadata
Trac field Value
Version 6.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component Profiling
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information