Which “fatal” signals should a user-level program catch?
问题 First of all, I do know that there was a similar question here in the past. But that question wasn't answered properly. Instead, it diverted into suggestion what to do to catch signals. So just to clarify: I've done whatever needs to be done to handle signals. I have an application that forks a daemon that monitors the main process through pipe. If a main process crashes (e.g. segmentation fault), it has a signal handler that writes all the required info to pipe and aborts. The goal is to