id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
4820,"""Invalid object in isRetainer"" when doing retainer profiling in GHC 7 branch",dleuschner,,"Now that issue #4362 is fixed I was doing some retainer profiling with the current GHC 7 branch with Bryans patches from #4514 applied.  After some clients start connecting to our server it aborts with one of the following messages:

{{{
SalviaDerivationGateway_p: internal error: Invalid object in isRetainer(): 39
    (GHC version 7.0.1.20101203 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

SalviaDerivationGateway_p: internal error: Invalid object in isRetainer(): 812
    (GHC version 7.0.1.20101203 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

SalviaDerivationGateway_p: internal error: scavenge_mark_stack: unimplemented/strange closure type 71648289 @ 0x7f74206961a8
    (GHC version 7.0.1.20101203 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
}}}

I compiled with -O3 -funbox-strict-fields -prof and tried with and without -threaded but that doesn't make a difference.

Is there anything I could do to help to diagnose the problem?  Our test program from #4362 runs fine with retainer profiling.  If it is of any help I can install the patched GHC 7 branch and our application onto our test server and give to access to it.",bug,closed,high,7.0.2,Profiling,7.0.1,invalid,,wehr@…,Linux,x86_64 (amd64),Runtime crash,,,,,
