Strange GHC/STM behaviour

Simon Marlow marlowsd at
Tue Mar 16 09:30:28 EDT 2010

On 15/03/2010 22:03, Simon Marlow wrote:
> On 15/03/10 16:02, Michael Lesniak wrote:
>> Hello Simon,
>> with the behaviour is worse: even when using $! in the
>> appropiate lines (see [2] in my original message) the programs hangs
>> quite often. Hence, 6.12.1 works better in this (special?) case.
> Ok, I'll look into it, thanks for the report.

I reproduced the deadlock, and it looks like a new one: a lock order 
reversal between Schedule.c:checkBlackHoles() and RtsAPI.c:rts_unlock(). 
  It turns out I've already fixed it in the HEAD as a side effect of 
some other improvements, so I'm going to try to bring those into the 
6.12.2 branch.


More information about the Glasgow-haskell-users mailing list