Skip to content

Thread status decoded wrong in base library

Kyle Van Berendonck <kvanberendonck@gmail.com> in a message on ghc-devs pointed to 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 (closed)), so the constants were reverted, but base was not adapted to the respective fix.

Trac metadata
Trac field Value
Version 7.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC ekmett, ezyang, hvr, simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information