aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-09-06General improvements to release_handler_1:get_supervised_procsjoewilliams
The core issues this patch attempts to solve is two fold, 1) have release_handler_1 act slightly differently in two corner cases and 2) clean up the code in get_supervised_procs/0 to remove nested cases and etc. Regarding #1, get_supervised_procs/0 will now call functions to test to see if the supervisor is suspended before attempting to ask it for a list of children. It now will print an error message regarding the suspended supervisor and produce an error that will cause the VM to restart. Previously it would timeout attempting the call to which_children and the VM would restart without any details regarding the reason. The second corner case is if in a child specification a supervisor is incorrectly stated to be a worker and get_modules is called against it. A timeout will occur causing a VM restart. Similar to the last corner case in this patch an error message is printed and an error is emitted causing a VM restart. When first looking into the issue it was hard to discover why my upgrades where failing. All I received during the upgrade process was a timeout and a VM restart, no other information. This patch should help users track down issues like these. Regarding #2, due to the above confusion in trying to figure out what had happened I dug into the code and started tracing it through and found that the nested case statements and etc made it confusing. So I started to rework and clean up, hopefully making this code path clearer to future readers.
2011-06-09Merge branch 'ia/ssl/denial-of-service/OTP-9364' into devIngela Anderton Andin
* ia/ssl/denial-of-service/OTP-9364: Prevention of denial of service attack
2011-06-08Merge branch 'ta/warnings_as_errors' into devRaimo Niskanen
* ta/warnings_as_errors: yecc: add warnings_as_errors option leex: add warnings_as_errors option leex: fix typo in leex_SUITE
2011-06-07Prevention of denial of service attackIngela Anderton Andin
2011-06-07Merge branch 'ia/ssl/session-table-clean-up/OTP-9346' into devIngela Anderton Andin
* ia/ssl/session-table-clean-up/OTP-9346: The clean up of the session table now works as intended.
2011-06-01Merge branch 'raimo/inet_dns-dialyzer-fix' into devRaimo Niskanen
* raimo/inet_dns-dialyzer-fix: Stop generating some unused clauses for make_dns_rr_opt/1 local to inet_dns
2011-06-01yecc: add warnings_as_errors optionTuncer Ayaz
2011-06-01leex: add warnings_as_errors optionTuncer Ayaz
2011-06-01Merge branch 'ia/odbc/test-improvment' into devIngela Anderton Andin
* ia/odbc/test-improvment: Modernized the test suites
2011-06-01The clean up of the session table now works as intended.Ingela Anderton Andin
In ssl-4.1.5 temporary clean-up processes would crash resulting in that the session table would not be cleaned up (e.i. using more and more memory) and error reports would be printed, but connections would not be affected.
2011-05-31Stop generating some unused clauses for make_dns_rr_opt/1 local to inet_dnsRaimo Niskanen
2011-05-31Add no_return to the built-in typesHans Bolinder
Also fixed a Dialyzer warning (edoc_wiki.erl).
2011-05-30leex: fix typo in leex_SUITETuncer Ayaz
2011-05-30Update version numbersBjörn-Egil Dahlberg
2011-05-30Modernized the test suitesIngela Anderton Andin
Moved functionality of special specs odbc.dynspec and odbc.spec.win to the test suites.
2011-05-24Prepare releaseOTP_R14B03Erlang/OTP
2011-05-24Merge branch 'hb/kernel/opaque_decls/OTP-9337' into devBjörn-Egil Dahlberg
* hb/kernel/opaque_decls/OTP-9337: Modify two opaque types
2011-05-24Modify two opaque typesHans Bolinder
Two opaque types that could cause warnings when running Dialyzer have been modified.
2011-05-24Merge branch 'ia/ssl/ets-table-cleanup' into devBjörn-Egil Dahlberg
* ia/ssl/ets-table-cleanup: Corrected last argument to timer:apply_after also corrected a dilyzer spec
2011-05-24Merge branch 'ks/erl_bif_types-fixes' into devBjörn-Egil Dahlberg
* ks/erl_bif_types-fixes: Fix crash when a contract range warning is emitted for a module already in plt Fix erroneous definition of t_binary_compiled_pattern()
2011-05-24Corrected last argument to timer:apply_after also corrected a dilyzer specIngela Anderton Andin
2011-05-23Fix crash when a contract range warning is emitted for a module already in pltStavros Aronis
Warnings about wrong contract ranges are post-processed to be displayed in the file/line that contains the contract, although they can also be emitted while processing other modules. For this relocation to succeed the module that contains the contract should be currently under analysis. If this is not the case the warning is displayed in the file/line of the call that proves the discrepancy in the contract.
2011-05-23Fix erroneous definition of t_binary_compiled_pattern()Kostis Sagonas
While at it: 1. Moved types in their proper place 2. Did minor cleanups and 3. Took out an unused function
2011-05-23Fix a spec and a typeHans Bolinder
A specification that could cause problems for Dialyzer has been fixed. An opaque type in erl_eval has been turned in to a ordinary type. This is a temporary fix.
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-05-20Merge branch 'kenneth/asn1/longlength/OTP-9303' into devBjörn-Egil Dahlberg
* kenneth/asn1/longlength/OTP-9303: Fixed DRIVER_INIT prototype Corrected handling of long length in driver and updated test suites
2011-05-20Fixed DRIVER_INIT prototypeKenneth Lundin
2011-05-20Merge branch 'nick/orber/dialyzer_warnings/OTP-9326' into devNiclas Eklund
* nick/orber/dialyzer_warnings/OTP-9326: OTP-9326 Eliminated Dialyzer warnings.
2011-05-20Merge branch 'nick/Cos-Apps/remove_shy_in_doc/OTP-9319' into devNiclas Eklund
* nick/Cos-Apps/remove_shy_in_doc/OTP-9319: OTP-9319 Removed superfluous usage of shy in the documentation since it can cause problem if a buggy tool is used.
2011-05-20Merge branch 'anders/diameter/20110519/doc/OTP-9323' into devAnders Svensson
* anders/diameter/20110519/doc/OTP-9323: Remove undocumented interface functions plus comment fix. Various documentation fixes and improvements. Minor diameter_service fix when sending a diameter_header/avp list Minor make depend fixes. Trivial depend.sed simplification. Fix broken doc links. Fix broken make dependencies by generating them.
2011-05-20Remove undocumented interface functions plus comment fix.Anders Svensson
2011-05-20Various documentation fixes and improvements.Anders Svensson
Added an introductory chapter to the User's Guide as well as more detailed release notes.
2011-05-20Minor diameter_service fix when sending a diameter_header/avp listAnders Svensson
plus an example fix.
2011-05-20Minor make depend fixes.Anders Svensson
2011-05-20Merge branch 'dgud/wx/app-file/OTP-9324' into devDan Gudmundsson
* dgud/wx/app-file/OTP-9324: Fix wx app file, sed didn't work on all platforms
2011-05-19Merge branch 'sverker/crypto-aes-ctr-stream/OTP-9275' into devSverker Eriksson
* sverker/crypto-aes-ctr-stream/OTP-9275: Stepping vsn for R14B03 Add true streaming AES (CTR) encryption and streaming HMAC operations
2011-05-19Corrected handling of long length in driver and updated test suitesKenneth Lundin
2011-05-19Merge branch 'pan/stdlib_doc_fixes/OTP-9318' into devPatrik Nyblom
* pan/stdlib_doc_fixes/OTP-9318: Fixup of re doc and specs
2011-05-19Merge branch 'pan/win_testcases_R14B03' into devPatrik Nyblom
* pan/win_testcases_R14B03: Fix bug in make_del_dir testcases Teach (prim_)file_SUITE about directory access on Windows OTP-9325
2011-05-19Trivial depend.sed simplification.Anders Svensson
2011-05-19Removed unused record and fixed a few failing test cases,Niclas Eklund
2011-05-19Generic key management for test suites.Niclas Eklund
2011-05-19Some minor updates regarding how test data is generated.Niclas Eklund
2011-05-19Fixed host handling in ssh_test_lib (daemon and connect functions).Niclas Eklund
2011-05-19Fixed include problem.Niclas Eklund
2011-05-19Corrected include path and spelling of a test case function.Niclas Eklund
2011-05-19Resolved merge conflict.Niclas Eklund
2011-05-19Resolved merge issue.Niclas Eklund
2011-05-19Added code for generating certificates.Niclas Eklund
2011-05-19Altering SSH test keys.Niclas Eklund