ANNOUNCE: GHC 6.12.1 Release Candidate 2
marlowsd at gmail.com
Mon Nov 23 10:20:40 EST 2009
On 22/11/09 22:58, Alex Dunlap wrote:
> 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-126.96.36.199...
>>> 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?
I'm surprised by the memory error too. It may be a real bug. Would you
mind reporting it, including the full output of 'ghc-pkg dump' for the
GHC that was in your PATH in the above?
More information about the Glasgow-haskell-users