commit | 3fdd720d61a210e62aee6347e3d04a2482022238 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Nov 25 18:28:55 2020 +0100 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Nov 25 18:28:55 2020 +0100 |
tree | 8c31e91ea3a542232a1b7235197ad5bccd30a6cf | |
parent | fd1614c4075ade8adde684d1ad7450c23a9bb17b [diff] |
sgsn: generate coredump and exit upon SIGABRT received Previous code relied on abort() switching sigaction to SIG_FDL + retriggering SIGABRT in case the signal handler returns, which would then generate the coredump + terminate the process. However, if a SIGABRT is received from somewhere else (kill -SIGABRT), then the process would print the talloc report and continue running, which is not desired. Change-Id: I65f70a53b6982bff9ea4bd6ff786d8a2f8181eac Fixes: OS#4865