[GHC] #12009: ASSERTION FAILED: file rts/LdvProfile.c, line 48

GHC ghc-devs at haskell.org
Tue May 3 07:13:23 UTC 2016


#12009: ASSERTION FAILED: file rts/LdvProfile.c, line 48
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 Adding a `printf` before the `ASSERT`:

 {{{#!C
 printf ("%s %d : era %u     %lu\n", __func__, __LINE__, era,
         (LDVW(c) & LDV_CREATE_MASK) >> LDV_SHIFT) ;
 }}}

 results in:

 {{{
 7fca8b085700: cap 0: shutting down
 processHeapClosureForDead 47 : era 1     1
 processHeapClosureForDead 47 : era 1     1
 .
 .
 .
 processHeapClosureForDead 47 : era 1     1
 processHeapClosureForDead 47 : era 1     1
 processHeapClosureForDead 47 : era 1     715827882
 hello: internal error: ASSERTION FAILED: file rts/LdvProfile.c, line 50
 }}}

 The value `715827882` in hex is `0x2aaaaaaa`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12009#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list