Fix a crash with "set unwindonsignal on".
 - Bugreported by Phil.