[GHC] #15287: T11627[ab] fail on some Darwin environments

GHC ghc-devs at haskell.org
Mon Jun 18 19:47:28 UTC 2018


#15287: T11627[ab] fail on some Darwin environments
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 {{{
 $ lldb -- testsuite/tests/profiling/should_run/T11627a +RTS -hr
 (lldb) target create "testsuite/tests/profiling/should_run/T11627a"
 Current executable set to 'testsuite/tests/profiling/should_run/T11627a'
 (x86_64).
 (lldb) settings set -- target.run-args  "+RTS" "-hr"
 (lldb) run
 Process 6687 launched:
 '/Users/distiller/project/testsuite/tests/profiling/should_run/T11627a'
 (x86_64)
 T11627a was compiled with optimization - stepping may behave oddly;
 variables may not be available.
 Process 6687 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
 (code=1, address=0xfffffffffffffff8)
     frame #0: 0x00000001000d538b T11627a`retainClosure(c0=<unavailable>,
 cp0=0x000000010012f550, r0=0x000000010012dab0) at RetainerProfile.c:1409
 [opt]
    1406     //   if cp is not a retainer, r belongs to RSET(cp).
    1407     //   if cp is a retainer, r == cp.
    1408
 -> 1409     typeOfc = get_itbl(c)->type;
    1410
    1411 #if defined(DEBUG_RETAINER)
    1412     switch (typeOfc) {
 Target 0: (T11627a) stopped.
 (lldb) print c
 (StgClosure *) $0 = 0x00007fff5fbff0b8
 (lldb) x/x 0x00007fff5fbff0b8
 0x7fff5fbff0b8: 0x00000000
 }}}

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


More information about the ghc-tickets mailing list