<div dir="ltr">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.<br><div class="gmail_extra"><br><div class="gmail_quote">
On Fri, Sep 6, 2013 at 7:38 AM, Kazu Yamamoto <span dir="ltr"><<a href="mailto:kazu@iij.ad.jp" target="_blank">kazu@iij.ad.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Takano-san,<br>
<div class="im"><br>
> It looks like after the commit, addCFinalizerToWeak# can call into the GC<br>
> with the closure lock held. This means the info pointer points to<br>
> stg_WHITEHOLE_info, breaking the asserted invariant. I haven't done any<br>
> testing to confirm this, however.<br>
<br>
</div>I can try. Should I revert this patch?<br>
<div class="HOEnZb"><div class="h5"><br>
--Kazu<br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div></div>