user-define signal handler & coredump for signal 11(SIGSEGV)
Hello,
As we know, the defaule behavor will be generate a coredump for a process/thread received a signal 11, However, if I change the behavior for it by development a new signal handler, I didn't get the core file. So my question is:
1)I'd like to design a signal handler, and in this handler, I printf some userful info for the thread reveived the signal 11, but the most important of this, I'd like to generate the coredump just as the default behavior. So how i could do it?
Thank you in advance.
|