Blame otp-0008-Add-patch-to-crash-dump-on-large-distribution.patch

844843
From: John Eckersberg <jeckersb@redhat.com>
844843
Date: Wed, 16 Dec 2015 11:03:42 -0500
844843
Subject: [PATCH] Add patch to crash dump on large distribution
844843
844843
https://bugzilla.redhat.com/show_bug.cgi?id=1291822
844843
https://bugzilla.redhat.com/show_bug.cgi?id=1291855
844843
https://bugzilla.redhat.com/show_bug.cgi?id=1291856
844843
https://bugzilla.redhat.com/show_bug.cgi?id=1291857
844843
844843
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
844843
index 7be2b77..c3b6a7d 100644
844843
--- a/erts/emulator/beam/dist.c
844843
+++ b/erts/emulator/beam/dist.c
844843
@@ -1980,7 +1980,7 @@ dist_port_command(Port *prt, ErtsDistOutputBuf *obuf)
844843
     ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
844843
 
844843
     if (size > (Uint) INT_MAX)
844843
-	erl_exit(ERTS_ABORT_EXIT,
844843
+	erl_exit(ERTS_DUMP_EXIT,
844843
 		 "Absurdly large distribution output data buffer "
844843
 		 "(%beu bytes) passed.\n",
844843
 		 size);
844843
@@ -2020,7 +2020,7 @@ dist_port_commandv(Port *prt, ErtsDistOutputBuf *obuf)
844843
     ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
844843
 
844843
     if (size > (Uint) INT_MAX)
844843
-	erl_exit(ERTS_ABORT_EXIT,
844843
+	erl_exit(ERTS_DUMP_EXIT,
844843
 		 "Absurdly large distribution output data buffer "
844843
 		 "(%beu bytes) passed.\n",
844843
 		 size);