commit | 55d7ee57cf578ed22d9efa0f7d9fe7252a2ccf8e | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Nov 25 17:08:18 2020 +0100 |
committer | laforge <laforge@osmocom.org> | Wed Nov 25 20:46:46 2020 +0000 |
tree | dd468f5247237f0620d57b94774e87723d5af530 | |
parent | baa25b0d80bb910adbde019183624410a55dab44 [diff] |
main: 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 (killall -SIGABRT osmo-bsc), then the process would print the talloc report and continue running, which is not desired. Change-Id: I125288283af630efa20d64505e319636964a0982 Fixes: OS#4865