System.Posix.Env.getEnvironment segfaults

Volker Stolz vs at foldr.org
Fri Nov 12 12:16:32 EST 2004


In gmane.comp.lang.haskell.cvs.ghc, you wrote:
> Prelude> System.Posix.Env.getEnvironment
> Loading package unix ... linking ... done.
> Segmentation fault

Fixed in CVS. You might want to re-read
http://www.haskell.org/pipermail/glasgow-haskell-users/2002-February/003020.html
and somebody over in the FFI-department really owes Michael and me a beer :)
The funny thing is that the FFI code would work correctly when compiled
with -fasm, but not with -fvia-c...

Cheers,
  Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME


More information about the Cvs-ghc mailing list