summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated OTP versionOTP-24.3.4Erlang/OTP2022-05-022-1/+2
|
* Prepare releaseErlang/OTP2022-05-0219-21/+260
|
* Update copyright yearErlang/OTP2022-05-0231-31/+31
|
* Merge branch 'bmk/kernel/20220427/gen_tcp_socket_shutdown_24.3.3/OTP-18080' ↵Erlang/OTP2022-05-023-12/+50
|\ | | | | | | | | | | | | | | | | into maint-24 * bmk/kernel/20220427/gen_tcp_socket_shutdown_24.3.3/OTP-18080: [kernel|gen-tcp|test] Tweaked shutdown (api) test case(s) [kernel|gen-tcp-socket] Changed the behaviour of shutdown [erts|esock] Add caller pid to the initial debug printout for close
| * [kernel|gen-tcp|test] Tweaked shutdown (api) test case(s)Micael Karlberg2022-04-291-8/+28
| | | | | | | | OTP-18080
| * [kernel|gen-tcp-socket] Changed the behaviour of shutdownMicael Karlberg2022-04-291-1/+11
| | | | | | | | | | | | | | | | The behaviour of shutdown was changed to be more compatible with the "old" gen_tcp (that is, gen_tcp used with inet_backend = inet, which is *currently* default). OTP-18080
| * [erts|esock] Add caller pid to the initial debug printout for closeMicael Karlberg2022-04-291-3/+11
| | | | | | | | OTP-18080
* | Merge branch ↵Erlang/OTP2022-05-021-14/+31
|\ \ | | | | | | | | | | | | | | | | | | 'bmk/kernel/20220427/gen_tcp_socket_raw_option_24.3.3/OTP-18078' into maint-24 * bmk/kernel/20220427/gen_tcp_socket_raw_option_24.3.3/OTP-18078: [kernel] Fixed handling of raw option for gen-tcp-socket
| * | [kernel] Fixed handling of raw option for gen-tcp-socketMicael Karlberg2022-04-291-14/+31
| |/ | | | | | | | | | | | | When using inet-backend socket, getopts of the raw option failed badly. OTP-18078
* | Merge branch 'big-r81/epmd-nonfatal-loopback/OTP-17970' into maint-24Erlang/OTP2022-05-021-2/+18
|\ \ | | | | | | | | | | | | * big-r81/epmd-nonfatal-loopback/OTP-17970: epmd: don't fail if non-critical interfaces fail to bind
| * | epmd: don't fail if non-critical interfaces fail to bindJohn Eckersberg2022-04-291-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specifying bind address(es) via ERL_EPMD_ADDRESS or the -address option, epmd will bind to the IPv4/IPv6 loopback intefaces in addition to the user-supplied address(es). However, it is possible that one of the loopback interfaces does not exist. For example, if the host system has ipv6 disabled via the disable_ipv6 sysctl, there will be no loopback interface "::1", and attmepting to bind to "::1" will fail. Under these circumstances, log the failure but do not consider the failure to bind to the loopback interface as fatal. If any of the user-supplied addresses fail to bind, however, that is still considered fatal and epmd will terminate.
* | | Merge branch 'lukas/erts/fix-off-heap-change-gc/OTP-18075' into maint-24Erlang/OTP2022-05-022-8/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/erts/fix-off-heap-change-gc/OTP-18075: erts: Fix gc to fetch sig queue at mqd change # Conflicts: # erts/emulator/beam/erl_gc.c # erts/emulator/test/message_queue_data_SUITE.erl
| * | | erts: Fix gc to fetch sig queue at mqd changeLukas Larsson2022-04-272-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a process is changing from on heap to off heap message queue data, there may still be messages in the external queue with data on the heap. So we need to move all signals in the external queue to the internal queue before doing the GC. Closes #5933
* | | | Merge branch 'lukas/24/erts/fix-dist-fragment-exit-leak/OTP-18077' into maint-24Erlang/OTP2022-05-028-21/+433
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/24/erts/fix-dist-fragment-exit-leak/OTP-18077: erts: Fix faulty alloc assert on 32-bit erts: Add testcase for exit distr fragments erts: Fix size calculation of suspend monitor erts: Add etp-links for inspecting process links erts: Fix fragmented send to finish before exiting
| * \ \ \ Merge branch 'lukas/23/erts/fix-dist-fragment-exit-leak/OTP-18077' into ↵Lukas Larsson2022-05-018-21/+433
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | lukas/24/erts/fix-dist-fragment-exit-leak/OTP-18077
| | * | | Merge branch 'lukas/22/erts/fix-dist-fragment-exit-leak/OTP-18077' into ↵Lukas Larsson2022-04-308-20/+418
| | |\ \ \ | | | |_|/ | | |/| | | | | | | lukas/23/erts/fix-dist-fragment-exit-leak/OTP-18077
| | | * | erts: Fix faulty alloc assert on 32-bitLukas Larsson2022-04-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The total block size can be > 2 GB, so the ASSERT would trigger on working code. So we only check the blocks size on 64-bit systems.
| | | * | erts: Add testcase for exit distr fragmentsLukas Larsson2022-04-301-1/+165
| | | | |
| | | * | erts: Fix size calculation of suspend monitorLukas Larsson2022-04-271-0/+1
| | | | |
| | | * | erts: Add etp-links for inspecting process linksLukas Larsson2022-04-271-8/+182
| | | | |
| | | * | erts: Fix fragmented send to finish before exitingLukas Larsson2022-04-276-10/+50
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a process is suspended doing a fragmented send and then receives an exit signal it was terminated before it could finish sending the message leading to a memory leak on the receiving side. This change fixes that so that the message is allowed to finish being sent before the process exits. Closes #5876
* | | | Merge branch 'lukas/erts/remove-child-setup-assert' into maint-24Erlang/OTP2022-05-021-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * lukas/erts/remove-child-setup-assert: erts: Remove faulty child setup assert
| * | | | erts: Remove faulty child setup assertLukas Larsson2022-04-051-1/+0
| | |_|/ | |/| |
* | | | Merge branch 'lukas/22/erts/fix-localtime-tz-change/OTP-18076' into maint-24Erlang/OTP2022-05-024-42/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * lukas/22/erts/fix-localtime-tz-change/OTP-18076: erts: Fix localtime_r summer/winter-time change bug
| * | | | erts: Fix localtime_r summer/winter-time change bugLukas Larsson2022-04-194-42/+33
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to POSIX, localtime_r does not have to update the process internal tz data when called. So if time went from winter to summertime erts is running localtime_r may return an incorrect time. So we need to make sure to call tzset before each call to localtime_r. localtime is guaranteed to update the tz information, so no need to call it when using localtime.
* | | | Merge branch 'lukas/add-github-actions' into maint-24Erlang/OTP2022-05-023-9/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/add-github-actions: gh: Fix ubuntu base to use base argument gh: Use lastest lts ubuntu for build and tests gh: Fix debian base image
| * | | | gh: Fix ubuntu base to use base argumentLukas Larsson2022-04-221-1/+2
| | | | |
| * | | | gh: Use lastest lts ubuntu for build and testsLukas Larsson2022-04-221-1/+1
| | | | |
| * | | | gh: Fix debian base imageLukas Larsson2022-04-212-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | The wx webview package on debian seems to have been broken for cross installs, so we disable it for now.
* | | | | Merge branch 'bjorn/compiler/setelement/OTP-18082' into maint-24Erlang/OTP2022-05-021-4/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/compiler/setelement/OTP-18082: Fix incorrect optimization of setelement/3
| * | | | | Fix incorrect optimization of setelement/3Björn Gustavsson2022-04-291-4/+9
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `beam_call_types` would assume that a call to `setelement/3` would always fail for a tuple with known exact size and a position that could be both inside and outside the tuple. That would make the call to `setelement/3` tail-recursive and all code following the call would be ignored. This bug was introduced in 2ea04617d18b. It has already been fixed on the `master` branch (in #5820) with an updated test case. To avoid cumbersome merge conflicts, this commit don't include any test case.
* | | | | Merge branch 'sverker/24/erts/fix-factory-undo/OTP-18027' into maint-24Erlang/OTP2022-05-027-42/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/24/erts/fix-factory-undo/OTP-18027: erts: Make erts_factory_undo leave empty heap fragment erts: Fix bug in erts_factory_proc_prealloc_init erts: Ensure setting p->live_hf_end at first trap with disabled GC
| * \ \ \ \ Merge branch 'sverker/23/erts/fix-factory-undo' into ↵Sverker Eriksson2022-04-207-42/+51
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | sverker/24/erts/fix-factory-undo
| | * | | | erts: Make erts_factory_undo leave empty heap fragmentSverker Eriksson2022-04-201-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | if it was empty when we started.
| | * | | | erts: Fix bug in erts_factory_proc_prealloc_initSverker Eriksson2022-04-201-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | causing erts_factory_undo() to leave garbage in already existing heap fragment.
| | * | | | erts: Ensure setting p->live_hf_end at first trap with disabled GCSverker Eriksson2022-04-204-27/+35
| | |/ / /
* | | | | Merge branch 'kuba/inets/fix_all_handling_mod_esi/OTP-18069' into maint-24Erlang/OTP2022-05-022-31/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * kuba/inets/fix_all_handling_mod_esi/OTP-18069: inets: fix 'all' handling for erl_script_alias
| * | | | | inets: fix 'all' handling for erl_script_aliasJakub Witczak2022-04-222-31/+41
| |/ / / / | | | | | | | | | | | | | | | - convert Module string to a known atom before generating webpage
* | | | | Merge branch 'john/stdlib/fix-shell-docs-spec/OTP-18081' into maint-24Erlang/OTP2022-05-021-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * john/stdlib/fix-shell-docs-spec/OTP-18081: stdlib: Fix specs for shell_docs:get_type_doc/3 stdlib: Fix specs for shell_docs:get_doc/3 and get_callback_doc/3
| * | | | | stdlib: Fix specs for shell_docs:get_type_doc/3John Högberg2022-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... I missed this in the previous commit, and merged forward to `maint` and `master` before noticing it. :-(
| * | | | | stdlib: Fix specs for shell_docs:get_doc/3 and get_callback_doc/3John Högberg2022-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec said that `Metadata` must be the empty map, which is not what we meant.
* | | | | | Merge branch 'ingela/ssl/inet-backend/GH-5930/OTP-18071' into maint-24Erlang/OTP2022-05-023-36/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/ssl/inet-backend/GH-5930/OTP-18071: ssl: Remove is_port guards for sockets
| * | | | | | ssl: Remove is_port guards for socketsIngela Anderton Andin2022-04-273-36/+28
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sockets may have other types then port, remove these checks as it violates socket abstraction and breaks the code for gen_tcp sockets with new inet_backend. Closes #5930
* | | | | | Merge branch 'ingela/ssl/decode-cert-request-algs/GH-5835/OTP-18028' into ↵Erlang/OTP2022-05-022-18/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint-24 * ingela/ssl/decode-cert-request-algs/GH-5835/OTP-18028: Update lib/ssl/src/tls_gen_connection.erl Update lib/ssl/src/tls_gen_connection.erl Update lib/ssl/src/tls_gen_connection.erl Update lib/ssl/src/tls_gen_connection.erl ssl: Fix version mismatch
| * | | | | | Update lib/ssl/src/tls_gen_connection.erlIngela Andin2022-04-261-1/+1
| | | | | | |
| * | | | | | Update lib/ssl/src/tls_gen_connection.erlIngela Andin2022-04-261-1/+1
| | | | | | |
| * | | | | | Update lib/ssl/src/tls_gen_connection.erlIngela Andin2022-04-261-1/+1
| | | | | | |
| * | | | | | Update lib/ssl/src/tls_gen_connection.erlIngela Andin2022-04-251-4/+4
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Kenneth Lundin <kenneth.lundin@gmail.com>
| * | | | | | ssl: Fix version mismatchIngela Anderton Andin2022-04-252-18/+22
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The special case handled by the tls_gen_connection:effective_version function is only valid in the hello and wait_sh state. Closes #5835
* | | | | | Merge branch 'john/erts/fix-persistent-term-get-put-race/maint-24' into maint-24Erlang/OTP2022-05-022-58/+112
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * john/erts/fix-persistent-term-get-put-race/maint-24: erts: Fix a race in persistent_term:get/1,2