signal(SIGALRM, bad_signal);
//signal(SIGFPE, bad_signal);
//signal(SIGILL, bad_signal);
signal(SIGPIPE, bad_signal);
signal(SIGQUIT, bad_signal);
//signal(SIGSEGV, bad_signal);
signal(SIGALRM, bad_signal);
//signal(SIGFPE, bad_signal);
//signal(SIGILL, bad_signal);
signal(SIGPIPE, bad_signal);
signal(SIGQUIT, bad_signal);
//signal(SIGSEGV, bad_signal);