[GHC] #781: getEnvironment segfaults (6.5.20060527 - snapshot)
GHC
trac at galois.com
Wed May 31 05:15:57 EDT 2006
#781: getEnvironment segfaults (6.5.20060527 - snapshot)
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Keywords: getEnvironment
Difficulty: Unknown | Architecture: Unknown
Os: Unknown |
-----------------------+----------------------------------------------------
System.Posix.getEnvironment fails on Linux 2.6.16-1.2108_FC4smp
with a segfault. (x86_64)
{{{
[aleator at thoth HopenCV]$ ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.5.20060527, for
Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done.
Prelude> :m +System.Posix.Env
Prelude System.Posix.Env> getEnv "USER"
Loading package unix-1.0 ... linking ... done.
Just "aleator"
Prelude System.Posix.Env> getEnvironment
Segmentation fault
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/781>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list