EVACUATED object entered! (when doing FFI)

Simon Peyton-Jones simonpj@microsoft.com
Thu, 24 Oct 2002 08:28:30 +0100


It's certainly a bug of some kind.  Please say what version of GHC you
are using.  If it's the latest one (5.04.1), please send us the source
code.

Thanks

Simon

| -----Original Message-----
| From: Francis Girard [mailto:francis.girard@free.fr]
| Sent: 24 October 2002 04:02
| To: glasgow-haskell-users@haskell.org
| Subject: EVACUATED object entered! (when doing FFI)
|=20
| Good morning,
|=20
| I wrote a very small program, and it executed ok.
| I wanted to export a function in "C", and therefore wrote a "C"
wrapper
| function over it to invoke peekCString and peekArray on the input;
newCString
| and newArray on the output.
|=20
| I then did a small "C" driver program. Everything compiled and linked
| correctly.
|=20
| But at execution the program prints :
|=20
| EVACUATED object entered!
|=20
| as soon as "startupHaskell" is invoked (i.e. even before I call my
foreign
| exported function !)
|=20
| What is the meaning of this message ?
|=20
| Thank you
|=20
| Francis Girard
| Le Conquet
| France
|=20
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users