fix final case on Cygwin for randomly generated segfaults