aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/break.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2017-01-25 11:33:48 +0100
committerBjörn-Egil Dahlberg <[email protected]>2017-01-25 11:33:48 +0100
commit38e359d0d8ca86601a867f22ac10995abca97e16 (patch)
tree2058123559148d56e96c950037ea6c00339668e2 /erts/emulator/beam/break.c
parentaff5d7501af8081faeb2b6ead963c680765852f3 (diff)
parent1706f9302887cf238862fb7d92ca8d77fcef71d3 (diff)
downloadotp-38e359d0d8ca86601a867f22ac10995abca97e16.tar.gz
otp-38e359d0d8ca86601a867f22ac10995abca97e16.tar.bz2
otp-38e359d0d8ca86601a867f22ac10995abca97e16.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r--erts/emulator/beam/break.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c
index 6e1e94b95b..2fc61ab436 100644
--- a/erts/emulator/beam/break.c
+++ b/erts/emulator/beam/break.c
@@ -717,6 +717,8 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args)
* We have to be very very careful when doing this as the schedulers
* could be anywhere.
*/
+ sys_init_suspend_handler();
+
for (i = 0; i < erts_no_schedulers; i++) {
erts_tid_t tid = ERTS_SCHEDULER_IX(i)->tid;
if (!erts_equal_tids(tid,erts_thr_self()))