Skip to content

Commit ef867df

Browse files
committed
Merge branch 'maint' into master
* maint: Updated OTP version Prepare release Update copyright year
2 parents 3749221 + 6bf99d6 commit ef867df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+675
-60
lines changed

erts/doc/notes.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,90 @@ limitations under the License.
2121

2222
This document describes the changes made to the ERTS application.
2323

24+
## Erts 15.2
25+
26+
### Fixed Bugs and Malfunctions
27+
28+
- `gen_sctp:peeloff/2` has been fixed to inherit socket options to the peeled off socket more like `gen_tcp:accept/1`, for example the options `tos` or `tclass`.
29+
30+
When setting SCTP options that are unsupported on the platform, some should be silently ignored, but a bug caused the option parsing to derail so the options after could bail out and cause an error instead. This has been fixed.
31+
32+
Own Id: OTP-19225 Aux Id: [PR-8789]
33+
34+
- Fixed a bug where Erlang would corrupt the terminal settings if stdin was a TTY but stdout was not.
35+
36+
Own Id: OTP-19232 Aux Id: [PR-8794], [GH-8487]
37+
38+
- Fixed a bug in the non-JIT VM when loading a NIF over a function that is already traced by more than one session. This caused a VM crash. This bug has existed since OTP-27.0, where multiple trace sessions were introduced.
39+
40+
Own Id: OTP-19248 Aux Id: [PR-8856]
41+
42+
- Fixed a bug where the loading of modules with extremely large binary construction instructions crashed the emulator on AArch64.
43+
44+
Own Id: OTP-19261 Aux Id: [GH-8815], [PR-8816]
45+
46+
- [`inet:getifaddrs/0,1`](`inet:getifaddrs/1`) is improved when using
47+
inet_backend = socket.
48+
49+
Own Id: OTP-19264
50+
51+
- `win32reg:value/2` will no longer crash the emulator when the value is an unterminated REG_SZ of size 0.
52+
53+
Own Id: OTP-19283 Aux Id: [GH-8903], [PR-8912]
54+
55+
- `Makefile` dependency generation on Windows in WSL 2 has been corrected.
56+
57+
Own Id: OTP-19300 Aux Id: [PR-8955]
58+
59+
- Fix lock order violation if a NIF monitor `down` callback calls `enif_whereis_pid`. Would cause debug emulator to crash but could potentially lead to deadlocks in optimized emulator.
60+
61+
Own Id: OTP-19330 Aux Id: [GH-8983], [PR-9008]
62+
63+
- Fixed compilation faults when compiling using `--enable-vm-probes`.
64+
65+
Own Id: OTP-19333
66+
67+
- Fixed `erl_nif.h` on Windows to compile when gcc or clang is used.
68+
69+
Own Id: OTP-19341 Aux Id: [PR-9016]
70+
71+
- Fixed a minor issue in the JIT debug information that confused tools like GDB and perf.
72+
73+
Own Id: OTP-19362 Aux Id: [PR-9003]
74+
75+
[PR-8789]: https://github.com/erlang/otp/pull/8789
76+
[PR-8794]: https://github.com/erlang/otp/pull/8794
77+
[GH-8487]: https://github.com/erlang/otp/issues/8487
78+
[PR-8856]: https://github.com/erlang/otp/pull/8856
79+
[GH-8815]: https://github.com/erlang/otp/issues/8815
80+
[PR-8816]: https://github.com/erlang/otp/pull/8816
81+
[GH-8903]: https://github.com/erlang/otp/issues/8903
82+
[PR-8912]: https://github.com/erlang/otp/pull/8912
83+
[PR-8955]: https://github.com/erlang/otp/pull/8955
84+
[GH-8983]: https://github.com/erlang/otp/issues/8983
85+
[PR-9008]: https://github.com/erlang/otp/pull/9008
86+
[PR-9016]: https://github.com/erlang/otp/pull/9016
87+
[PR-9003]: https://github.com/erlang/otp/pull/9003
88+
89+
### Improvements and New Features
90+
91+
- Improved documentation of [timers](time_correction.md#timers).
92+
93+
Own Id: OTP-19360 Aux Id: ERIERL-1149, [PR-9062]
94+
95+
- The label for a process can now be retrieved also using `process_info(Pid, label)` in addition to `proc_lib:get_label/1`.
96+
97+
This new option is useful when one wants to retrieve more than one process info item. For example:
98+
99+
```
100+
process_info(Pid, [label,registered_name])
101+
```
102+
103+
Own Id: OTP-19373 Aux Id: [PR-9108]
104+
105+
[PR-9062]: https://github.com/erlang/otp/pull/9062
106+
[PR-9108]: https://github.com/erlang/otp/pull/9108
107+
24108
## Erts 15.1.3
25109

26110
### Fixed Bugs and Malfunctions

erts/emulator/beam/dist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 1996-2023. All Rights Reserved.
4+
* Copyright Ericsson AB 1996-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/beam/erl_drv_nif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 2010-2022. All Rights Reserved.
4+
* Copyright Ericsson AB 2010-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/beam/erl_nif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 2009-2023. All Rights Reserved.
4+
* Copyright Ericsson AB 2009-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/beam/erl_term.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 2000-2023. All Rights Reserved.
4+
* Copyright Ericsson AB 2000-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/beam/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 1996-2022. All Rights Reserved.
4+
* Copyright Ericsson AB 1996-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/drivers/win32/registry_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 1997-2021. All Rights Reserved.
4+
* Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/sys/unix/erl_child_setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 2002-2023. All Rights Reserved.
4+
* Copyright Ericsson AB 2002-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/sys/unix/sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 1996-2023. All Rights Reserved.
4+
* Copyright Ericsson AB 1996-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

erts/emulator/sys/win32/sys_env.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* %CopyrightBegin%
33
*
4-
* Copyright Ericsson AB 2002-2021. All Rights Reserved.
4+
* Copyright Ericsson AB 2002-2024. All Rights Reserved.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)