#4820: "Invalid object in isRetainer" when doing retainer profiling in GHC 7
branch
-------------------------------+--------------------------------------------
    Reporter:  dleuschner      |       Owner:               
        Type:  bug             |      Status:  new          
    Priority:  normal          |   Component:  Profiling    
     Version:  7.0.1           |    Keywords:               
    Testcase:                  |   Blockedby:               
          Os:  Linux           |    Blocking:               
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4820>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to