aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_info.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-05-11 18:49:28 +0200
committerRickard Green <[email protected]>2018-05-16 13:30:09 +0200
commit1f2268308b837b797220a1d7419504f19742c265 (patch)
treee3c6fc6f4395f0eec5a53df1b7e74a4c13d449c4 /erts/emulator/beam/erl_bif_info.c
parent6c9405c04b964336820e2816fc066158a40ab2b2 (diff)
downloadotp-1f2268308b837b797220a1d7419504f19742c265.tar.gz
otp-1f2268308b837b797220a1d7419504f19742c265.tar.bz2
otp-1f2268308b837b797220a1d7419504f19742c265.zip
Fix erts_try_lock_sig_free_proc()
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rw-r--r--erts/emulator/beam/erl_bif_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c
index 8f04ff7353..55450e397f 100644
--- a/erts/emulator/beam/erl_bif_info.c
+++ b/erts/emulator/beam/erl_bif_info.c
@@ -1160,6 +1160,7 @@ process_info_bif(Process *c_p, Eterm pid, Eterm opt, int always_wrap, int pi2)
else {
if (flags & ERTS_PI_FLAG_FORCE_SIG_SEND)
goto send_signal;
+ state = ERTS_PSFLG_RUNNING; /* fail state... */
rp = erts_try_lock_sig_free_proc(pid, locks, &state);
if (!rp)
goto undefined;