work on #204 (segfault under some fatal conditions)