diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index 0363f0237ed5..7fc61517a8cf 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -30,6 +30,335 @@
This document describes the changes made to the ERTS application.
+
+ Threads created internally in the runtime system by
+ vanilla, fd, and spawn drivers on Windows systems could
+ make thread unsafe calls to
+ Own Id: OTP-10802
++ Threads created internally in the runtime system by the + vanilla, fd, and spawn drivers on Windows systems could + make unsafe memory accesses to driver data after port had + terminated.
++ Own Id: OTP-10803
++ The runtime system could crash when flushing data to + standard out or standard error on Windows.
++ Own Id: OTP-10807
+Bugs due to the port optimizations introduced in + erts-5.10/OTP-R16A have been fixed:
+ Own Id: OTP-10809 Aux Id: OTP-10336
+
+ Fix
+ Own Id: OTP-10824
++ Fix rounding issues in float_to_list/1,2. Thanks to Serge + Aleynikov
++ Own Id: OTP-10837
++ Fix memory leak in file driver introduced in R16A.
++ Own Id: OTP-10841
+A bug in an ERTS internal queue implementation could + cause the loss of a wake up signal to a consumer thread. + This has now been fixed.
+The effect of this bug, when triggered, was often only + a small or even no delay of certain operations. This + since, threads often are woken due to other unrelated + reasons. However, if the consumer thread was not woken + due to other reasons when the bug was triggered, these + operations could be left hanging, potentially for ever. + Such effects seems to have been very rare, but we have on + at least one occasion gotten a report about such an + issue.
+Operations potentially effected by this bug:
++ Own Id: OTP-10854
++ OS X Snow Leopard now only uses write, as writev does not + work properly on very large files.
++ Own Id: OTP-10858
++ Fixed a bug where line oriented file I/O using read_ahead + was very slow for files with very large difference in + line length.
++ Own Id: OTP-10859
++ In erts-5.10 (R16A) faulty hashvalues were produced for + non-ASCII atoms (characters in byte-range 128..255). This + has now been fixed and hashvalues conforms to previous + OTP releases.
++ Own Id: OTP-10860
++ Fixes of memory accesses that might be thread unsafe when + the runtime system has been linked against third-party + libraries for atomic memory operations during the build. + Most builds are uneffected by this bug. If triggered, the + runtime system will most likely crash more or less + immediately.
++ Own Id: OTP-10875 Aux Id: OTP-10854
++ Fixed a bug where it was longer possible to give the +sws + proposal flag to non-smp emulators.
++ Own Id: OTP-10881 Aux Id: seq12258
++ Faulty type to bytes read for ReadFile on Windows. This + could cause windows systems to misbehave. The correct + type is now used.
++ Own Id: OTP-10890
+
+ Change default max ports for Windows to 8192. Having a
+ too large value caused Windows to not be able to recover
+ properly. If you want to use another value, pass
+ Own Id: OTP-10892
++ Fix rare crash on halfword vm during code loading.
++ Own Id: OTP-10896
++ Tuple funs (deprecated in R15B) are no longer supported.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-10170
+
+ Added four new bifs,
+ These bifs are auto-imported into erlang source files and
+ can therefore be used without the
+ Own Id: OTP-10300 Aux Id: kunagi-74 [74]
++ The experimental support for packages has been removed.
++ Own Id: OTP-10348 Aux Id: kunagi-316 [227]
+The driver API function
These functions are provided in order to better + support co-operative scheduling, improve system + responsiveness, and to make it easier to prevent + misbehaviors of the VM due to a process or port + monopolizing a scheduler thread. They can be used when + dividing lengthy work into a number of repeated calls + without the need to use threads.
++ Own Id: OTP-10810
++ The list_to_integer/2 bif has been optimized when used + with bases other than 10.
++ Own Id: OTP-10834 Aux Id: kunagi-74 [74]
++ The git commit sha of the HEAD commit is now added to the + Erlang shell when compiling a non-released Erlang + version.
++ Own Id: OTP-10838
+Change caching policy for memory segment allocator. + For instance, prefer sbc segments over mbc segments, + caching policy is time-arrow aware, evicting older cached + segments to store newer segments.
The default
+ number of cachable segment has been increased from five
+ to ten segments. This can be modified, same as before,
+ with the command line option
Impact: Increased speed for processing on larger
+ objects, e.g. binaries. Slight increase of mapped and
+ resident memory. Tune your system with memory options to
+
+ Own Id: OTP-10840
++ Updated config.sub and config.guess to latest version + from gnu.org
++ Own Id: OTP-10848
++ Add an xcomp file for Blue Gene/Q. Thanks to Kostis + Sagonas.
++ Own Id: OTP-10849
++ Cleanup of documentation of the type language. Thanks to + Kostis Sagonas.
++ Own Id: OTP-10850
++ Change the return value of hipe_bifs:remove_refs_from/1. + Thanks to Kostis Sagonas.
++ Own Id: OTP-10851
++ As of ERTS-5.10/OTP-R16A node names passed in the EPMD + protocol are required to be encoded in UTF-8. Since EPMD + previously accepted latin1 encoded node names this is an + incompatibility. However, since Erlang nodes always have + required characters in node names to be 7-bit ASCII + characters (and still do require this), this + incompatibility should not effect anyone using EPMD as an + Erlang Port Mapper Daemon.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-10872 Aux Id: OTP-10753
++ The +pc flag to erl can be used to set the range of + characters considered printable. This affects how the + shell and io:format("~tp",...) functionality does + heuristic string detection. More can be read in STDLIB + users guide.
++ Own Id: OTP-10884
++ Fix a number of type cast errors related to formatted + printing on Win64 that can potentially cause problem when + the Erlang VM exceeds 4 GB of ram. (Thanks to Blaine + Whittle for the original patch)
++ Own Id: OTP-10887
++ The effect of the deprecated environment variable + ERL_MAX_PORTS had been removed premeturely. It has now + been readded. Note that this is still scheduled to be + released in R17B.
++ Own Id: OTP-10895
+This document describes the changes made to the asn1 application.
++ Fixed broken table constraints within a SET OF or + SEQUENCE OF for the BER backend.
++ Own Id: OTP-10853 Aux Id: seq12245
++ If an event handler installed in the CT Master event + manager took too long to respond during the termination + phase, CT Master crashed because of a timeout after 5 + secs. This would leave the system in a bad state. The + problem has been solved by means of a 30 min timeout + value and if CT Master gets a timeout after that time, it + now kills the event manager and shuts down properly.
++ Own Id: OTP-10634 Aux Id: kunagi-347 [258]
++ Printing with any of the ct printout functions from an + event handler installed by Common Test, would cause a + deadlock. This problem has been solved.
++ Own Id: OTP-10826 Aux Id: seq12250
++ Using the force_stop flag/option to interrupt a test run + caused a crash in Common Test. This problem has been + solved.
++ Own Id: OTP-10832
++ Removed depricated run_test program, use ct_run instead.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-9052
++ Test case execution time increases with size of test run.
++ Own Id: OTP-10855
+This document describes the changes made to the Compiler application.
++ The compiler would crash attempting to compile + expressions such as "element(2, not_tuple)".
++ Own Id: OTP-10794
++ Forbid multiple values in Core Erlang sequence arguments. + Thanks to José Valim and Anthony Ramine.
++ Own Id: OTP-10818
++ An unsafe optimization would cause the compiler to crash + with an internal error for certain complex code + sequences.
++ Own Id: OTP-10825 Aux Id: seq12247
+Integers in expression that will give a floating point
+ result (such as "
Identical floating points constans in a module will + now be coalesced to one entry in the constant pool.
++ Own Id: OTP-10788
+This document describes the changes made to the Debugger application.
++ The +pc flag to erl can be used to set the range of + characters considered printable. This affects how the + shell and io:format("~tp",...) functionality does + heuristic string detection. More can be read in STDLIB + users guide.
++ Own Id: OTP-10884
+This document describes the changes made to the Dialyzer application.
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
++ User defined types with same name and different arity and + documentation inconsistencies. Thanks Stavros Aronis.
++ Own Id: OTP-10861
++ Native code compilation changes. Thanks to Kostis + Sagonas.
++ Own Id: OTP-10865
++ Fix erroneous watchdog transition from DOWN to INITIAL.
++ This transition took place when a peer connection was + reestablished following a failed capabilities exchange. + RFC 3539 requires DOWN to transition into REOPEN.
++ Own Id: OTP-10692
++ Add application_opt() request_errors to make the handling + of incoming requests containing decode errors + configurable.
++ The value 'callback' ensures that a handle_request + callback takes place for all such requests, the default + being for diameter to answer 3xxx series errors itself.
++ Own Id: OTP-10686
++ Add transport_opt() length_errors.
++ The value determines how messages received over the + transport interface with an incorrect Message Length are + dealt with.
++ Own Id: OTP-10687
++ Add commentary on RFC 6733 to Standards Compliance + chapter of the User's Guide.
++ Own Id: OTP-10688
++ Allow a 5xxx result code in an answer-message on peer + connections using the RFC 6733 common dictionary.
++ RFC 6733 allows this while RFC 3588 does not. A + handle_request callback can return {answer_message, + 3000..3999|5000..5999} in the simplest case.
++ Own Id: OTP-10759
++ Add dictionaries for RFC 6733.
++ Both the common and accounting dictionaries differ from + their RFC 3588 counterparts, which is reflected in + generated record definitions. Application configuration + on a service or transport determines the dictionary that + will be used on a given peer connection.
++ Own Id: OTP-10760
++ Allow a handle_request callback to control diameter's + setting of Result-Code and Failed-AVP.
++ Setting errors = false in a returned #diameter_packet{} + disables the setting.
++ Own Id: OTP-10761
+This document describes the changes made to the EDoc application.
+EDoc sometimes failed to associate a comment with the + preceding type declaration. This bug has been fixed. + (Thanks to Serge Aleynikov for reporting the bug.)
++ Own Id: OTP-10866
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
+This document describes the changes made to the Erl_interface application.
+
+ Revert the structs
+ Own Id: OTP-10885 Aux Id: seq12256
+This document describes the changes made to HiPE.
++ Bug fixed in hipe to where it did not allow unicode code + points 16#FFFE and 16#FFFF in bit syntax in natively + compiled modules.
++ Own Id: OTP-10867
+
+ Fix bug in hipe compiled code related to the handling of
+
+ Own Id: OTP-10897
+
+ Revert the structs
+ Own Id: OTP-10885 Aux Id: seq12256
++ httpd: The modules option now defaults to the documented + value.
++ Own Id: OTP-10844
++ httpc: Fixed persistent connection implementation that + was broken by a patch to R13. The patch made persisten + connections behaved the same way as pipelining.
++ Own Id: OTP-10845
++ httpd: Simplified configuration of ssl in httpd, this + also enables all ssl options to be configured. The old + and limited way is no longer documented but will be + supported for backwards comatibility for some time.
++ Own Id: OTP-10846
++ Handle correctly the "No files found or file unavailable" + error code. Thanks to Serge Aleynikov
++ Own Id: OTP-10886
+This document describes the changes made to the Jinterface application.
++ Fixed a bug in OtpErlangTuple constructor. Thanks to Vlad + Dumitrescu.
++ Own Id: OTP-10819
++ Fixed finding cookie file on windows. Thanks to Vlad + Dumitrescu
++ Own Id: OTP-10821
++ Don't compress external binary format if this increases + the size. Thanks to Nico Kruber.
++ Own Id: OTP-10822
+This document describes the changes made to the Kernel application.
+ A bug that could cause a crash with wrong reason has
+ been corrected in the
+ Own Id: OTP-10754
+
+ Fix
+ Own Id: OTP-10870
+
+ Respect
+ Own Id: OTP-10879
++ Slightly nicer error message when node start fails due to + duplicate name. Thanks to Magnus Henoch.
++ Own Id: OTP-10797
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
++ Add a new function code:get_mode() can be used to detect + how the code servers behaves. Thanks to Vlad Dumitrescu
++ Own Id: OTP-10823
++ Fix type of error Reason on gen_tcp:send/2. Thanks to + Sean Cribbs.
++ Own Id: OTP-10839
++ Own Id: OTP-10852
+This document describes the changes made to the odbc application.
-+ Fixed calling odbc:param_query/3 and odbc:param_query/4 + with unparameterized query string and empty parameters + list. Thanks to Danil Onishchenko.
++ Own Id: OTP-10798
+This document describes the changes made to the Parsetools application.
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
+This document describes the changes made to the Pman application.
++ Tuple funs (deprecated in R15B) are no longer supported.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-10170
++ Some updates are made to reltool for handling unicode.
++ Own Id: OTP-10781
+This document describes the changes made to the SASL application.
++ Some updates are made to systools and release_handler for + handling of unicode.
++ Own Id: OTP-10782
++ Better quality on the error messages for when key + exchange failed.
++ Own Id: OTP-10553 Aux Id: seq12152
++ Fix link to documentation for ssh:connect/3,4. Thanks to + Martin Hässler.
++ Own Id: OTP-10862
+This document describes the changes made to the SSL application.
-+ Transport callback handling is changed so that gen_tcp is + treated as a special case where inet will be called + directly for functions such as setopts, as gen_tcp does + not have its own setopts. This will enable users to use + the transport callback for other customizations such as + websockets.
++ Own Id: OTP-10847
++ Follow up to OTP-10451 solved in ssl-5.2 R16A. Make sure + format_error return good strings. Replace confusing + legacy atoms with more descriptive atoms.
++ Own Id: OTP-10864
+This document describes the changes made to the STDLIB application.
+ Bugs related to Unicode have been fixed in the
+
+ Own Id: OTP-10622 Aux Id: kunagi-351 [262]
+(Thanks to Samuel Rivas and Tuncer Ayaz.)
+There is also an incompatible change to the
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-10812
+ The new STDLIB application variable
+
The control sequence modifier
+ Own Id: OTP-10755
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
+ Extend
+ Own Id: OTP-10836
++ The +pc flag to erl can be used to set the range of + characters considered printable. This affects how the + shell and io:format("~tp",...) functionality does + heuristic string detection. More can be read in STDLIB + users guide.
++ Own Id: OTP-10884
+This document describes the changes made to the Syntax_Tools application.
+Miscellaneous updates due to Unicode support.
++ Own Id: OTP-10820
+
+ The unicode update of test_server for R16A introduced a
+ few potential errors when logging to files. Sometimes ~tp
+ or ~ts was used for formatting also when writing to files
+ that were not opened with the {encoding,utf8} option. If
+ then the argument contained unicode characters above 255,
+ the file descriptor would crash. This has been corrected
+ by the following modifications:
+ Also, ~tp has been changed back to ~p unless it is + somehow likely that the argument includes strings. It is + not obvious that this is the correct thing to do, but + some decission had to be taken...
++ Own Id: OTP-10780
++ Using the force_stop flag/option to interrupt a test run + caused a crash in Common Test. This problem has been + solved.
++ Own Id: OTP-10832
+This document describes the changes made to the Tools application.
++ Fix a bug in cover when used with no_auto_import. Thanks + to José Valim.
++ Own Id: OTP-10778
+