id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5132,Segfault on OS X in GHCi when using GHC API,nominolo,igloo,"(This might be related to #5072.)

I get a segfault when loading and running the following simple program in GHCi:

{{{
import GHC
import DynFlags

main = do
  defaultErrorHandler defaultDynFlags $ do
    (a,b) <- parseStaticFlags []
    print ""42""
}}}

{{{
$ ghci -package ghc bug3.hs
GHCi, version 7.0.2: http://www.haskell.org/ghc/  :? for help

Ok, modules loaded: Main.
Prelude Main> main
Bus error
}}}

It works fine on x86-64 linux or when I compile the code.  I have not tested whether it fails on x86 as well.",bug,closed,high,7.4.1,GHCi,7.0.2,fixed,,pho@… jcpetruzza@…,MacOS X,x86_64 (amd64),GHCi crash,,,,,
