I'm going to try to make a small test case today (probably after 08:00 UTC), but feel free to try it. If my guess is correct, reverting the patch should fix the problem.

On Fri, Sep 6, 2013 at 7:38 AM, Kazu Yamamoto <kazu@iij.ad.jp> wrote:
Hi Takano-san,

> It looks like after the commit, addCFinalizerToWeak# can call into the GC
> with the closure lock held. This means the info pointer points to
> stg_WHITEHOLE_info, breaking the asserted invariant. I haven't done any
> testing to confirm this, however.

I can try. Should I revert this patch?

--Kazu

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs