Skip to content

Commit

Permalink
Merge tag 'OTP-18.3' into maint-18
Browse files Browse the repository at this point in the history
=== OTP-18.3 ===

Changed Applications:
- asn1-4.0.2
- common_test-1.12
- compiler-6.0.3
- cosNotification-1.2.1
- cosTime-1.2.1
- cosTransactions-1.3.1
- crypto-3.6.3
- debugger-4.1.2
- dialyzer-2.9
- diameter-1.11.2
- edoc-0.7.18
- eldap-1.2.1
- erl_docgen-0.4.2
- erl_interface-3.8.2
- erts-7.3
- eunit-2.2.13
- hipe-3.15
- inets-6.2
- kernel-4.2
- mnesia-4.13.3
- observer-2.1.2
- orber-3.8.1
- public_key-1.1.1
- runtime_tools-1.9.3
- sasl-2.7
- snmp-5.2.2
- ssh-4.2.2
- ssl-7.3
- stdlib-2.8
- test_server-3.10
- tools-2.8.3
- webtool-0.9.1
- wx-1.6.1
- xmerl-1.3.10

Unchanged Applications:
- cosEvent-2.2
- cosEventDomain-1.2
- cosFileTransfer-1.2
- cosProperty-1.2
- et-1.5.1
- gs-1.6
- ic-4.4
- jinterface-1.6.1
- megaco-3.18
- odbc-2.11.1
- os_mon-2.4
- ose-1.1
- otp_mibs-1.1
- parsetools-2.1.1
- percept-0.8.11
- reltool-0.7
- syntax_tools-1.7
- typer-0.9.10
  • Loading branch information
