#2554: internal error: stg_ap_pp_ret (with terminfo)
-----------------------+----------------------------------------------------
    Reporter:  judah   |       Owner:          
        Type:  bug     |      Status:  new     
    Priority:  normal  |   Component:  Compiler
     Version:  6.9     |    Severity:  normal  
    Keywords:          |    Testcase:          
Architecture:  x86     |          Os:  MacOS X 
-----------------------+----------------------------------------------------
 When trying to run the haskeline package against HEAD, I sometimes get bus
 errors, segfaults or the following error:
 {{{
 Test: internal error: stg_ap_pp_ret
     (GHC version 6.9.20080827 for i386_apple_darwin)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Abort trap
 }}}

 I've tried to strip down the relevant parts of the code.  Attached is my
 best attempt to isolate the error.   The code runs fine on 6.8.3, but
 crashes with a segfault or bus error if it was compiled with
 ghc-6.9.20080827:

 {{{
 $ ~/tmp/ghc-stage/bin/ghc --make -threaded Test.hs -fforce-recomp
 -lncurses
 [1 of 1] Compiling Main             ( Test.hs, Test.o )
 Linking Test ...
 $ ./Test
 foobar1
 Starting loop...
 About to do the bad thing.
 Segmentation fault
 }}}

 This is with OS X 10.5.4.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2554>
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