Bug fix release : otp_src_R10B-2 Build from snapshot : 2004-12-15 This is a bug fix release 2 for the R10B release. You can download the full source distribution from http://www.erlang.org/download/otp_src_R10B-2.tar.gz http://www.erlang.org/download/otp_src_R10B-2.readme (this file) Note: To unpack the TAR archive you need a GNU TAR compatible program. For instance, on MacOS X you need to use the 'gnutar' command; you can't use the 'tar' command or StuffIt to unpack the sources. For installation instructions please read the README that is part of the distribution. The Windows binary distribution can be downloaded from http://www.erlang.org/download/otp_win32_R10B-2.exe The documentation at http://www.erlang.org will be updated. You can also download the complete HTML documentation or the Unix manual files http://www.erlang.org/download/otp_html_R10B-2.tar.gz http://www.erlang.org/download/otp_man_R10B-2.tar.gz For some OTP applications there are more detailed release notes in the HTML documentation. We also want to thank those that sent us patches, suggestions and bug reports, The OTP Team --- asn1 ------------------------------------------------------------ OTP-5240 Empty objects caused problems. There was trouble when an object set referenced imported objects that in turn referenced imported types. Lacked support of SelectionType in object. All these have been attended. OTP-5243 Now it is possible to inline asn1 run-time functionality in the module generated by the asn1 compiler. Thus, it will be only one module doing all encoding/decoding. --- crypto ------------------------------------------------------------ OTP-5279 Corrected error handling. If the port to the driver that crypto uses is unexpectedly closed (which should not happen during normal operation of crypto), crypto will terminate immediately (rather than crashing the next time crypto is used). Also corrected build problems on Mac OS X. --- compiler ------------------------------------------------------------ OTP-5091 Bugs concerning unused and shadowed variables have been fixed in the linter. OTP-5247 In rare cases, the compiler generated code for a tuple match that could crash the emulator if passed a term that was not a tuple. If a bit syntax construction failed within a catch, previously assigned variables could get the wrong value. The compiler now runs a validation pass on the generated code and aborts before writing a Beam file if any suspect code is found. In particular, the validation pass checks for incorrect code that may cause emulator crashes or other strange symptoms in the emulator (such as the previous two bugs). Some corrections to the unsupported feature parameterized modules by Richard Carlsson (HiPE). --- debugger ------------------------------------------------------------ OTP-5255 Package support has been added to the debugger. Thanks to Richard Carlsson (HiPE). OTP-5265 The debugger was updated to handle the debug format produced by latest version of the compiler (a minor change; the debug format of the previous releases are handled as well). --- erts/hipe --------------------------------------------------------- OTP-5250 Windows: Font and color preferences for werl.exe now can be saved even after the first time you run werl.exe. The window position and size is also saved. Thanks to James Hague who sent us a patch. OTP-5260 With the -eval flag (erl -eval Expr), an arbitrary expression can be evaluated during system initialization. This is documented in init(3). OTP-5262 Corrected a crash in the 64-bits emulator. Corrected a problem in the hybrid heap emulator. In the chapter about the abstract format in the ERTS User's Guide, updated the last section about how the abstract format is stored in BEAM files. OTP-5264 Improvements and and bug fixes to the hipe application to better support Dialyzer. On Mac OS X, OTP can now be compiled with native code support (give the '--enable-hipe' flag to 'configure'). OTP-5274 OTP archive libraries, e.g. the erl_interface library, on MacOSX could not be used without first rerunning ranlib on them. This bug has now been fixed. OTP-5280 The maximum number of concurrent threads in the internal ethread thread package has been limited to 2048. OTP-5292 Bugs in erlang:hash/2 and erlang:phash/2 on 64-bit platforms have been fixed. --- inets ------------------------------------------------------------ OTP-5101 A programming error could cause a badmatch in the http-client when the http response was chunk decoded. OTP-5239 The parsing of HTTP messages was missing a base case. This caused unexpected behavior when the separator CR and LF where received in different tcp packets. --- kernel ------------------------------------------------------------ OTP-5232 The size of continuations returned from dets:match/1,3, dets:match_object/1,3, and dets:select/1,3 has been reduced. This affects the amount of data Mnesia sends between nodes while evaluating QLC queries. OTP-5260 With the -eval flag (erl -eval Expr), an arbitrary expression can be evaluated during system initialization. This is documented in init(3). OTP-5266 The unsupported, undocumented and buggy modules socks5, socks5_auth, socks5_tcp, and socks5_udp in the kernel application have been removed. OTP-5292 Bugs in erlang:hash/2 and erlang:phash/2 on 64-bit platforms have been fixed. --- megaco ------------------------------------------------------------ OTP-5290 The text decoders failed to decode the contextRequest with a contextAudit (ContextAttrAuditRequest). --- snmp ------------------------------------------------------------ OTP-5256 [manager] Some basic SNMP types where not handled when performing set-requests (snmpm:s and snmpm:as): 'BITS' (b), 'IpAddress' (ip), 'Opaque' (op), 'Counter32' (c32), 'Counter64' (c64) and 'TimeTicks' (tt). OTP-5258 [manager] Unnecessary error message when receiving trap from unregistered agent or agent using other port then the request port for trap-sending. OTP-5267 [manager] The timeout calculation for the request gc timer incorrect. --- stdlib ------------------------------------------------------------ OTP-5091 Bugs concerning unused and shadowed variables have been fixed in the linter. OTP-5232 The size of continuations returned from dets:match/1,3, dets:match_object/1,3, and dets:select/1,3 has been reduced. This affects the amount of data Mnesia sends between nodes while evaluating QLC queries. OTP-5237 A bug in the evaluator that caused the shell to choke on bit syntax expressions has been fixed. OTP-5269 Bugs in the handling of the bit syntax have been fixed in the Erlang shell. OTP-5277 gb_sets:del_element/2 was changed to do the same as gb_sets:delete_any/2 (which was the original intention), not as gb_sets:delete/2. Code that relies on gb_sets:del_element/2 causing an error if the element does not exist must be changed to call gb_sets:delete/2 instead. The documentation was also updated to explicitly document functions that were only referered to as 'aliases' of a documented function. Also, a list of all functions common to the gb_sets, sets, and ordsets was added. OTP-5292 Bugs in erlang:hash/2 and erlang:phash/2 on 64-bit platforms have been fixed. --- tv --------------------------------------------------------------- OTP-5219 tv no longer crashes on Mac OS X. Thanks to Sean Hinde who sent us a patch.