[GHC] #12019: Profiling option -hb is not thread safe

GHC ghc-devs at haskell.org
Mon Sep 19 01:20:29 UTC 2016


#12019: Profiling option -hb is not thread safe
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11978, #12009    |  Differential Rev(s):  Phab:D2516
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by carter):

 {{{

 rts/ProfHeap.c: In function 'initHeapProfiling':

 rts/ProfHeap.c:389:49: error:
      error: 'PAR_FLAGS {aka struct _PAR_FLAGS}' has no member named
 'nCapabilities'
          if (doingLDVProfiling() && RtsFlags.ParFlags.nCapabilities > 1) {
                                                      ^

 }}}

 I think the patch / CPP somehow doesn't quite work on the build ways
 matrix of the RTS in the expected way, i'll try to poke at it myself if i
 have time, but it def died

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


More information about the ghc-tickets mailing list