aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/break.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-10-21 17:39:36 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-10-21 17:39:36 +0200
commita6141d40a3596090c41f7e52537eaab2e733510c (patch)
tree47c9903f678853d8f798bd2627fe6e081c52e3cf /erts/emulator/beam/break.c
parent76c6d8fcc4f31ce5e1310f18dcf43107c74ae513 (diff)
parent7cf1ce9d805414d5cb1bf29852d2a5bf48ea4235 (diff)
downloadotp-a6141d40a3596090c41f7e52537eaab2e733510c.tar.gz
otp-a6141d40a3596090c41f7e52537eaab2e733510c.tar.bz2
otp-a6141d40a3596090c41f7e52537eaab2e733510c.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r--erts/emulator/beam/break.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c
index ad9a89b642..99604fa3bc 100644
--- a/erts/emulator/beam/break.c
+++ b/erts/emulator/beam/break.c
@@ -76,7 +76,10 @@ process_info(int to, void *to_arg)
for (i = 0; i < max; i++) {
Process *p = erts_pix2proc(i);
if (p && p->i != ENULL) {
- if (!ERTS_PROC_IS_EXITING(p))
+ /* Do not include processes with no heap,
+ * they are most likely just created and has invalid data
+ */
+ if (!ERTS_PROC_IS_EXITING(p) && p->heap != NULL)
print_process_info(to, to_arg, p);
}
}