[GHC] #9333: Thread status decoded wrong in base library

GHC ghc-devs at haskell.org
Sat Jul 19 19:23:10 UTC 2014


#9333: Thread status decoded wrong in base library
-------------------------------------+-------------------------------------
        Reporter:  jberthold         |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  libraries/base    |                 Version:  7.8.3
        Keywords:                    |  Differential Revisions:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |              Difficulty:  Easy (less
       Test Case:                    |  than 1 hour)
        Blocking:                    |              Blocked By:
                                     |         Related Tickets:
-------------------------------------+-------------------------------------
 Kyle Van Berendonck <kvanberendonck at gmail.com> in
 [http://www.haskell.org/pipermail/ghc-devs/2014-July/005677.html a message
 on ghc-devs] pointed to
 [https://github.com/ghc/ghc/blob/master/libraries/base/GHC/Conc/Sync.lhs#L483
 base/GHC/Conc/Sync.lhs] decoding thread block reasons from constants
 defined in includes/rts/Constants.h to a Haskell type.

 The constants were modified in GHC-7.8.2, which created problems with
 eventlogs (ticket #9003), so the constants were reverted, but base was not
 adapted to the respective fix.

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


More information about the ghc-tickets mailing list