On Mon, 27 Jul 2015 10:39:16 +0200 Nicolas George <geo...@nsup.org> wrote:
> > + signal(SIGSEGV, sigterm_handler); /* Segmentation fault (ANSI). */ > > + signal(SIGILL , sigterm_handler); /* Invalid instruction (ANSI). */ > > + signal(SIGFPE , sigterm_handler); /* Arithmetic error (ANSI). */ > > NO!!! > > When a crash happens, we want it to happen right there, possibly leave a > core. We do not want a signal handler to mess up the remains. +1 > > #ifdef SIGXCPU > > signal(SIGXCPU, sigterm_handler); > > #endif Why? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel