diff options
author | Henrik Nord <[email protected]> | 2016-05-04 13:07:54 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2016-05-04 13:07:54 +0200 |
commit | 6a1290f534164d1a5771dba37c23124652b9f7c9 (patch) | |
tree | abc39718413589f5cc346af012715cac7c231e05 /erts/emulator | |
parent | a48de20bf8635533a19c018c831efd563963715f (diff) | |
parent | d86548e01746aa14074b4df4c157f6d06f3be697 (diff) | |
download | otp-6a1290f534164d1a5771dba37c23124652b9f7c9.tar.gz otp-6a1290f534164d1a5771dba37c23124652b9f7c9.tar.bz2 otp-6a1290f534164d1a5771dba37c23124652b9f7c9.zip |
Merge branch 'lemenkov/crash_dump_while_dist_error/PR-947/OTP-13474'
* lemenkov/crash_dump_while_dist_error/PR-947/OTP-13474:
Add patch to crash dump on large distribution
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/dist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c index 52fd57e101..277e0668a2 100644 --- a/erts/emulator/beam/dist.c +++ b/erts/emulator/beam/dist.c @@ -1967,7 +1967,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); @@ -2007,7 +2007,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); |