From b6dc1a844eab061d0a7153d46e7e68296f15a504 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 4 Oct 2011 12:06:58 +0200 Subject: Prepare release --- erts/doc/src/notes.xml | 338 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 338 insertions(+) (limited to 'erts') diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index 9bba5e2cf7..4cef9669dd 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -30,6 +30,344 @@

This document describes the changes made to the ERTS application.

+
Erts 5.8.5 + +
Fixed Bugs and Malfunctions + + +

+ Several bugs concerning constant binary constructions + such as <<0:4294967295>> have been corrected. + Depending on the actual size of the binary and the type + of run-time system (32-bit, halfword, 64-bit), such + expression could either crash the run-time system or make + the loader refuse loading of the module.

+

+ Own Id: OTP-9284

+
+ +

+ The Erlsrv utility failed to stop the erlang machine if + no StopAction was defined when the service was stopped. + This is now corrected.

+

+ Own Id: OTP-9344

+
+ +

+ Due to a bug in glibc the runtime system could abort + while trying to destroy a mutex. A fix for this was + introduced in R14B02. This fix did, however, not solve + the problem. The runtime system will now issue a warning + instead of aborting.

+

+ Own Id: OTP-9373 Aux Id: OTP-9009

+
+ +

+ Replace atom in DRV macro in prim_file with string

+

+ An experimental version of Dialyzer discovered that the + atom that replaced the DRV macro in prim_file ends up in + calls to erlang:open_port({spawn, Driver}, Portopts) as + the Driver argument. The documentation states that this + call requires a string there.

+

+ This change is also consistent with the one introduced in + commit 0f03b1e9d2bef3bc830c31a369261af4c5234727 by Kostis + Sagonas.

+

+ Own Id: OTP-9377

+
+ +

+ Fix typos in the epmd documentation (Thanks to Holger + Weiß )

+

+ Own Id: OTP-9387

+
+ +

+ Fix faulty integer terms created by NIF API from 64-bit + integers on halfword emulator. (Thanks to Paolo Negri and + Paul Davis)

+

+ Own Id: OTP-9394

+
+ +

+ Fix epmd crash on vxworks caused by faulty + argument to select() system call.

+

+ Own Id: OTP-9427 Aux Id: seq11855

+
+ +

+ The ets:test_ms function could in rare cases truncate the + error messages. This is now corrected.

+

+ Own Id: OTP-9435

+
+ +

+ Fix bug related to hibernate and HiPE (clear + F_HIBERNATE_SCHED flag)

+

+ F_HIBERNATE_SCHED flag that was introduced in + b7ecdcd1ae9e11b8f75e must be cleared in hipe_mode_switch + as well. Otherwise, processes running HiPE code that + hibernate, wake up and then trap into a BIF will not be + rescheduled.(Thanks to Paul Guyot)

+

+ Own Id: OTP-9452

+
+ +

+ Fix bug in FreeBSD topology detection code (Thanks to + Paul Guyot)

+

+ Own Id: OTP-9453

+
+ +

+ Fix use of logical operator && with constant + operand instead of bitwise & (Thanks to Cristian + Greco)

+

+ Own Id: OTP-9454

+
+ +

+ inet: error if fd does not match socket domain

+

+ If an IPv4 fd is opened as an IPv6 socket, unexpected + behaviour can occur. For example, if an IPv4 UDP socket + is opened and passed into Erlang as an IPv6 socket, the + first 3 bytes (corresponding to 1 byte representing the + protocol family, 2 bytes set to the port) are stripped + from the payload. The cause of the UDP payload truncation + happens in inet_drv.c:packet_inet_input when a call to + inet_get_address fails silently because the family is set + to PF_INET6 but the buffer len is the size of an IPv4 + struct sockaddr_in.

+

+ (Thanks to Andrew Tunnell-Jones for finding the bug and + the test case!)

+

+ Own Id: OTP-9455

+
+ +

+ erts: use a union to avoid strict aliasing issues

+

+ Use a union for pointer type conversion to avoid compiler + warnings about strict-aliasing violations with gcc-4.1. + gcc >= 4.2 does not emit the warning. erts: adapt + matrix_nif to R14 erl_nif API changes (Thanks To Tuncer + Ayaz)

+

+ Own Id: OTP-9487

+
+ +

+ fix 64-bit issues in the garbage collection (Thanks to + Richard Carlsson)

+

+ Own Id: OTP-9488

+
+ +

+ epmd: fix compiler warnings

+

+ Suppress compiler warnings about ignored return values. + (Thanks to Michael Santos )

+

+ Own Id: OTP-9500

+
+ +

