Skip to content

ghci gives stg_ap_v_ret error

The following interaction with ghci occurs:

Prelude> :l Test.hs
[1 of 2] Compiling BigWord          ( lib/BigWord.hs, interpreted )
[2 of 2] Compiling Main             ( Test.hs, interpreted )
Ok, modules loaded: BigWord, Main.
*Main> main
<interactive>: internal error: stg_ap_v_ret
    (GHC version 8.0.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted (core dumped)

whereas the compiled file Test.hs executes without error. See the attached files.

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information