aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-06-27erts: Fix gc disable when terminating processLukas Larsson
2019-06-27erts: Cleanup start of all erts threads to ABORT when failingLukas Larsson
Before this change erts used to crash dump and then abort, but a crash dump is not really usefull at this point and it caused all sort of lock problems when crash dumping that early in the system boot, so now it is changed to only dump core instead. Also in the process I cleaned up some the code so that it does not to a lot of things that are not needed.
2019-06-27Merge branch 'lukas/erts/fix-half-arguments-to-erlexec/OTP-15931' into maintLukas Larsson
* lukas/erts/fix-half-arguments-to-erlexec/OTP-15931: erlexec: Fix argument separation when mixing env flags
2019-06-27erlexec: Fix argument separation when mixing env flagsLukas Larsson
Example: export ERL_AFLAGS=-test erl dummy_param In the above example, the dummy_param would be interpreted as an argument to -test, and not as a separate argument as it should.
2019-06-27Merge pull request #2297 from bitcrowd/ssh/remove-unused-definitionsHans Nilsson
Remove unused SSH definitions OTP-15929
2019-06-27Merge pull request #2296 from grisp/sylane/crypto-fix-static-nifs-buildHans Nilsson
crypto: Fix the build of static crypto nifs OTP-15928
2019-06-27Merge pull request #2305 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-slow-compilation/OTP-15923 Fix slow compilation of huge functions
2019-06-27Merge branch 'peterdmv/ssl/fix-ssl-basic-suite' into maintPéter Dimitrov
* peterdmv/ssl/fix-ssl-basic-suite: ssl: Fix ssl_basic_SUITE
2019-06-27Merge branch ↵Micael Karlberg
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
2019-06-27Merge branch 'lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926' into maintLukas Larsson
* lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926: erts: Don't copy binary data from dist data erts: Move copy of payload to receiving process
2019-06-27Merge pull request #2303 from bottleneko/kernel/fix-typo-in-logger-documentationHans Bolinder
Fix typo in logger_chapter.xml
2019-06-27Merge branch ↵Hans Bolinder
'josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949' into maint * josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949: Always fallback to source when we can't parse AST
2019-06-26Merge branch 'hans/crypto/valgrind-fix-FIPS/OTP-15924' into maintHans Nilsson
* hans/crypto/valgrind-fix-FIPS/OTP-15924: crypto: Adjust VALGRIND decls crypto: Fix mem leak detected by valgrind
2019-06-26ssl: Fix ssl_basic_SUITEPéter Dimitrov
Do not automatically configure the TLS version for the 'tlsv1.3' group.
2019-06-26crypto: Adjust VALGRIND declsHans Nilsson
Seem to detect false positives
2019-06-26crypto: Fix mem leak detected by valgrindHans Nilsson
2019-06-26Merge branch 'hans/ssh/spec_doc_error/OTP-15820' into maintHans Nilsson
* hans/ssh/spec_doc_error/OTP-15820: ssh: Fix spec/doc error for subsystem_specs
2019-06-26ssh: Fix spec/doc error for subsystem_specsHans Nilsson
2019-06-26Fix slow compilation of huge functionsBjörn Gustavsson
Some huge functions would compile very slowly because of a bottleneck in `beam_ssa:def_used/2`. One example is the `cuter_binlib` module in https://github.com/cuter-testing/cuter. On my computer, this commit reduces the compilatation time for `cuter_binlib` to 45 seconds down from more than 4 minutes. Noticed-by: Kostis Sagonas
2019-06-26crypto: Fix the build of static crypto nifsSebastien Merle
2019-06-26Merge branch 'dgud/wx-configure-fixes' into maintDan Gudmundsson
* dgud/wx-configure-fixes: Speed up compilation Cleanup configure Fail if no C++ compiler is avaiable
2019-06-26Merge branch 'bjorn/compiler/fix-dialyzer-warnings' into maintBjörn Gustavsson
* bjorn/compiler/fix-dialyzer-warnings: Eliminate dialyzer warnings
2019-06-26Fix typo in logger_chapter.xmlBoris Murashov
2019-06-25Remove unused "ssh_assert" macro definitionPaul Meinhardt
2019-06-25Remove unused "ssh_key" record definitionPaul Meinhardt
2019-06-25Merge pull request #2250 from ↵Rickard Green
rickard-green/rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 re unicode validation
2019-06-25Always fallback to source when we can't parse ASTJosé Valim
This commit fixes a bug in Dialyzer where it would assume all Erlang AST can be converted back to valid Erlang code. A case where this was is no true was already documented in the source code, in relation to opaque types, but this can also be true when it comes to other BEAM languages.
2019-06-25Merge branch 'kostis/doc/map-type-is-an-alias' into maintHans Bolinder
* kostis/doc/map-type-is-an-alias: The map() type is an alias; not a predefined type
2019-06-24Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maintSverker Eriksson
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-06-24Fix VALGRIND_MISC_FLAGS defaults to use ERL_TOPSverker Eriksson
for suppression file.
2019-06-24Merge branch 'peterdmv/ssl/fix-cert-error-handling/OTP-15900' into maintPéter Dimitrov
* peterdmv/ssl/fix-cert-error-handling/OTP-15900: ssl: Fix handling of certificate decoding problems
2019-06-24Merge branch 'peterdmv/ssl/fix-sign-algs-cert/OTP-15913' into maintPéter Dimitrov
* peterdmv/ssl/fix-sign-algs-cert/OTP-15913: ssl: Backport fix for signature_algorithms_cert
2019-06-24Merge branch 'bmk/snmp/20190524/ipv6_issues/OTP-15764' into maintMicael Karlberg
2019-06-24The map() type is an alias; not a predefined typeKostis Sagonas
This pull request corrects an historical accident. At some point in time, the set of Erlang terms was extended to include maps, and at that time the `map()' type was also introduced to the language as an easy, albeit quite coarse, way to declare map terms. At some later point in time, the type language was extended with the ability to declare _type associations_ in maps and also with a notation to declare mandatory (:=) and optional (=>) type associations. At that point in time, it should have been realized that the `map()' type is nothing more than an alias (for `#{any() => any()}') instead of being a _predefined_ type. (The situation is analogous to e.g. the `binary()' type being just an alias for `<<_:_*8>>'.) This pull request corrects the documentation (the reference manual).
2019-06-24Merge branch 'bmk/snmp/20190614/snmpnet_on_openindiana' into maintMicael Karlberg
2019-06-24Merge branch 'bjorn/erts/unoptimized-plus' into maintBjörn Gustavsson
* bjorn/erts/unoptimized-plus: Handle addition of bignum + variable in unoptimized code
2019-06-24Eliminate dialyzer warningsBjörn Gustavsson
Eliminate the Dialyzer warnings shown when the limits in lib/cerl/erl_types.erl were raised as follows: -define(TUPLE_TAG_LIMIT, 10). -define(TUPLE_ARITY_LIMIT, 10). -define(SET_LIMIT, 64).
2019-06-24Merge branch 'lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778' into maintLukas Larsson
* lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778: os_mon: Make disk_sup ignore squashfs
2019-06-24[esock|test] Add test case for IP add|drop membershipMicael Karlberg
Add a simple test case that tests that its possible to perform socket:setopt(Socket, ip, [add|drop]_membership, MReq). OTP-15908
2019-06-20Add default VALGRIND_MISC_FLAGS if not setSverker Eriksson
2019-06-19Merge branch 'sverker/erts/several-config-opt-windows/ERL-912/OTP-15918' ↵Sverker Eriksson
into maint
2019-06-19Merge branch 'sverker/erl_interface/test-print-bitstrings/OTP-15917' into maintSverker Eriksson
2019-06-19Merge branch 'sverker/hipe-x86-flush-icache' into maintSverker Eriksson
2019-06-19erts: Call __builtin___clear_cache for hipe x86 codeSverker Eriksson
Seems the right thing to do as the compiled code is not necessarily executed by a single CPU thread. Only warning if old gcc and will work as good/bad as it did before.
2019-06-19Merge branch 'sverker/fix-hipe-arm-old-gcc-error' into maintSverker Eriksson
2019-06-19Merge branch 'sverker/gcov-docker' into maintSverker Eriksson
2019-06-19erts: Add gcov-gen-html scriptSverker Eriksson
to generate nice html from logs of gcov compiled emulator.
2019-06-19Fix fatal bug in erts_proc_sig_signal_sizeSverker Eriksson
called by erlang:process_info(memory) erlang:system_info(procs) crash dump break menu Will crash VM if process has a pending monitor DOWN signal in its queue.
2019-06-19ssl: Fix handling of certificate decoding problemsPéter Dimitrov
2019-06-19os_mon: Make disk_sup ignore squashfsLukas Larsson
Ideally we should ignore all read only filesystems, but this will have to do for now. We do this as we don't want disk_sup to report that a filesystem is almost full if it is read-only.