haskell-distributed/distributed-process — Issue #7: killThread hangs on GHC 7.0.4 7.2.1 but NOT 6.12.3 and 7.4.1
Author: rrnewton
Created: 2012-02-25 11:34:08+00:00
State: open

The bug is found in DemoTransport.hs, which will hang when trying to "killThread"
(Pipes backend only, demo3 and demo4). Yet this hang happens ONLY under GHC
7.0.4 and 7.2.1. Under GHC 6.12.3 and GHC 7.4.1 it works fine!

At first I thought this may be an issue with non-allocating threads not
being preempted by the runtime system (and therefore not servicing the
ThreadKilled asynchronous exception). But it's hard to explain that
pattern of outcomes on different GHC versions.

See commit: 48e257ad2456c1c4c953281b21c7aa80a9fa3e75