aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-03-25 14:52:09 +0100
committerJohn Högberg <[email protected]>2019-03-27 09:12:14 +0100
commit4a67e657845ac7f941ddfb9f64fce226324e372c (patch)
tree7b2b50e220be4d95be876b1c425d7dca4cc1f687
parent7e6fff1e849998a3dd747b4d3cf35f39cb896aa0 (diff)
downloadotp-4a67e657845ac7f941ddfb9f64fce226324e372c.tar.gz
otp-4a67e657845ac7f941ddfb9f64fce226324e372c.tar.bz2
otp-4a67e657845ac7f941ddfb9f64fce226324e372c.zip
erts: Handle all signal types when clearing seq_trace token
We walk through all signal queues in the system when clearing seq_trace, so we must be prepared to encounter all kinds of signals.
-rw-r--r--erts/emulator/beam/erl_proc_sig_queue.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_proc_sig_queue.c b/erts/emulator/beam/erl_proc_sig_queue.c
index c95b7057fd..d475a0a634 100644
--- a/erts/emulator/beam/erl_proc_sig_queue.c
+++ b/erts/emulator/beam/erl_proc_sig_queue.c
@@ -3790,6 +3790,9 @@ clear_seq_trace_token(ErtsMessage *sig)
case ERTS_MON_TYPE_PROC:
case ERTS_MON_TYPE_DIST_PROC:
case ERTS_MON_TYPE_NODE:
+ case ERTS_MON_TYPE_NODES:
+ case ERTS_MON_TYPE_SUSPEND:
+ case ERTS_MON_TYPE_TIME_OFFSET:
break;
default:
ERTS_INTERNAL_ERROR("Unexpected sig type");
@@ -3806,6 +3809,11 @@ clear_seq_trace_token(ErtsMessage *sig)
case ERTS_SIG_Q_OP_LINK:
case ERTS_SIG_Q_OP_UNLINK:
case ERTS_SIG_Q_OP_TRACE_CHANGE_STATE:
+ case ERTS_SIG_Q_OP_GROUP_LEADER:
+ case ERTS_SIG_Q_OP_IS_ALIVE:
+ case ERTS_SIG_Q_OP_PROCESS_INFO:
+ case ERTS_SIG_Q_OP_SYNC_SUSPEND:
+ case ERTS_SIG_Q_OP_RPC:
break;
default: