Handle segfaults caused by jumping into garbage, and add a test.

rr replay is pretty much the last (sane) hope for debugging whatever is going on in #228, which seems to be a syscall return that jumps into garbage.