thread blocked indefinitely in an MVar operation in unsafePerformIO

Marco Túlio Gontijo e Silva marcotmarcot at
Tue Jul 31 16:28:05 CEST 2012

Hi Simon.

On Mon, Jul 30, 2012 at 12:00 PM, Simon Marlow <marlowsd at> wrote:
> Is it possible that the String you are passing to uLog contains unevaluated
> calls to uLog itself, which would thereby create a deadlock as uLog tries to
> take the MVar that is already being held by the same thread?

Yes, that's right.  I removed the recursive call to uLog and it worked, thanks.


More information about the Glasgow-haskell-users mailing list