aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorJohn Eckersberg <[email protected]>2015-12-16 11:03:42 -0500
committerHenrik Nord <[email protected]>2016-04-06 12:23:14 +0200
commitd86548e01746aa14074b4df4c157f6d06f3be697 (patch)
treeabaaad5bc5c831ca37d4a613ba1dcc1befc2ed27 /erts
parent30b22c1a3835fa411733763c49c65f2e2abb1640 (diff)
downloadotp-d86548e01746aa14074b4df4c157f6d06f3be697.tar.gz
otp-d86548e01746aa14074b4df4c157f6d06f3be697.tar.bz2
otp-d86548e01746aa14074b4df4c157f6d06f3be697.zip
Add patch to crash dump on large distribution
https://bugzilla.redhat.com/show_bug.cgi?id=1291822 https://bugzilla.redhat.com/show_bug.cgi?id=1291855 https://bugzilla.redhat.com/show_bug.cgi?id=1291856 https://bugzilla.redhat.com/show_bug.cgi?id=1291857
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/dist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index fa385f105d..3cfd164224 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -1963,7 +1963,7 @@ dist_port_command(Port *prt, ErtsDistOutputBuf *obuf)
ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
if (size > (Uint) INT_MAX)
- erts_exit(ERTS_ABORT_EXIT,
+ erts_exit(ERTS_DUMP_EXIT,
"Absurdly large distribution output data buffer "
"(%beu bytes) passed.\n",
size);
@@ -2003,7 +2003,7 @@ dist_port_commandv(Port *prt, ErtsDistOutputBuf *obuf)
ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
if (size > (Uint) INT_MAX)
- erts_exit(ERTS_ABORT_EXIT,
+ erts_exit(ERTS_DUMP_EXIT,
"Absurdly large distribution output data buffer "
"(%beu bytes) passed.\n",
size);