unexpected runtime crash
Apologies for the poor summary, I'm not sure how to be more descriptive. I don't see anything dodgy here.
Compiling the attached program
ghc -O -dcore-lint Test.hs and running it results in a runtime crash. Various incarnations of this code have resulted in
Test: internal error: scavenge_one: strange object 0 Test: internal error: stg_ap_p_ret
and core dumps with no further information.
I've been able to reproduce this with ghc-7.8.2 and ghc-7.6.3.