#4172: GHC build failes when BuildFlavour = prof is used
---------------------------------+------------------------------------------
    Reporter:  Phyx-             |        Owner:                     
        Type:  bug               |       Status:  new                
    Priority:  high              |    Milestone:  6.14.1             
   Component:  Compiler          |      Version:  6.13               
    Keywords:                    |     Testcase:                     
   Blockedby:                    |   Difficulty:                     
          Os:  Unknown/Multiple  |     Blocking:                     
Architecture:  Unknown/Multiple  |      Failure:  Building GHC failed
---------------------------------+------------------------------------------

Comment(by igloo):

 Also happens with a debugging, and not threaded, RTS. Unfortunately, the
 addresses aren't consistent from run to run, even with `+RTS -C0 -i0 -DS`,
 but it smells like a missing pointer untagging in whatever produces the
 value `0x404536a000` here:
 {{{
 (gdb) bt
 #0  0x0000000005de475a in LOOKS_LIKE_CLOSURE_PTR (p=0x404536a000)
     at includes/rts/storage/ClosureMacros.h:235
 #1  0x0000000005de46b7 in checkClosureShallow (p=0x404536a000)
     at rts/sm/Sanity.c:87
 #2  0x0000000005de45fa in checkSmallBitmap (payload=0x7fd25a4d8a38,
 bitmap=0,
     size=1) at rts/sm/Sanity.c:52
 #3  0x0000000005de49a8 in checkStackFrame (c=0x7fd25a4d8a30)
     at rts/sm/Sanity.c:145
 #4  0x0000000005ded6f2 in stg_ap_0_fast ()
 #5  0x0000000000000000 in ?? ()
 (gdb) p4 0x7fd25a4d8a30
 0x7fd25a4d8a48: 0x7fd25a28e6d8
 0x7fd25a4d8a40: 0x5df71d8 <stg_upd_frame_info>
 0x7fd25a4d8a38: 0x404536a000
 0x7fd25a4d8a30: 0x5df94e8 <stg_ap_p_info>
 (gdb) p4 0x404536a000
 0x404536a018:   Cannot access memory at address 0x404536a018
 }}}

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