Skip to content

internal error: scavenge_stack: weird activation record found on stack

This is a semi-reproducible error that shows up in the test suite for http://hackage.haskell.org/package/htsn-import.

You have to run the test suite a few times, but it does crash regularly. Steps to reproduce:

$ ghc --make -O2 -o setup Setup.hs
$ ./setup configure --user --enable-tests
$ ./setup build
$ ./setup test testsuite

If that doesn't crash, ./setup test testsuite can be re-run until it does. Sample crash:

$ ./setup test testsuite
Running 1 test suites...
Test suite testsuite: RUNNING...
All tests
  AutoRacingSchedule tests
    cascading delete tests
      deleting auto_racing_schedules deletes its children:                      OK
      deleting auto_racing_schedules deletes its children (miles track length): OK
    pickle-unpickle tests
      pickle composed with unpickle is the identity:                            OK
      pickle composed with unpickle is the identity (miles track length):       OK
    unpickle tests
      unpickling succeeds:                                                      OK
      unpickling succeeds (non-int team_id):                                    OK
  Heartbeat tests
    pickle composed with unpickle is the identity:                              OK
    unpickling succeeds:                                                        OK
  Injuries tests
    deleting an injuries deletes its children:                                  OK
    pickle composed with unpickle is the identity:                              OK
    unpickling succeeds:                                                        OK
  InjuriesDetail tests
    cascading delete tests
      delete of injuries_detail deletes its children:                           OK
      delete of injuries_detail deletes its children (non-int team_id):         OK
    pickle-unpickle tests
      pickle composed with unpickle is the identity:                            OK
      pickle composed with unpickle is the identity (non-int team_id):          OK
    unpickle tests
      unpickling succeeds:                                                      OK
      unpickling succeeds (non-int team_id):                                    OK
  News tests
    news fields get correct database names:                                     OK
    cascading delete tests
      deleting news deletes its children:                                       OK
    pickle-unpickle tests
      pickle composed with unpickle is the identity:                            OK
      pickle composed with unpickle is the identity (with Editor):              OK
    unpickle tests
      unpickling succeeds:                                                      OK
      unpickling succeeds (with Editor):                                        OK
  Odds tests
    cascading delete tests
      deleting odds deletes its children:                                       OK
      deleting odds deletes its children (non-int team_id):                     OK
      deleting odds deleted its children (positive(+) line):                    OK
      deleting odds deleted its children (large file):                          OK
    pickle-unpickle tests
      pickle composed with unpickle is the identity:                            OK
      pickle composed with unpickle is the identity (non-int team_id):          OK
      pickle composed with unpickle is the identity (positive(+) line):         OK
      pickle composed with unpickle is the identity (large file):               testsuite: internal error: scavenge_stack: weird activation record found on stack: 415597384
    (GHC version 7.8.2 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Test suite testsuite: FAIL
Test suite logged to: dist/test/htsn-import-0.0.5-testsuite.log
0 of 1 test suites (0 of 1 test cases) passed.
Trac metadata
Trac field Value
Version 7.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information