<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 2:21 PM, Chris Eidhof <span dir="ltr">&lt;<a href="mailto:chris@eidhof.nl">chris@eidhof.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey everyone,<br>
<br>
After I upgraded to a newer cabal-install my cabal-install broke again: I get a Bus Error when doing &quot;cabal update&quot; or &quot;cabal install something&quot;. The version that was bundled with the Haskell platform worked fine, but now it&#39;s broken again. I&#39;m not sure what it was that went wrong or how to debug this.<br>
</blockquote><div><br>This happened to a co-worker on her mac.  We used gdb to track the bus errors to the network library.  Once we tracked it down to there, we did some combination of deleting $HOME/.cabal, building/installing the latest version of Network and then relinking cabal-install.  I&#39;ve also seen these errors with some versions of zlib (but, I think that was on an old Solaris box that had lots of issues).<br>
<br>I don&#39;t think my co-worker has had issues since upgrading to GHC 6.12.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
The previous time I had Bus Errors I upgraded to the newest available Haskell Platform release and started from scratch. I would prefer not to do that again. However, I don&#39;t really know how to solve the Bus Error. Does anyone have a clue where to start? Or is there a way to undo my cabal-install upgrade?<br>
</blockquote><div><br>Well, you could try removing $HOME/.cabal (make a backup first?), and then rebuild re-install cabal-install and it&#39;s dependencies.<br><br>You might also spend some time running cabal-install inside gdb to see where it&#39;s crashing and report back what you find out.<br>
<br>I hope that helps,<br>Jason<br></div></div>