Ticket #1519 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

Biography heap profiling aborts

Reported by: drtomc@… Owned by: simonmar
Priority: high Milestone: 6.8.1
Component: Compiler Version: 6.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

My program, when compiled with -prof -auto-all and run with -hb -H500M -sstderr runs for a little while then dies with the following message:

Server: internal error: Invalid object in processHeapClosureForDead(): 27188
    (GHC version 6.6 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Abort trap

As this is commercial code, I can't easily provide a repro, though I am happy to perform experiments under direction to try to isolate the problem.

cheers, Tom

Change History

Changed 6 years ago by igloo

  • priority changed from normal to high
  • milestone set to 6.8

GHC also triggers this:

$ time ~/ghc/darcs/build/compiler/stage2/ghc-inplace -c J.hs +RTS -hb
ghc-6.7: internal error: Invalid object in processHeapClosureForDead(): 1359923842
    (GHC version 6.7 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
zsh: abort      ~/ghc/darcs/build/compiler/stage2/ghc-inplace -c J.hs +RTS -hb
~/ghc/darcs/build/compiler/stage2/ghc-inplace -c J.hs +RTS -hb  2.38s user 0.08s system 98% cpu 2.498 total

We should find a small example to put in the testsuite.

See also #1615.

Changed 6 years ago by simonmar

  • owner set to simonmar

mine

Changed 6 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Fixed:

Fri Aug 24 03:18:03 PDT 2007  Simon Marlow <simonmar@microsoft.com>
  * FIX #1519, crash in biographical profiling

I can now profile GHC with -hb again.

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.