#5314: "internal error: heapCencus, unknown object: 0" with retainer profiling
-------------------------------+--------------------------------------------
    Reporter:  akio            |        Owner:               
        Type:  bug             |       Status:  new          
    Priority:  high            |    Milestone:  7.2.1        
   Component:  Runtime System  |      Version:  7.0.4        
    Keywords:                  |     Testcase:               
   Blockedby:                  |   Difficulty:               
          Os:  Linux           |     Blocking:               
Architecture:  x86_64 (amd64)  |      Failure:  Runtime crash
-------------------------------+--------------------------------------------
Description changed by igloo:

Old description:

> Compile the attached file as:
>
> ghc --make retainer.hs -prof -rtsopts
>
> And run it with:
>
> ./retainer +RTS -hr -V0
>
> you get:
>
> retainer: internal error: heapCensus, unknown object: 0
>     (GHC version 7.0.4 for x86_64_unknown_linux)
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug
>
> I found this test case while chasing a "Invalid object in isRetainer():
> 39" problem, so this might be related to the ticket #4820. Also, although
> this particular case requires -V0 to reproduce, the original problem
> happened without -V0 as well.

New description:

 Compile the attached file as:
 {{{
 ghc --make retainer.hs -prof -rtsopts
 }}}
 And run it with:
 {{{
 ./retainer +RTS -hr -V0
 }}}
 you get:
 {{{
 retainer: internal error: heapCensus, unknown object: 0
     (GHC version 7.0.4 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}
 I found this test case while chasing a "Invalid object in isRetainer():
 39" problem, so this might be related to the ticket #4820. Also, although
 this particular case requires -V0 to reproduce, the original problem
 happened without -V0 as well.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5314#comment:2>
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