aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-06-30hipe: Fix bug in trap frame allocation wrappersMagnus Lång
The trap frame allocation wrappers occasionally call the garbage collector, even though built-in functions are not supposed to. On non-{x86,amd64} platforms, HiPE was optimising the BIF wrapper interface on the basis that BIFs do not GC. So, when hipe_reserve_beam_trap_frame called the garbage collector, the state in the PCB was stale and corruption happened. Now, these particular BIFs are reclassified as GC BIFs. Unfortunately, in order to do that we needed to introduce a gc_bif_interface_3 macro in every hipe_$ARCH_bifs.m4 file.
2016-06-30hipe: Add assertion for gc in bif without wrapperMagnus Lång
An easy source of tricky bugs is to start calling the garbage collector from a built-in function without adding that bif to hipe_bif_list.m4. With this change we, in the debug build, keep track of whether the canonical stack and heap pointers are stored in the PCB or in registers/stack, allowing us to catch this class of mistakes with an assertion.
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-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-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-23Fix try-catch when writing makefileMagnus Henoch
Any exceptions at this point would be of class error, not exit.
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
2016-06-22ssh: Some code cuddling in ssh_ioHans Nilsson
2016-06-22ssh: Fix type error in args of ssh_auth:sort_selected_mthdsHans Nilsson
2016-06-22ssh: Make client send a faulty pwd only once, ssh_connection_handler partHans Nilsson
2016-06-22ssh: Make client send a faulty pwd only once, ssh_auth partHans Nilsson
Conflicts: lib/ssh/src/ssh_connection_handler.erl
2016-06-22ssh: test cases for no repetition of bad passwordsHans Nilsson
2016-06-21Updated OTP versionOTP-19.0Erlang/OTP
2016-06-21Prepare releaseErlang/OTP
2016-06-20Merge branch 'sverker/spawn-driver-env'Sverker Eriksson
2016-06-20erts: Fix spawn driver when env size is above pipe capacitySverker Eriksson
Symptom: open_port() succeeds, port program never starts but instead seem to terminate with exit_status 150 (EINVAL+128). When: If the command payload buffer (including the entire environment) for the port program is between 1 to 4 bytes above the pipe capacity, which is 65536 bytes on newer Linux, but can be as low as 4096 on older 32-bit Linux. Since: OTP-19.0-rc1.
2016-06-20Fix spec of compile:(noenv_)forms/2Stavros Aronis
The input for a call to compile:(noenv_)forms/2 can also be a cerl module (useful e.g. to resume with 'from_core' after a 'to_core' compilation). Internal representations used for 'from_asm' and 'from_beam' compilation can also be valid, but have no relevant types defined.
2016-06-20Merge branch 'kenneth/system_doc/update_index/OTP-13696'Kenneth Lundin
* kenneth/system_doc/update_index/OTP-13696: Add ref to new book "Designing for Scalability with Erlang/OTP"
2016-06-20Add ref to new book "Designing for Scalability with Erlang/OTP"Kenneth Lundin
2016-06-20Update preloaded modulesHenrik Nord
2016-06-20Update primary bootstrapHenrik Nord
2016-06-18Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [ct test] Catch call to ssh:start/0 [sasl test] Do GC before measuring and comparing time [sasl test] Give some time and try again if nodes are not synched
2016-06-18[ct test] Catch call to ssh:start/0Siri Hansen
The ssh application is not installed on all test hosts. Catching the call to ssh:start/0 allows the the netconf tests to be nicely skipped if ssh does not exist.
2016-06-18[sasl test] Do GC before measuring and comparing timeSiri Hansen
release_handler_SUITE:otp_9395_*_many_mods sometimes fail on slow machines. This commit adds an explicit GC before each 'install_release' so GC during test is avoided.
2016-06-18[sasl test] Give some time and try again if nodes are not synchedSiri Hansen
release_handler_SUITE:upgrade_gg (global group) sometimes fails on slow machines. This commit re-tries five times before giving up.
2016-06-17Merge branch 'ingela/ssl/doc-update-supported-list'Ingela Anderton Andin
* ingela/ssl/doc-update-supported-list: ssl: Extend list of supported features
2016-06-17ssl: Extend list of supported featuresIngela Anderton Andin
Note these where supported before ssl-8.0
2016-06-17Merge branch 'zandra/update-dist-doc'Zandra Hird
* zandra/update-dist-doc: Remove unused Cookie from ControlMessage in the dist protocol doc
2016-06-17Merge branch 'zandra/kernel-test-cuddle'Zandra Hird
Conflicts: lib/kernel/test/gen_tcp_api_SUITE.erl lib/kernel/test/gen_udp_SUITE.erl
2016-06-17Merge branch 'rickard/ds-job-type-doc'Rickard Green
* rickard/ds-job-type-doc: Minor reorganization of dirty NIF documentation
2016-06-17Minor reorganization of dirty NIF documentationRickard Green
2016-06-17Remove unused Cookie from ControlMessage in the dist protocol docZandra Hird
The Cookie was removed a long time ago, but the documentation was not updated accordingly.
2016-06-17Merge branch 'raimo/uds-support/OTP-13643'Raimo Niskanen
* raimo/uds-support/OTP-13643: Update test cases after daily builds Return eafnosupport when not supported Add AF_LOCAL test cases Handle 'undefined' in fdopen
2016-06-17Merge branch 'ingela/ssl/runtime-dep'Ingela Anderton Andin
* ingela/ssl/runtime-dep: ssl: Add new public_key to runtime dependencies
2016-06-17Merge branch 'shlonny/add-asn1-app-to-ssl-distribution-doc/PR-1101'Ingela Anderton Andin
* shlonny/add-asn1-app-to-ssl-distribution-doc/PR-1101: added asn1 to applications needed for start_ssl
2016-06-17Update test cases after daily buildsRaimo Niskanen
2016-06-17Merge branch 'lars/test-case-conformance/OTP-13695'Lars Thorsen
* lars/test-case-conformance/OTP-13695: [cosTransactions] Update the test suites to follow the new style [cosTime] Update the test suites to follow the new style [cosProperty] Update the test suites to follow the new style [cosNotification] Update the test suites to follow the new style [cosFileTransfer] Fix mispelled module name [cosEvent] Fix mispelled module name [cosEventDomain] Fix mispelled module name [cosFileTransfer] Update the test suites to follow the new style [cosEventDomain] Update the test suites to follow the new style [cosEvent] Update the test suites to follow the new style [orber] Update the test suites to follow the new style [erl_docgen] Update the test suites to follow the new style [ic] Correct memory deallocation error [ic] Update the test suites to follow the new style
2016-06-17[cosTransactions] Update the test suites to follow the new styleLars Thorsen
2016-06-17[cosTime] Update the test suites to follow the new styleLars Thorsen
2016-06-17[cosProperty] Update the test suites to follow the new styleLars Thorsen
2016-06-17[cosNotification] Update the test suites to follow the new styleLars Thorsen
2016-06-17[cosFileTransfer] Fix mispelled module nameLars Thorsen
2016-06-17[cosEvent] Fix mispelled module nameLars Thorsen