Bug 1291855 - When aborting due to large distribution, Erlang does not produce a crash dump
Summary: When aborting due to large distribution, Erlang does not produce a crash dump
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: erlang
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: z4
: 7.0 (Kilo)
Assignee: John Eckersberg
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On: 1291822 1291856 1291857
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-15 17:50 UTC by John Eckersberg
Modified: 2023-02-22 23:02 UTC (History)
7 users (show)

Fixed In Version: erlang-R16B-03.10min.4.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1291822
Environment:
Last Closed: 2016-02-18 16:10:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0259 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 7 Bug Fix and Enhancement Advisory 2016-02-18 21:06:38 UTC

Description John Eckersberg 2015-12-15 17:50:46 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 2 Udi Kalifon 2016-01-19 10:47:38 UTC
I will need more info. Where in openstack is erlang used and where do I find the code lines that you mention? Do you have a scenario to recreate this large buffer?

Comment 3 John Eckersberg 2016-01-19 14:12:39 UTC
(In reply to Udi from comment #2)
> I will need more info. Where in openstack is erlang used and where do I find
> the code lines that you mention? Do you have a scenario to recreate this
> large buffer?

See https://bugzilla.redhat.com/show_bug.cgi?id=1291822#c4 from the original bug

Comment 4 Udi Kalifon 2016-01-20 17:50:22 UTC
Verified with the images that are shipped with 7.3.

Comment 7 errata-xmlrpc 2016-02-18 16:10:16 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/RHBA-2016-0259.html


Note You need to log in before you can comment on or make changes to this bug.