> I'm experimenting with GHC (5.00.1) on RedHat Linux 7.1, it's foreign
> function interface (using .hsc files) and the SDL graphics
> library (v1.2).
> The curious thing is that the following code:
>
> main = sdlInit [sdlVideo[
> sdlQuit
>
> can be loaded into GHCi and executed as many times as I like, however,
> if I then carry on and edit the module containing main, and
> then perform a
> reload (:r), I sometimes get an "EVACUATED object entered!"
> message and GHC
> crashes on me:
Great bug! I managed to reproduce it here (except that I get a plain
seg fault not a GC panic), and it turns out to be an obscure bug in the
native code generator that only shows up with GHCi. Compiling the
program with -fvia-C works around it.
Many thanks for the report.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users