Skip to content

GHCi says: ghc: internal error: evacuate: strange closure type 63587

Error:

The error message shown by GHCi to me:

ghc: internal error: evacuate: strange closure type 63587
    (GHC version 6.12.3 for i386_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

I'm not sure whether this should be classified as GHCi or GHC the compiler, as I wasn't compiling anything at the time, but maybe something inside GHCi was.

This tends to happen on all my projects. I am unable to directly reproduce it. It is not a particularly big problem as Emacs automatically re-launches GHCi.


Background:

I use GHCi inside Emacs. I forward all my Cabal configure/build and any other Haskell-related scripts through GHCi with :! and all the output is forwarded back by GHCi. Maybe it is merely a GHCi bug in using commands? I only suspect this because I only recall getting bugs like this since I started doing this kind of forwarding -- I may be mistaken in that recollection.

For what it's worth, below I include a list of libraries used. But I don't suspect those to be the cause. I assume that the part of GHCi which runs the :! commands is small and self-contained, so I'll have a bash at testing/fixing that, or at least reproducing the error. I doubt many else use :! like I do.


Libraries used:

syb-0.1.0.2, base-3.0.3.2, extensible-exceptions-0.1.1.1, time-1.1.4, random-1.0.0.2, bytestring-0.9.1.7, haskell-lexer-1.0, pretty-show-1.1.1, convertible-1.0.9.1, utf8-string-0.3.6, HDBC-2.2.6.1, parsec-2.1.0.1, HDBC-postgresql-2.2.3.1, haskelldb-hdbc-2.0, haskelldb-hdbc-postgresql-2.0, MonadRandom-0.1.5, MonadCatchIO-mtl-0.3.0.1, network-2.2.1.8, xhtml-3000.2.0.1, cgi-3001.1.8.1, split-0.1.2.1, safe-0.2, HUnit-1.2.2.3, process-1.0.1.3, haskell98, hslogger-1.1.0, regex-base-0.93.2, regex-posix-0.94.4, regex-compat-0.93.1, MissingH-1.1.0.3, ConfigFile-1.0.6, json-0.4.4

Trac metadata
Trac field Value
Version 6.12.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC chrisdone@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information