Patch Package: OTP 26.2.4 Git Tag: OTP-26.2.4 Date: 2024-04-12 Trouble Report Id: OTP-18958, OTP-18960, OTP-18999, OTP-19013, OTP-19014, OTP-19015, OTP-19019, OTP-19021, OTP-19031, OTP-19034, OTP-19035, OTP-19036, OTP-19037, OTP-19038, OTP-19039, OTP-19040, OTP-19041, OTP-19043, OTP-19044, OTP-19045, OTP-19048, OTP-19049, OTP-19056, OTP-19058, OTP-19059, OTP-19060 Seq num: #8176, ERIERL-1043, ERIERL-1060, ERIERL-682, GH-7897, GH-7928, GH-7951, GH-7955, GH-8120, GH-8186, GH-8238, GH-8268, GH-8271, GH-8280, GH-8291, GH-8316, GH-8338, OTP-17323, PR-8220, PR-8248, PR-8275, PR-8277, PR-8284, PR-8297, PR-8312, PR-8342, PR-8343 System: OTP Release: 26 Application: asn1-5.2.2, common_test-1.26.2, compiler-8.4.3, crypto-5.4.2, debugger-5.3.4, diameter-2.3.2, erts-14.2.4, kernel-9.2.3, ssh-5.1.4, ssl-11.1.3, stdlib-5.2.2 Predecessor: OTP 26.2.3 Check out the git tag OTP-26.2.4, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- asn1-5.2.2 ------------------------------------------------------ --------------------------------------------------------------------- The asn1-5.2.2 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19039 Application(s): asn1 Related Id(s): GH-8291, PR-8297 An ASN.1 module that contains named BIT STRING values would fail to compiled if both the BER and JER back-ends were enabled. Full runtime dependencies of asn1-5.2.2: erts-11.0, kernel-7.0, stdlib-3.13 --------------------------------------------------------------------- --- common_test-1.26.2 ---------------------------------------------- --------------------------------------------------------------------- The common_test-1.26.2 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-18960 Application(s): common_test With this change, the last column in common_test testcase log file is modified to now show the total sum of each time in the table rows, and Elapsed Time which is a clock time spent to run above functions. The Elapsed Time is the same time that was previously a total. Full runtime dependencies of common_test-1.26.2: compiler-6.0, crypto-4.5, debugger-4.1, erts-7.0, ftp-1.0, inets-6.0, kernel-8.4, observer-2.1, runtime_tools-1.8.16, sasl-2.5, snmp-5.1.2, ssh-4.0, stdlib-4.0, syntax_tools-1.7, tools-3.2, xmerl-1.3.8 --------------------------------------------------------------------- --- compiler-8.4.3 -------------------------------------------------- --------------------------------------------------------------------- The compiler-8.4.3 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19019 Application(s): compiler In rare circumstances, the compiler code generate unsafe code for a bit syntax match. OTP-19035 Application(s): compiler Related Id(s): GH-8280, PR-8284 In rare circumstances, binary matches that were supposed to succeed failed. OTP-19045 Application(s): compiler Related Id(s): GH-8316 Fixed a bug where a fun's environment could be overridden by an argument if all of the following conditions were met: -- The fun was declared in the module that called it. -- The fun's target was statically known. -- The fun was called with a number of extra arguments equal to the number of environment variables. Full runtime dependencies of compiler-8.4.3: crypto-5.1, erts-13.0, kernel-8.4, stdlib-5.0 --------------------------------------------------------------------- --- crypto-5.4.2 ---------------------------------------------------- --------------------------------------------------------------------- The crypto-5.4.2 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19038 Application(s): crypto Related Id(s): GH-8271, PR-8277 Fix building with --enable-fips with OpenSSL 3 on MacOS. Full runtime dependencies of crypto-5.4.2: erts-9.0, kernel-5.3, stdlib-3.9 --------------------------------------------------------------------- --- debugger-5.3.4 -------------------------------------------------- --------------------------------------------------------------------- The debugger-5.3.4 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-18958 Application(s): debugger Related Id(s): GH-8120, PR-8275 Guards with nested record expression could wrongly evaluate to false. Full runtime dependencies of debugger-5.3.4: compiler-8.0, erts-12.0, kernel-8.0, stdlib-3.15, wx-2.0 --------------------------------------------------------------------- --- diameter-2.3.2 -------------------------------------------------- --------------------------------------------------------------------- The diameter-2.3.2 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19040 Application(s): diameter Related Id(s): ERIERL-1060 Reduce the impact of calling service_info by not counting the binaries (on the heap) info, This is done by introducing an option, bins_info, which controls this. Full runtime dependencies of diameter-2.3.2: erts-10.0, kernel-3.2, ssl-9.0, stdlib-5.0 --------------------------------------------------------------------- --- erts-14.2.4 ----------------------------------------------------- --------------------------------------------------------------------- The erts-14.2.4 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-18999 Application(s): erts Related Id(s): GH-7928 Fixed CPU quota determination for cgroup version 2 OTP-19014 Application(s): erts Fix faulty reduction counting in exiting process which could cause it to do unnecessary yielding. OTP-19015 Application(s): erts Related Id(s): ERIERL-682 Fix bug in re:run/3 where if an invalid UTF-8 subject was given, re:run could get stuck in an infinite loop. Bug was introduced in Erlang/OTP 22.1. OTP-19021 Application(s): erts Related Id(s): GH-8238, PR-8248 On AArch64 (ARM64), Erlang code using bit syntax construction compiled using Erlang/OTP 24 could crash the runtime system when run in Erlang/OTP 26.2.3. OTP-19034 Application(s): erts Calling erlang:trace/3 with first argument one of ports, processes, existing_ports, existing_processes, existing or all, could cause emulator crash if a dirty scheduler was executing a simultaneous trace action. OTP-19036 Application(s): erts Related Id(s): GH-8186 Fixed an integer overflow when the monotonic time unit reported by the operating system was greater than 10 and lower than 100 microseconds. OTP-19041 Application(s): erts Fix option reuseaddr for FreeBSD 14 OTP-19043 Application(s): erts Related Id(s): PR-8342 When a traced process executing on a dirty scheduler received an exit signal, the dirty scheduler could use the wrong thread specific data which could lead to a crash. OTP-19048 Application(s): erts Related Id(s): PR-8343 Fixed a more or less harmless bug that caused time correction of Erlang monotonic time to become slightly off on Windows platforms when QueryPerformanceCounter() was used as OS monotonic time source. erlang:system_info(os_monotonic_time_source) now also returns information about used resolution which not always corresponds to the resolution of the OS monotonic time source. OTP-19049 Application(s): erts, kernel Related Id(s): #8176 When using IPv6, classic gen_udp failed to add (group) membership (drop was used instead). OTP-19060 Application(s): erts Fix bug on Windows where "Unknown event: 2" would be printed to the console. --- Improvements and New Features --- OTP-19044 Application(s): erts Related Id(s): ERIERL-1043, PR-8342 Checks for monotonicity of monotonic time have been improved so that Erlang and OS monotonic time are checked separately. A new configure argument --enable-ensure-os-monotonic-time has also been added. It enables functionality ensuring the monotonicity of monotonic timestamps delivered by the OS. When a non-monotonic timestamp is detected, it will be replaced by the last delivered monotonic timestamp before being used by Erlang's time functionality. Note that you do not want to enable this unless the OS monotonic time source on the system fails to produce monotonic timestamps. This since ensuring the monotonicity of OS monotonic timestamps will hurt scalability and performance of the system. OTP-19058 Application(s): erts For severe errors, when the `socket` module terminates the Erlang VM, now an erl_crash.dump is produced, to facilitate post mortem debugging. Full runtime dependencies of erts-14.2.4: kernel-9.0, sasl-3.3, stdlib-4.1 --------------------------------------------------------------------- --- kernel-9.2.3 ---------------------------------------------------- --------------------------------------------------------------------- The kernel-9.2.3 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19049 Application(s): erts, kernel Related Id(s): #8176 When using IPv6, classic gen_udp failed to add (group) membership (drop was used instead). OTP-19056 Application(s): kernel Related Id(s): PR-8312, OTP-17323 The check in inet_res of the RD bit has been relaxed slightly. Full runtime dependencies of kernel-9.2.3: crypto-5.0, erts-14.0, sasl-3.0, stdlib-5.0 --------------------------------------------------------------------- --- ssh-5.1.4 ------------------------------------------------------- --------------------------------------------------------------------- The ssh-5.1.4 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19013 Application(s): ssh Related Id(s): GH-7897, PR-8220 With this change, owner and group file attributes decoding is fixed and results with value of integer type. Full runtime dependencies of ssh-5.1.4: crypto-5.0, erts-14.0, kernel-9.0, public_key-1.6.1, runtime_tools-1.15.1, stdlib-5.0, stdlib-5.0 --------------------------------------------------------------------- --- ssl-11.1.3 ------------------------------------------------------ --------------------------------------------------------------------- The ssl-11.1.3 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19037 Application(s): ssl Related Id(s): GH-7951, GH-7955 Cleanup and close all connections in DTLS when the listen socket owner dies. Improved IPv6 handling in DTLS. OTP-19059 Application(s): ssl Related Id(s): GH-8338 Fixed a crash in dtls accept. Full runtime dependencies of ssl-11.1.3: crypto-5.0, erts-14.0, inets-5.10.7, kernel-9.0, public_key-1.11.3, runtime_tools-1.15.1, stdlib-4.1 --------------------------------------------------------------------- --- stdlib-5.2.2 ---------------------------------------------------- --------------------------------------------------------------------- The stdlib-5.2.2 application can be applied independently of other applications on a full OTP 26 installation. --- Fixed Bugs and Malfunctions --- OTP-19031 Application(s): stdlib Related Id(s): GH-8268 Attempting to use the maybe construct in a macro argument could crash the compiler. Full runtime dependencies of stdlib-5.2.2: compiler-5.0, crypto-4.5, erts-13.1, kernel-9.0, sasl-3.0 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------