aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-12erts/kernel: Fix code loading deadlock during init:stopLukas Larsson
When init:stop is called it walks the application hierarchy and terminates each process. Some of these processes may do something while terminating and sometimes that something needs to load some new code in order to work. When this happens the code_server could just be in the process of terminating or the erl_prim_loader could be active. In both these cases the request to load the new code would cause a deadlock in the termination of the system. This commit fixes this by init rejecting attempts to load new code when init:stop has been called and fixing a termination race in the code_server. This however means that the process that tried to do something when told to terminate (for instance logging that it is terminating) will crash instead of loading the code.
2016-07-01Merge branch 'ingela/ssl/dist-stop-nodes' into maintIngela Anderton Andin
* ingela/ssl/dist-stop-nodes: ssl: All started test nodes must be cleaned up
2016-07-01Merge branch 'goertzenator/snmpstring/PR-1100/OTP-13706' into maintIngela Anderton Andin
* goertzenator/snmpstring/PR-1100/OTP-13706: add snmp_agent_conf_test to modules.mk Fix ERL-164 for agent, vacm, and usm config files snmp tests demonstrating ERL-164, no string escaping for SNMP config files
2016-06-30Merge branch 'maint-19' into maintHans Nilsson
2016-06-30Merge branch 'aronisstav/compiler/fix-compile-forms-spec/PR-1109' into maintBjörn Gustavsson
* aronisstav/compiler/fix-compile-forms-spec/PR-1109: Fix spec of compile:(noenv_)forms/2
2016-06-29Updated OTP versionOTP-19.0.1Erlang/OTP
2016-06-29Update release notesErlang/OTP
2016-06-29Update version numbersErlang/OTP
2016-06-29Merge branch 'rickard/set-gl-fix/OTP-13716' into maint-19Erlang/OTP
* rickard/set-gl-fix/OTP-13716: Fix group_leader/2
2016-06-29Merge branch 'hans/ssh/ssh_patches/OTP-13715' into maint-19Erlang/OTP
* hans/ssh/ssh_patches/OTP-13715: ssh: Update ssh version ssh: Remove possible hanging in TCs when server and client is on the same node ssh: added dbg keys to ssh:connection_info/2 and ssh:channel_info/3 ssh: Extend experimental ssh_dbg.erl ssh: remove 'sync sleeps'
2016-06-29Merge branch 'hans/ssh/retry_passwd_patch/OTP-13674' into maint-19Erlang/OTP
* hans/ssh/retry_passwd_patch/OTP-13674: ssh: update vsn.mk ssh: polishing of password prompt's linefeed ssh: Fix a hazard bug in ssh_auth ssh: Some code cuddling in ssh_io ssh: Fix type error in args of ssh_auth:sort_selected_mthds ssh: Make client send a faulty pwd only once, ssh_connection_handler part ssh: Make client send a faulty pwd only once, ssh_auth part ssh: test cases for no repetition of bad passwords
2016-06-29Merge branch 'hans/inets/ftp_debug_printout/OTP-13712' into maint-19Erlang/OTP
* hans/inets/ftp_debug_printout/OTP-13712: inets: updated version inets: unused var in ftp.erl anonymized inets: ftp debug printout removed
2016-06-29Merge branch 'hasse/tools/fix_xref/ERL-173/OTP-13708' into maint-19Erlang/OTP
* hasse/tools/fix_xref/ERL-173/OTP-13708: tools: Fix a bug adding multiple modules to an Xref server
2016-06-29Merge branch 'margnus1/dialyzer/fix_map_bug/ERL-177/PR-1115/OTP-13709' into ↵Erlang/OTP
maint-19 * margnus1/dialyzer/fix_map_bug/ERL-177/PR-1115/OTP-13709: erl_types: Normalise X:=none() pairs in t_map/3
2016-06-29Merge branch 'dgud/observer/fix-no-scheduler-change/ERL-171/OTP-13702' into ↵Erlang/OTP
maint-19 * dgud/observer/fix-no-scheduler-change/ERL-171/OTP-13702: Reset data when changing node or no schedulers change
2016-06-29Fix group_leader/2Rickard Green
2016-06-29ssh: Update ssh versionHans Nilsson
2016-06-29ssh: Remove possible hanging in TCs when server and client is on the same nodeHans Nilsson
2016-06-29ssh: added dbg keys to ssh:connection_info/2 and ssh:channel_info/3Hans Nilsson
2016-06-29ssh: Extend experimental ssh_dbg.erlHans Nilsson
1) extend ssh_dbg:message with second arg, a fun/1 that is intended to replace pids in the trace printouts with better descriptions. 2) printout improvments
2016-06-29ssh: remove 'sync sleeps'Hans Nilsson
2016-06-29inets: updated versionHans Nilsson
2016-06-29inets: unused var in ftp.erl anonymizedHans Nilsson
2016-06-29inets: ftp debug printout removedHans Nilsson
2016-06-29Merge branch 'legoscia/compiler/error-handling/PR-1112/OTP-13701' into maintBjörn Gustavsson
* legoscia/compiler/error-handling/PR-1112/OTP-13701: Fix try-catch when writing makefile Show error reason when compiler cannot write file
2016-06-28add snmp_agent_conf_test to modules.mkDaniel Goertzen
2016-06-28tools: Fix a bug adding multiple modules to an Xref serverHans Bolinder
The bug when introduced in OTP-19.0. Optimize adding multiple modules to an Xref server
2016-06-28erl_types: Normalise X:=none() pairs in t_map/3Magnus Lång
t_map/3 previously required callers to perform this normalisation, but as t_from_form/5 would sometimes fail to do so, this requirement is relaxed. Bug (ERL-177) reported and shrunk by Luke Imhoff.
2016-06-28ssl: All started test nodes must be cleaned upIngela Anderton Andin
Function to stop SSL/TLS node may not exit as a test case will start more than one node and all nodes must be stopped.
2016-06-27ssh: update vsn.mkHans Nilsson
2016-06-27ssh: polishing of password prompt's linefeedHans Nilsson
2016-06-27ssh: Fix a hazard bug in ssh_authHans Nilsson
2016-06-27ssh: Some code cuddling in ssh_ioHans Nilsson
2016-06-27ssh: Fix type error in args of ssh_auth:sort_selected_mthdsHans Nilsson
2016-06-27ssh: Make client send a faulty pwd only once, ssh_connection_handler partHans Nilsson
2016-06-27ssh: Make client send a faulty pwd only once, ssh_auth partHans Nilsson
Conflicts: lib/ssh/src/ssh_connection_handler.erl
2016-06-27ssh: test cases for no repetition of bad passwordsHans Nilsson
2016-06-27Merge branch 'maint-18' into maintHans Nilsson
Conflicts: OTP_VERSION lib/ssh/doc/src/notes.xml lib/ssh/src/ssh_connection_handler.erl lib/ssh/vsn.mk otp_versions.table
2016-06-23Reset data when changing node or no schedulers changeDan Gudmundsson
Caused a crash in 19, see ERL-171. Data was never reset so the number of schedulers didn't match the previous collected data.
2016-06-23Fix try-catch when writing makefileMagnus Henoch
Any exceptions at this point would be of class error, not exit.
2016-06-22Fix ERL-164 for agent, vacm, and usm config filesDaniel Goertzen
2016-06-22snmp tests demonstrating ERL-164, no string escaping for SNMP config filesDaniel Goertzen
2016-06-22Show error reason when compiler cannot write fileMagnus Henoch
When the compiler fails to write an output file, it used to just print "error writing file". With this change, it also prints the error reason: $ echo "-module(foo)." > foo.erl $ chmod -w . $ erlc foo.erl /tmp/bar/foo.bea#: error writing file: permission denied
2016-06-22ssl: Do not leave zoombie nodes if tests failIngela Anderton Andin
2016-06-22Updated OTP versionOTP-18.3.4.1Erlang/OTP
2016-06-22Update release notesErlang/OTP
2016-06-22Merge branch 'hans/ssh/retry_pwd_patch/OTP-13674' into maint-18Erlang/OTP
* hans/ssh/retry_pwd_patch/OTP-13674: ssh: update vsn.mk ssh: polishing of password prompt's linefeed ssh: Fix a hazard bug in ssh_auth ssh: Some code cuddling in ssh_io ssh: Fix type error in args of ssh_auth:sort_selected_mthds ssh: Make client send a faulty pwd only once, ssh_connection_handler part ssh: Make client send a faulty pwd only once, ssh_auth part ssh: test cases for no repetition of bad passwords
2016-06-22ssh: update vsn.mkHans Nilsson
2016-06-22ssh: polishing of password prompt's linefeedHans Nilsson
2016-06-22ssh: Fix a hazard bug in ssh_authHans Nilsson