[GHC] #7040: ghci segfault on OS X X86_64 with foreign global data
GHC
cvs-ghc at haskell.org
Sun Jul 1 17:39:57 CEST 2012
#7040: ghci segfault on OS X X86_64 with foreign global data
------------------------------+---------------------------------------------
Reporter: luite | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.2 | Keywords:
Os: Unknown/Multiple | Architecture: x86_64 (amd64)
Failure: GHCi crash | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Comment(by luite):
result:
{{{
# ghc -c global.c
# ghci global.o main.hs
GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading object (static) global.o ... done
final link ... done
[1 of 1] Compiling Main ( main.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Segmentation fault: 11
# ghc global.o main.hs
# ./main
x: 0
x: 1
#
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7040#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list