kawu / concraft-pl

A morphosyntactic tagger for Polish based on conditional random fields
http://zil.ipipan.waw.pl/Concraft
BSD 2-Clause "Simplified" License
20 stars 2 forks source link

Thread blocked indefinitely in an MVar operation #13

Closed kawu closed 11 years ago

kawu commented 11 years ago

On GHC 7.4.1 you may get the following error when running Concraft in the multi-threaded mode:

ThreadId X: thread blocked indefinitely in an MVar operation

It is probably related to the bug of the GHC compiler: http://ghc.haskell.org/trac/ghc/ticket/5943.

kawu commented 11 years ago

The problem occurs when Concraft is compiled with GHC 7.6.3 as well, which means that it isn't related to the CHC bug mentioned above.

kawu commented 11 years ago

Concraft-0.2.1 also crushes with this exception. Maybe there has been some upgrade of a library on which Concraft depends and which changes the treatment of this exception?

kawu commented 11 years ago

Turned out to be a problem with the direct scheduler in the monad-par library. New version of the sgd library imports the default scheduler.