[GHC] #9148: tryReadMVar locks up the process with +RTS -N2 or greater

#9148: tryReadMVar locks up the process with +RTS -N2 or greater ------------------------------------+------------------------------------- Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: Runtime crash Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- The new `tryReadMVar` is missing an `unlockClosure` call, which causes the whole process to hang when used with +RTS -N2 or greater. I'll push the fix shortly. We should treat this as a blocker for 7.8.3. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9148 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9148: tryReadMVar locks up the process with +RTS -N2 or greater -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by ezyang): Eep, sorry about that! That's what I get for cargo-culting the test-case definitions and forgetting to have them run multithreaded as well. Are you going to push updates to the test suite as well? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9148#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9148: tryReadMVar locks up the process with +RTS -N2 or greater
-------------------------------------+------------------------------------
Reporter: simonmar | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.8.3
Component: Runtime System | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Simon Marlow

#9148: tryReadMVar locks up the process with +RTS -N2 or greater -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: merge Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by simonmar): * status: new => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9148#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9148: tryReadMVar locks up the process with +RTS -N2 or greater -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: closed Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9148#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC