weather with segfault after bad file descriptor