proxyles committed Mar 14, 2016
2 parents e3e5588 + 5e1b5ef commit d9318b5
Show file tree
Hide file tree
Showing 119 changed files with 1,341 additions and 53 deletions.
2 changes: 1 addition & 1 deletion OTP_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.2.4
18.3
Binary file modified bootstrap/bin/start.boot
Binary file not shown.
Binary file modified bootstrap/bin/start_clean.boot
Binary file not shown.
Binary file modified bootstrap/lib/compiler/ebin/beam_asm.beam
Binary file not shown.
Binary file modified bootstrap/lib/compiler/ebin/beam_bool.beam
Binary file not shown.
Binary file modified bootstrap/lib/compiler/ebin/beam_bsm.beam
Binary file not shown.
Binary file modified bootstrap/lib/compiler/ebin/cerl.beam
Binary file not shown.
2 changes: 1 addition & 1 deletion bootstrap/lib/compiler/ebin/compiler.app
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{application, compiler,
[{description, "ERTS CXC 138 10"},
{vsn, "6.0"},
{vsn, "6.0.2"},
{modules, [
beam_a,
beam_asm,
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/lib/compiler/ebin/compiler.appup
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% limitations under the License.
%%
%% %CopyrightEnd%
{"5.0.4",
{"6.0.2",
[{<<".*">>,[{restart_application, compiler}]}],
[{<<".*">>,[{restart_application, compiler}]}]
}.
Binary file modified bootstrap/lib/compiler/ebin/v3_codegen.beam
Binary file not shown.
Binary file modified bootstrap/lib/compiler/ebin/v3_core.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/code.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/code_server.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/disk_log_1.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/erl_epmd.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/heart.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
Binary file not shown.
6 changes: 3 additions & 3 deletions bootstrap/lib/kernel/ebin/kernel.app
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
%% Copyright Ericsson AB 1996-2015. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,7 @@
{application, kernel,
[
{description, "ERTS CXC 138 10"},
{vsn, "4.0"},
{vsn, "4.1.1"},
{modules, [application,
application_controller,
application_master,
Expand Down Expand Up @@ -116,6 +116,6 @@
{applications, []},
{env, [{error_logger, tty}]},
{mod, {kernel, []}},
{runtime_dependencies, ["erts-7.0", "stdlib-2.5", "sasl-2.4"]}
{runtime_dependencies, ["erts-7.3", "stdlib-2.6", "sasl-2.6"]}
]
}.
8 changes: 5 additions & 3 deletions bootstrap/lib/kernel/ebin/kernel.appup
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
%% limitations under the License.
%%
%% %CopyrightEnd%
{"4.0",
{"4.1.1",
%% Up from - max one major revision back
[{<<"3\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}], % OTP-17
[{<<"4\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}, % OTP-18.*
{<<"3\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}], % OTP-17
%% Down to - max one major revision back
[{<<"3\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}] % OTP-17
[{<<"4\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}, % OTP-18.*
{<<"3\\.[0-2](\\.[0-9]+)*">>,[restart_new_emulator]}] % OTP-17
}.
Binary file modified bootstrap/lib/kernel/ebin/seq_trace.beam
Binary file not shown.
Binary file modified bootstrap/lib/kernel/ebin/user_drv.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/beam_lib.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/dets.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/dets_utils.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/dets_v8.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/dets_v9.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/dict.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/digraph.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/edlin.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/erl_eval.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/erl_lint.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/file_sorter.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/lists.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/maps.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/otp_internal.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/qlc.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/rand.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/sofs.beam
Binary file not shown.
4 changes: 2 additions & 2 deletions bootstrap/lib/stdlib/ebin/stdlib.app
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
{application, stdlib,
[{description, "ERTS CXC 138 10"},
{vsn, "2.5"},
{vsn, "2.7"},
{modules, [array,
base64,
beam_lib,
Expand Down Expand Up @@ -105,7 +105,7 @@
dets]},
{applications, [kernel]},
{env, []},
{runtime_dependencies, ["sasl-2.4","kernel-4.0","erts-7.0","crypto-3.3",
{runtime_dependencies, ["sasl-2.6","kernel-4.1","erts-7.3","crypto-3.3",
"compiler-5.0"]}
]}.

8 changes: 5 additions & 3 deletions bootstrap/lib/stdlib/ebin/stdlib.appup
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
%% limitations under the License.
%%
%% %CopyrightEnd%
{"2.5",
{"2.7",
%% Up from - max one major revision back
[{<<"2\\.[0-4](\\.[0-9]+)*">>,[restart_new_emulator]}], %% 17.0-17.5
[{<<"2\\.[5-8](\\.[0-9]+)*">>,[restart_new_emulator]}, % OTP-18.*
{<<"2\\.[0-4](\\.[0-9]+)*">>,[restart_new_emulator]}], % 17.0-17.5
%% Down to - max one major revision back
[{<<"2\\.[0-4](\\.[0-9]+)*">>,[restart_new_emulator]}] %% 17.0-17.5
[{<<"2\\.[5-8](\\.[0-9]+)*">>,[restart_new_emulator]}, % OTP-18.*
{<<"2\\.[0-4](\\.[0-9]+)*">>,[restart_new_emulator]}] % 17.0-17.5
}.
Binary file modified bootstrap/lib/stdlib/ebin/supervisor.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/unicode.beam
Binary file not shown.
Binary file modified bootstrap/lib/stdlib/ebin/zip.beam
Binary file not shown.
186 changes: 186 additions & 0 deletions erts/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,192 @@
<p>This document describes the changes made to the ERTS application.</p>


<section><title>Erts 7.3</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The '-path' flag to 'erl' has been documented. This flag
replaces the path specified in the boot script. It has
always existed, but was earlier only documented in SASL
(script).</p>
<p>
Own Id: OTP-13060</p>
</item>
<item>
<p>
The <c>call_time</c> tracing functionality internally
used a time based on OS system time in order to measure
call time which could cause erroneous results if OS
system time was changed during tracing.</p>
<p>
This functionality now use Erlang monotonic time in order
to measure time. Besides fixing the erroneous results due
to OS system time being used, the results are often also
better since Erlang monotonic time often has better
accuracy and precision.</p>
<p>
Own Id: OTP-13216</p>
</item>
<item>
<p>
Fix behaviour of -delay_write command line switch of
epmd, which is used for debugging - in some cases epmd
was sleeping twice the requested amount of time.</p>
<p>
Own Id: OTP-13220</p>
</item>
<item>
<p>
Fix race between timeout and exit signal that could cause
a process to ignore the exit signal and continue
execution. Bug exist since OTP 18.0.</p>
<p>
Own Id: OTP-13245</p>
</item>
<item>
<p>
Fix bug in <c>erlang:halt/1,2</c> for large exit status
values, causing either <c>badarg</c> (on 32-bit) or exit
with a crash dump and/or core dump (on 64-bit). Make
<c>erlang:halt/1,2</c> tolerate any non negative integer
as exit status and truncate high order bits if the OS
does not support it.</p>
<p>
Own Id: OTP-13251 Aux Id: ERL-49 </p>
</item>
<item>
<p>
<seealso
marker="kernel:gen_tcp#accept/2"><c>gen_tcp:accept/2</c></seealso>
was not <seealso
marker="erts:time_correction#Time_Warp_Safe_Code">time
warp safe</seealso>. This since it used the same time as
returned by <seealso
marker="erts:erlang#now/0"><c>erlang:now/0</c></seealso>
when calculating timeout. This has now been fixed.</p>
<p>
Own Id: OTP-13254 Aux Id: OTP-11997, OTP-13222 </p>
</item>
<item>
<p>
Fix faulty error handling when writing to a compressed
file.</p>
<p>
Own Id: OTP-13270</p>
</item>
<item>
<p>
Fix sendfile usage for large files on FreeBSD</p>
<p>
Own Id: OTP-13271</p>
</item>
<item>
<p>
Fix bug that could cause
<c>process_info(P,current_location)</c> to crash emulator
for hipe compiled modules.</p>
<p>
Own Id: OTP-13282 Aux Id: ERL-79 </p>
</item>
<item>
<p>
Out of memory errors have been changed to cause an exit
instead of abort.</p>
<p>
Own Id: OTP-13292</p>
</item>
<item>
<p>
When calling <c>garbage_collect/[1,2]</c> or
<c>check_process_code/[2,3]</c> from a process with a
higher priority than the priority of the process operated
on, the run queues could end up in an inconsistent state.
This bug has now been fixed.</p>
<p>
Own Id: OTP-13298 Aux Id: OTP-11388 </p>
</item>
<item>
<p>
A workaround for an issue with older gcc versions (less
than 5) and inline assembly on 32-bit x86 caused an
emulator crash when it had been compiled with a newer gcc
version. An improved <c>configure</c> test, run when
building OTP, now detects whether the workaround should
be used or not.</p>
<p>
Own Id: OTP-13326 Aux Id: ERL-80 </p>
</item>
</list>
</section>


<section><title>Improvements and New Features</title>
<list>
<item>
<p>Introduced new statistics functionality in order to
more efficiently retrieve information about run able and
active processes and ports. For more information see:</p>
<list> <item><seealso
marker="erlang#statistics_total_run_queue_lengths"><c>statistics(total_run_queue_lengths)</c></seealso></item>
<item><seealso
marker="erlang#statistics_run_queue_lengths"><c>statistics(run_queue_lengths)</c></seealso></item>
<item><seealso
marker="erlang#statistics_total_active_tasks"><c>statistics(total_active_tasks)</c></seealso></item>
<item><seealso
marker="erlang#statistics_active_tasks"><c>statistics(active_tasks)</c></seealso></item>
</list>
<p>
Own Id: OTP-13201</p>
</item>
<item>
<p>
Time warp safety improvements.</p>
<p>
Introduced the options <c>monotonic_timestamp</c>, and
<c>strict_monotonic_timestamp</c> to the trace,
sequential trace, and system profile functionality. This
since the already existing <c>timestamp</c> option is not
time warp safe.</p>
<p>
Introduced the option <c>safe_fixed_monotonic_time</c> to
<c>ets:info/2</c> and <c>dets:info/2</c>. This since the
already existing <c>safe_fixed</c> option is not time
warp safe.</p>
<p>
Own Id: OTP-13222 Aux Id: OTP-11997 </p>
</item>
<item>
<p>
Fix a register race where down nodes goes undetected in
epmd</p>
<p>
Own Id: OTP-13301</p>
</item>
<item>
<p>
Improved the gcc inline assembly implementing double word
atomic compare and exchange on x86/x86_64 so that it also
can be used when compiling with clang.</p>
<p>
Own Id: OTP-13336</p>
</item>
<item>
<p>
An optimization preventing a long wait for a scheduler
thread looking up information about a process executing
on another scheduler thread had unintentionally been lost
in erts-5.10 (OTP R16A). This optimization has now been
reintroduced.</p>
<p>
Own Id: OTP-13365 Aux Id: OTP-9892 </p>
</item>
</list>
</section>

</section>

<section><title>Erts 7.2.1</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
Binary file modified erts/preloaded/ebin/erl_prim_loader.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/erlang.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/erts_internal.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/init.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/otp_ring0.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/prim_eval.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/prim_file.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/prim_inet.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/prim_zip.beam
Binary file not shown.
Binary file modified erts/preloaded/ebin/zlib.beam
Binary file not shown.
2 changes: 1 addition & 1 deletion erts/vsn.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# %CopyrightEnd%
#

VSN = 7.2.1
VSN = 7.3

# Port number 4365 in 4.2
# Port number 4366 in 4.3
Expand Down
27 changes: 27 additions & 0 deletions lib/asn1/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,33 @@
<p>This document describes the changes made to the asn1 application.</p>


<section><title>Asn1 4.0.2</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
When compiling to the PER format, the ASN.1 compiler
would crash when attempting to compile an ASN.1 module
with a constrained INTEGER with more than 65536 values
and named values. (Thanks to Ingars for reporting this
bug.)</p>
<p>
Own Id: OTP-13257</p>
</item>
<item>
<p>The ASN.1 compiler will now emit Dialyzer suppressions
for improper lists. Thus, there is no longer any need to
use <c>--Wno_improper_lists</c> when analyzing modules
generated by the ASN.1 compiler.</p>
<p>
Own Id: OTP-13324</p>
</item>
</list>
</section>

</section>

<section><title>Asn1 4.0.1</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ASN1_VSN = 4.0.1
ASN1_VSN = 4.0.2
Loading

0 comments on commit d9318b5

Please sign in to comment.