Ticket #2554 (closed bug: fixed)
internal error: stg_ap_pp_ret (with terminfo)
| Reported by: | judah | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 6.10.1 |
| Component: | Compiler | Version: | 6.9 |
| Keywords: | Cc: | ||
| Operating System: | MacOS X | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

