diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-25 17:08:18 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-11-25 20:46:46 +0000 |
commit | 55d7ee57cf578ed22d9efa0f7d9fe7252a2ccf8e (patch) | |
tree | dd468f5247237f0620d57b94774e87723d5af530 /src/osmo-bsc/handover_decision.c | |
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
Diffstat (limited to 'src/osmo-bsc/handover_decision.c')
0 files changed, 0 insertions, 0 deletions