Skip to content

Internal error: stg_ap_v_ret when running indexed_types tests

After running make in testsuite/tests/indexed_types, I got the following output:

Unexpected failures:
   should_run  GMapAssoc [bad exit code] (optllvm)
   should_run  GMapTop [bad exit code] (optllvm)
   should_run  T2985 [bad exit code] (optllvm)
   should_run  T4235 [bad exit code] (optllvm)
   should_run  T5719 [bad exit code] (optllvm)

On further examination of these failures, I found that they each produced the following:

=====> T4235(optllvm) 2 of 5 [0, 0, 0]
cd . && '/Users/rae/Documents/ghc-pure/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o T4235 T4235.hs -O -fllvm   >T4235.comp.stderr 2>&1
cd . && ./T4235    </dev/null >T4235.run.stdout 2>T4235.run.stderr
/bin/sh: line 1: 57284 Abort trap: 6           ./T4235 < /dev/null > T4235.run.stdout 2> T4235.run.stderr
Wrong exit code (expected 0 , actual 134 )
Stdout:

Stderr:
T4235: internal error: stg_ap_v_ret
    (GHC version 7.7.20120809 for x86_64_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

*** unexpected failure for T4235(optllvm)
Trac metadata
Trac field Value
Version 7.5
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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