tags:

views:

130

answers:

1

how to get the pid of a process which has sent a SIGABRT signal to another process which has exited dumping core

A: 

In short, by installing a signal handler for SIGABRT. More specifically, if you specify the SA_SIGINFO flag when installing the signal handler, then the siginfo_t structure should be populated with extra info about the signal, including the sender's PID etc.

codelogic