Assertion failed in GC.c
Instructions: 1. Download the attached archive. 2. tar xzf gens.tar.gz 3. cd gens 4. make 5. make Env/If.so 6. ./gens - <tests The message I'm getting is: ASSERTION FAILED: file GC.c, line 1722 When I compile without -debug option, there's a segfault with no error report. If I do +RTS -G1 -RTS, the tests keep running longer, but they still crash in the end. There's another weird thing, probably unrelated. ./gens-prof +RTS -xc -RTS - <tests outputs stack frames ending with readFile function call, like it was throwing an exception and catching it immediately. After the readFile call, execution proceeds normally.