Bug 1291856

Summary: When aborting due to large distribution, Erlang does not produce a crash dump
Product: Red Hat OpenStack Reporter: John Eckersberg <jeckersb>
Component: erlangAssignee: John Eckersberg <jeckersb>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: apevec, fdinitto, jeckersb, lhh, nlevinki, nyechiel, plemenko, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: erlang-R16B-03.7min.3.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1291822 Environment:
Last Closed: 2016-06-08 12:09:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1291822    
Bug Blocks: 1291855    

Description John Eckersberg 2015-12-15 17:51:40 UTC
+++ This bug was initially created as a clone of Bug #1291822 +++

Erlang aborts in dist_port_command with ERTS_ABORT_EXIT:

    if (size > (Uint) INT_MAX)
	erl_exit(ERTS_ABORT_EXIT,
		 "Absurdly large distribution output data buffer "
		 "(%beu bytes) passed.\n",
		 size);

However, ERTS_ABORT_EXIT inhibits erlang crash dump generation.  It would be better to exit with ERTS_DUMP_EXIT so a crash dump is generated, in order to help debug crashes from large messages.

Comment 3 Udi Kalifon 2016-05-30 08:57:03 UTC
Verified in Juno 2016-05-04 with erlang-R16B-03.7min.3.el7ost.x86_64, using the explosivo.sh script from bug #1291822.

Comment 5 errata-xmlrpc 2016-06-08 12:09:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1211