Bug 1291822

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: 8.0 (Liberty)CC: apevec, fdinitto, jeckersb, jschluet, lhh, plemenko, royoung, ukalifon, yeylon
Target Milestone: ga   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: erlang-R16B-03.10min.4.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1291855 1291856 1291857 (view as bug list) Environment:
Last Closed: 2016-04-07 21:18:40 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:    
Bug Blocks: 1291855, 1291856, 1291857    

Description John Eckersberg 2015-12-15 16:18:39 UTC
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 5 Udi Kalifon 2016-01-20 17:49:38 UTC
Verified with the images that are shipped with 8.0 beta.

Comment 6 errata-xmlrpc 2016-04-07 21:18:40 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://rhn.redhat.com/errata/RHEA-2016-0603.html