diff options
author | Sverker Eriksson <[email protected]> | 2018-06-04 14:42:38 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-06-05 15:58:20 +0200 |
commit | 30598c518f793bb7c3893d3996966dca5b858192 (patch) | |
tree | 50251942126ce2676dab3e41b83cf18a63fe431e /lib/common_test | |
parent | 4544915b3b6b9fd9294f4872ea6370d0898e5f2e (diff) | |
download | otp-30598c518f793bb7c3893d3996966dca5b858192.tar.gz otp-30598c518f793bb7c3893d3996966dca5b858192.tar.bz2 otp-30598c518f793bb7c3893d3996966dca5b858192.zip |
erts: Fix broken signal queue
broken on master by
613cde66c25464121f2f6dace99782bad0e07d9b
Scenario:
proc_queue_signal() fails to send switched pending signal
due to state & ERTS_PSFLG_FREE,
and then calls erts_proc_sig_send_monitor_down() to enqueue to self
followed by sig_enqueue_trace_cleanup() that destroyed 'next' pointer
of enqueued signal.
Solution:
Switch order and do sig_enqueue_trace_cleanup() first.
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions