Skip to content

"Invalid object in isRetainer" when doing retainer profiling in GHC 7 branch

Now that issue #4362 (closed) is fixed I was doing some retainer profiling with the current GHC 7 branch with Bryans patches from #4514 (closed) 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 (closed) 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.

Trac metadata
Trac field Value
Version 7.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Profiling
Test case
Differential revisions
BlockedBy
Related
Blocking
CC wehr@factisresearch.com
Operating system Linux
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information