#1418: Heap profiling woes
------------------------+---------------------------------------------------
  Reporter:  guest      |          Owner:         
      Type:  bug        |         Status:  new    
  Priority:  normal     |      Milestone:         
 Component:  Profiling  |        Version:  6.7    
  Severity:  normal     |       Keywords:         
Difficulty:  Unknown    |             Os:  Windows
  Testcase:             |   Architecture:  x86    
------------------------+---------------------------------------------------
I have a large program with a space leak.  So I want to heap profiling, of
 course.
 Here's what happens:

 I compile with -prof -auto-all and run with -hc.  All (99%) allocation is
 attributed to Main.CAF.

 I add -caf-all, run with -hc.  All allocation is attributed to Main.main.

 I try running with -hd.  The program segfaults.

 I try running with -hy.  The program segfaults.

 I try running with -hb.  The program dies with a GHC RTS internal error.

 I try running with -hr.  The generated profile cannot be read by hp2ps
 because it's truncated.

 I edit the truncated file by hand.  The allocation is now split between
 main and SYSTEM.

   -- Lennart

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1418>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to