ANNOUNCE: GHC 6.12.1 Release Candidate 2
alexander.dunlap at gmail.com
Sun Nov 22 17:58:27 EST 2009
On Sun, Nov 22, 2009 at 10:26:02PM +0000, Ian Lynagh wrote:
> On Sun, Nov 22, 2009 at 01:35:00PM -0800, Alex Dunlap wrote:
> > I installed this and tried to build the network package. Here's what happened:
> > ---- SNIP ----
> > $ ~/usr/bin/ghc --make Setup.hs
> > Linking Setup ...
> > $ ./Setup configure
> > Warning: defaultUserHooks in Setup script is deprecated.
> > Configuring network-188.8.131.52...
> > Setup: fd:5: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)
> > *** glibc detected *** ./Setup: double free or corruption (!prev): 0x09d33050 ***
> Which ghc is in your path? It sounds like Cabal is finding your old GHC
> and trying to read its package database, but failing due to
> Does that sound right?
Yes, adding the new GHC to my PATH fixes the problem. It seems like that memory error is quite severe for trying to read a file with bad encoding—couldn't it fail with a simple "Bad encoding" exception or something?
More information about the Glasgow-haskell-users