#5031: GHC API (7.0.2) + runhaskell causes bus error in Mac OS X 10.6
---------------------------------------------+------------------------------
    Reporter:  guest                         |        Owner:  igloo       
        Type:  bug                           |       Status:  new         
    Priority:  high                          |    Milestone:  7.2.1       
   Component:  GHC API                       |      Version:  7.0.2       
    Keywords:  ghc api,runhaskell,ghci,segv  |     Testcase:              
   Blockedby:                                |   Difficulty:              
          Os:  MacOS X                       |     Blocking:              
Architecture:  x86                           |      Failure:  None/Unknown
---------------------------------------------+------------------------------
Changes (by igloo):

  * owner:  => igloo
  * priority:  normal => high
  * milestone:  => 7.2.1


Comment:

 I can reproduce this with 7.0.2 and 7.0.3 on i386 OS X.

 I can reproduce this with 7.0.2 on amd64 OS X.

 I cannot reproduce it with HEAD in i386 OS X.

 I cannot reproduce it with 7.0.2 on amd64 Linux.

 I'll do a normal (non-validate) HEAD build, and see if I can reproduce it
 with that.

 {{{
 ~/bindists/7.0.3-32/inst/bin/ghci -package ghc
 :m + GHC
 runGhc (Just "/Users/ian/bindists/7.0.3-32/inst/lib/ghc-7.0.3") $
 getSessionDynFlags >>= setSessionDynFlags >> dynCompileExpr "()"
 Segmentation fault
 }}}

 {{{
 ghc/git/val32/inplace/bin/ghc-stage2 --interactive -package ghc
 :m + GHC
 runGhc (Just "/Users/ian/ghc/git/val32/inplace/lib") $ getSessionDynFlags
 >>= setSessionDynFlags >> dynCompileExpr "()"
 <<()>>
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5031#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to