aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-07-11Merge branch 'sverker/ets_delete-deadlock-race/OTP-9423' into maint-r14Erlang/OTP
* sverker/ets_delete-deadlock-race/OTP-9423: Fix bug in ets:delete for write_concurrency that could lead to deadlock
2011-07-11Merge branch 'sverker/trace-ms-invalid-op/OTP-9422' into maint-r14Erlang/OTP
* sverker/trace-ms-invalid-op/OTP-9422: Fix a match-spec trace bug that could cause emulator crash
2011-07-07Fix a match-spec trace bug that could cause emulator crashSverker Eriksson
A trace matchspec with 'enable_trace' or 'disable_trace' in body could cause an emulator crash if a concurrent process altered the trace setting of the traced function by calling erlang:trace_pattern. The effect was a deallocation of the binary holding the matchspec program while it was running. Fixed by increasing reference count of ms-binary in the cases when 'enable_trace' or 'disable_trace' may cause a system block that may alter the ongoing trace. The paradox here is that db_prog_match() is using erts_smp_block_system() to do 'enable_trace' and 'disable_trace' in a safe (atomic) way. But that also have the (non-atomic) effect that racing thread might block the system and change the trace settings with erlang:trace_pattern.
2011-07-07Fix bug in ets:delete for write_concurrency that could lead to deadlockSverker Eriksson
Relocking in ets_delete_1() and remove_named_tab() was done by unlocking the table without clearing the is_thread_safe flag. A racing thread could then read-lock the table and then incorrectly write-unlock the table as db_unlock() looked at is_thread_safe to determine which kind of lock to unlock. Several fixes: 1. Make db_unlock() use argument 'kind' instead of is_thread_safe to determine lock type. 2. Make relock logic use db_lock() and db_unlock() instead of directly accessing lock primitives. 3. Do ownership transfer earlier in ets_delete_1 to avoid racing owner process to also start deleting the same table.
2011-07-06Merge branch 'ia/ssl/session-table-clean-up/OTP-9346' into maint-r14Erlang/OTP
* ia/ssl/session-table-clean-up/OTP-9346: The clean up of the session table now works as intended.
2011-07-06The 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-06-22Merge branch 'bmk/inets/inets57_integration2' into maint-r14Erlang/OTP
* bmk/inets/inets57_integration2: Fixed non-related test case (ticket_6035). Corrected appup-file (missing ','). Fixed ipv6 support detection. (httpc) test case cleanups. Uppdated appup-file. Fixed IPv6 test case selection. That is if a IPv6 test case should be run or not. Stopping httpc client... Added test cases for httpd. Clients started stand-alone not properly handled. Clients started stand-alone not properly handled. Temporary solution for profile_name stuff. What about Pids??? SSL with IPv6 now works "in principle". [httpc] Remove unnecessary usage of iolist_to_binary when processing body (for PUT and POST). Filipe David Manana OTP-9317 Set proper version (5.7). Set proper version (5.7). Updated release notes. Peer/sockname resolv doesn't work with IPv6 addrs in HTTP. OTP-9343 OTP-9342: FTP client doesn't work with IPv6 OTP-9342: IpFamily config option was not handled OTP-9342: Release notes remain... OTP-9342: <credit>attila rajmund nohl</credit>
2011-06-22Fixed non-related ftp test case.Micael Karlberg
[ftp] FTP client doesn't work with IPv6 host. Attila Rajmund Nohl OTP-9342 Merge branch 'bmk/inets/ftp/does_not_handle_ipv6/OTP-9342' into bmk/inets/inets57_integration2
2011-06-22Fixed non-related test case (ticket_6035).Micael Karlberg
2011-06-17Corrected appup-file (missing ',').Micael Karlberg
2011-06-17Fixed ipv6 support detection.Micael Karlberg
2011-06-17(httpc) test case cleanups.Micael Karlberg
2011-06-15[httpc|httpd] Added support for IPv6 with ssl.Micael Karlberg
OTP-5566 Merge branch 'bmk/inets/handle_ipv6_with_ssl2/OTP-5566' into bmk/inets/inets57_integration2 Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src lib/inets/test/inets_test_lib.erl
2011-06-15Uppdated appup-file.Micael Karlberg
2011-06-15Fixed IPv6 test case selection. That is if a IPv6 test case shouldMicael Karlberg
be run or not.
2011-06-15Stopping httpc client...Micael Karlberg
2011-06-15Added test cases for httpd.Micael Karlberg
2011-06-15Clients started stand-alone not properly handled.Micael Karlberg
OTP-9365
2011-06-15Clients started stand-alone not properly handled.Micael Karlberg
OTP-9365
2011-06-15Temporary solution for profile_name stuff. What about Pids???Micael Karlberg
2011-06-15SSL with IPv6 now works "in principle".Micael Karlberg
2011-06-15[httpc] Remove unnecessary usage of iolist_to_binary whenMicael Karlberg
processing body (for PUT and POST). Filipe David Manana OTP-9317 Merge branch 'bmk/inets/httpc/remove_unnecessary_iolist_to_binary_usage2/OTP-9317' into bmk/inets/inets57_integration2 Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src
2011-06-15[httpc] Remove unnecessary usage of iolist_to_binary whenMicael Karlberg
processing body (for PUT and POST). Filipe David Manana OTP-9317
2011-06-15[ftp] FTP client doesn't work with IPv6 host.Micael Karlberg
Attila Rajmund Nohl OTP-9342 Merge branch 'bmk/inets/ftp/does_not_handle_ipv6/OTP-9342' into bmk/inets/inets57_integration2 Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src
2011-06-15Peer/sockname resolv doesn't work with IPv6 addrs in HTTP.Micael Karlberg
Attila Rajmund Nohl. OTP-9343 Merge branch 'bmk/inets/resolv_doesnt_work_with_ipv6_addrs_in_http/OTP-9343' into bmk/inets/inets57_integration2
2011-06-15Set proper version (5.7).Micael Karlberg
2011-06-15Set proper version (5.7).Micael Karlberg
2011-06-10Merge branch 'maint-r13' into maint-r14Micael Karlberg
2011-05-31Updated release notes.Micael Karlberg
2011-05-30Peer/sockname resolv doesn't work with IPv6 addrs in HTTP.Micael Karlberg
OTP-9343
2011-05-27OTP-9342: FTP client doesn't work with IPv6Micael Karlberg
OTP-9342: IpFamily config option was not handled OTP-9342: Release notes remain... OTP-9342: <credit>attila rajmund nohl</credit>
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-23Merge branch 'hb/stdlib/spec_fix/OTP-9333' into devHans Bolinder
* hb/stdlib/spec_fix/OTP-9333: Fix a spec and a type
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-23Merge branch 'bmk/snmp/manager/override_community_for_req/OTP-9236' into ↵Erlang/OTP
maint-r13 * bmk/snmp/manager/override_community_for_req/OTP-9236: Added (intial) override community stuff. Udated documentation (and version).
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-05-20Update preloaded modulesBjörn-Egil Dahlberg
2011-05-20Update primary bootstrapBjö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.