I&#39;m trying to narrow it down so that I can submit a meaningful bug report, and it seems to be something to do with switching off parallel GC using -qg, whilst also passing -Nx.<div><br></div><div>Are there any known issues with this that people are aware of? At the moment I am using the latest haskell platform release on arch.</div>
<div><br></div><div>I&#39;d like to give 7.2 a try in case that fixes it, but I&#39;m using rather a lot of libraries (hmatrix, fclabels, random fu) and I don&#39;t know how to install them for multiple ghc versions</div>
<div><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 10:43 PM, Johan Tibell <span dir="ltr">&lt;<a href="mailto:johan.tibell@gmail.com">johan.tibell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">On Wed, Oct 5, 2011 at 2:37 PM, Tom Thorne <span dir="ltr">&lt;<a href="mailto:thomas.thorne21@gmail.com" target="_blank">thomas.thorne21@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


The only problem is that now I am getting random occasional segmentation faults that I was not been getting before, and once got a message saying:<div><font face="&#39;courier new&#39;, monospace">Main: schedule: re-entered unsafely</font></div>



<div><font face="&#39;courier new&#39;, monospace">Perhaps a &#39;foreign import unsafe&#39; should be &#39;safe&#39;?</font></div><div>I think this may be something to do with creating a lot of sparks though, since this occurs whether I have the parallel GC on or not.</div>


</blockquote></div><div><br>Unless you (or some library you&#39;re using) is doing what the error message says then you should file a GHC bug here:<br><br><a href="http://hackage.haskell.org/trac/ghc/" target="_blank">http://hackage.haskell.org/trac/ghc/</a><br>
<font color="#888888">

<br>-- Johan<br> <br></font></div></div>
</blockquote></div><br></div>