Occasional segfault in GHCi w/ 7.4.1-rc1 and 64bit OS X

Evan Laforge qdunkan at gmail.com
Sun Dec 25 09:06:05 CET 2011

On Sat, Dec 24, 2011 at 9:35 PM, austin seipp <as at hacks.yi.org> wrote:
> Hello GHC hackers,
> I have been trying the recent 7.4.1-rc1 release on my OSX Snow Leopard
> machine. I am using the 64bit OSX .tar.bz. I used virthualenv/hsenv to
> set up a virtual environment to test packages with the RC, but I
> discovered that GHCi seems to segfault somewhat randomly when invoked.

I get this too, with the ghci- from
GHC- on OS 10.6.8, and it happens about half
of the time.  It seems random when it segfaults and when it runs.  I
don't know if it's worth anything, but the gdb backtrace looks

(gdb) bt
#0  0x00000001f6c930da in evacuate1 ()
#1  0x00000001f6c98868 in scavenge_block1 ()
Previous frame inner to this frame (gdb could not unwind past this frame)

It's easy for me to repro at the moment, since I get it so frequently.
 I compiled a bunch of cabal packages just fine, so it seems to just
be ghci and runghc.

More information about the Glasgow-haskell-users mailing list