Opened 8 years ago

Closed 8 years ago

#5451 closed bug (fixed)

HEAD: biographical profiling totally broken

Reported by: Owned by: simonmar
Priority: highest Milestone: 7.4.1
Component: Profiling Version: 7.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


With a fully optimised build of HEAD (7.3.20110901), -hb profiling results in

T3001: internal error: Invalid object in processHeapClosureForDead(): 2131671296

(program name and object number vary of course). T3001-2 hangs with

--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
rt_sigreturn(0)                         = 140414542696416

when compiled with auto-all, but produces the same internal error when compiled with -auto.

Profiling -hc, -hd, -hy, -hr, -P works apparently.

Change History (3)

comment:1 Changed 8 years ago by simonmar

Milestone: 7.4.1
Owner: set to simonmar
Priority: normalhighest

comment:2 Changed 8 years ago by marlowsd@…

commit 6ffaf6ff1df597ec51bbdf517ea9d54afb862157

Author: Simon Marlow <>
Date:   Tue Sep 6 12:57:26 2011 +0100

    fix the eager-blackholing check, which I inadvertently broke in
    1c2f89535394958f75cfb15c8c5e0433a20953ed (symptom was broken
    biographical profiling, see #5451).

 compiler/codeGen/CgClosure.lhs    |   33 +++++++++++++++++++++++---
 compiler/codeGen/ClosureInfo.lhs  |   37 +++---------------------------
 compiler/codeGen/StgCmmBind.hs    |   45 +++++++++++++++++++++++++++++-------
 compiler/codeGen/StgCmmClosure.hs |   17 ++-----------
 4 files changed, 72 insertions(+), 60 deletions(-)

comment:3 Changed 8 years ago by simonmar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.