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

#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

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: | Type of failure: Incorrect result Architecture: | at runtime Unknown/Multiple | Test Case: Difficulty: Easy (less | Blocking: than 1 hour) | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by jberthold): * cc: jberthold (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: | Type of failure: Incorrect result Architecture: | at runtime Unknown/Multiple | Test Case: Difficulty: Easy (less | Blocking: than 1 hour) | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Comment (by carter): the 7.8 version is here https://github.com/ghc/packages- base/blob/ghc-7.8/GHC/Conc/Sync.lhs#L484-L495 (looks like it was last touched fall 2013 ) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: | Type of failure: Incorrect result Architecture: | at runtime Unknown/Multiple | Test Case: Difficulty: Easy (less | Blocking: than 1 hour) | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Comment (by jberthold): @Carter: Yes, fall 2013 was when the block reason codes were extended. This bug is related to #9003 (modified block reason codes), the respective fix should have changed base back to what it was before (and adding I have put together a fix and a small test for this. Taking this as an opportunity to set up the phabricator environment, I will submit the fix there for HEAD. The respective fix for ghc-7.8.3 will be in libraries/base, a patch for base is attached (and the test case Haskell). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: jberthold Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: D83 | Type of failure: Incorrect result Architecture: | at runtime Unknown/Multiple | Test Case: Difficulty: Easy (less | Blocking: than 1 hour) | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by jberthold): * owner: => jberthold * differential: => D83 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: jberthold Type: bug | Status: patch Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: Phab:D83 | Type of failure: Incorrect result Architecture: | at runtime Unknown/Multiple | Test Case: Difficulty: Easy (less | Blocking: than 1 hour) | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by jberthold): * status: new => patch * differential: D83 => Phab:D83 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9333: Thread status decoded wrong in base library
-------------------------------------+-------------------------------------
Reporter: jberthold | Owner: jberthold
Type: bug | Status: patch
Priority: normal | Milestone:
Component: | Version: 7.8.3
libraries/base | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Easy (less than 1
Unknown/Multiple | hour)
Type of failure: Incorrect | Blocked By:
result at runtime | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: Phab:D83 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: jberthold Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 Unknown/Multiple | hour) Type of failure: Incorrect | Blocked By: result at runtime | Related Tickets: Test Case: | Blocking: | Differential Revisions: Phab:D83 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9333#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC