segfault error code handled, exit\n printed on Ctrl-D