[Haskell-cafe] Identifying thunks from GHC heap profiles
Tristan Ravitch
travitch at cs.wisc.edu
Mon Nov 14 05:38:35 CET 2011
I am trying to debug a stack overflow that seems to be caused by a
large chain of thunks being evaluated all at once. I have some
profiles generated using +RTS -hd -RTS that show some promising
candidates, but they have generated names like
Module.sat_s9et, Module.sat_s9jk, etc
Is there any convenient way to map these generated names back to
something recognizable in the source? I tried using
+RTS -hc -hdsat_s9et -RTS
to filter SCCs as suggested in
http://hackage.haskell.org/trac/ghc/ticket/1639, but the resulting
profile is always empty. I also tried to use -fext-core and
-ddump-simpl to dump some intermediate representations but none of the
thunk names seem to appear in those outputs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111113/ba6d5560/attachment.pgp>
More information about the Haskell-Cafe
mailing list