+ Fix non-existing function (erlang:disconnect/1) in + distributed reference manual (Thanks to Fabian Król)

+

+ Own Id: OTP-9504

+
+ +

+ Document fdatasync -lrt requirement (SunOS <= 5.10) + (Thanks to Tuncer Ayaz)

+

+ Own Id: OTP-9512

+
+ +

+ Let epmd ignore empty ERL_EPMD_ADDRESS

+

+ If the environment variable ERL_EPMD_ADDRESS is set to + the empty string, empd now behaves like it does by + default when ERL_EPMD_ADDRESS is unset. That is, in this + case, epmd now listens on all available interfaces + instead of using only the loopback interface, which + happened because epmd added the loopback address to the + (in this case empty) list of addresses specified via + ERL_EPMD_ADDRESS.

+

+ Also, epmd now ignores ERL_EPMD_ADDRESS if it contains + only separator characters (comma and space).

+

+ The same applies to epmd's -address option.(Thanks to + Holger Weiß)

+

+ Own Id: OTP-9525

+
+ +

+ Remove dead code in erl_compile (Thanks to Tuncer Ayaz)

+

+ Own Id: OTP-9527

+
+ +

+ Add erlang:external_size/2 BIF

+

+ This BIF's second parameter is a list of options. + Currently the only allowed option is {minor_version, + Version} where version is either 0 (default) or 1. + (Thanks to Filipe David Manana )

+

+ Own Id: OTP-9528

+
+ +

+ Fix enif_compare on 64bits machines

+

+ In 64bits machines the Sint type has a size of 8 bytes, + while on 32bits machines it has a 4 bytes size. + enif_compare was ignoring this and therefore returning + incorrect values when the result of the CMP function + (which returns a Sint value) doesn't fit in 4 bytes. + (Thanks to Filipe David Manana)

+

+ Own Id: OTP-9533

+
+ +

+ Implement or fix -Werror option

+

+ If -Werror is enabled and there are warnings no output + file is written. Also make sure that error/warning + reporting is consistent. (Thanks to Tuncer Ayaz)

+

+ Own Id: OTP-9536

+
+ +

In some rare cases we did not have a run queue when + scheduling misc ops. This is now fixed.

+

+ Own Id: OTP-9537

+
+ +

Remove misc. compiler warnings

+

+ Own Id: OTP-9542

+
+ +

+ Two bugs in gen_sctp has been corrected: getopts/setopts + hence also send could only be called from socket owner, + and options 'linger', 'rcvbuf' and 'sndbuf' was read from + wrong protocol layer hence read wrong values by getopts.

+

+ Own Id: OTP-9544

+
+ +

+ Erlang/OTP can now be built on MacOS X Lion.

+

+ Own Id: OTP-9547

+
+ +

XML files have been corrected.

+

+ Own Id: OTP-9550 Aux Id: OTP-9541

+
+ +

+ Fix potential errors inspired by running cppcheck(1) + (Thanks to Christian von Roques)

+

+ Own Id: OTP-9557

+
+ +

When auxiliary work was enqueued on a scheduler, the + wakeup of the scheduler in order to handle this work + could be lost. Wakeups in order to handle ordinary work + were not effected by this bug. The bug only effected + runtime systems with SMP support as follows:

+ Deallocation of some ETS data structures could be + delayed. On Linux systems not using the NPTL + thread library (typically ancient systems with kernel + versions prior to 2.6) and Windows systems, the {Port, + {exit_status, Status}} message from a terminating + port program could be delayed. That is, it only effected + port programs which had been started by passing + exit_status as an option to + open_port/2. +

+ Own Id: OTP-9567

+
+ +

+ Handle rare race in the crypto key server functionality

+

+ Own Id: OTP-9586

+
+
+
+ + +
Improvements and New Features + + +

Types and specifications have been added.

+

+ Own Id: OTP-9356

+
+ +

+ New allocator strategy "address order first fit". May + ease the emptying of memory carriers and thereby real + release of memory back to the OS.

+

+ Own Id: OTP-9424

+
+ +

+ The new erlang:check_old_code/1 BIF checks whether + a module has old code.

+

+ Own Id: OTP-9495

+
+ +

Update documentation and specifications of some of + the zlib functions.

+

+ Own Id: OTP-9506

+
+ +

+ Detect the available CPUs on IRIX

+

+ Add support for querying the number of configured and + online processors on SGI systems running IRIX.(Thanks to + Holger Weiß)

+

+ Own Id: OTP-9531

+
+
+
+ +
+
Erts 5.8.4
Fixed Bugs and Malfunctions -- cgit v1.2.3