#9148 closed bug (fixed)

tryReadMVar locks up the process with +RTS -N2 or greater

Reported by: simonmar Owned by: simonmar
Priority: highest Milestone: 7.8.3
Component: Runtime System Version: 7.8.2
Keywords: Cc: ezyang, simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Runtime crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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.

Change History (4)

comment:1 Changed 10 months ago 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?

comment:2 Changed 10 months ago by Simon Marlow <marlowsd@…>

In 96a95f0513de785a185fd8a46c7ed2643f698295/ghc:

Fix missing unlockClosure() call in tryReadMVar (#9148)

comment:3 Changed 10 months ago by simonmar

  • Status changed from new to merge

comment:4 Changed 10 months ago by thoughtpolice

  • Resolution set to fixed
  • Status changed from merge to closed

Merged, thanks!

Note: See TracTickets for help on using tickets.