aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-08-07Fix emigrate bug in erts_port_task_schedule()Rickard Green
While current run-queue lock is unlocked in the call to erts_check_emigration_need() from erts_port_task_schedule() the port can be migrated to another run-queue by another thread. The code in erts_port_task_schedule() needs to check if this has occurred when returning from erts_check_emigration_need(), and if so respect the migration decision. When this was not done, the thread calling erts_port_task_schedule() held the wrong run-queue lock which caused invalid updates of the port task queue. This bug was automatically fixed by the rewrites in the branch rickard/r16b/port-optimizations-fixes/OTP-10336 (commit 56cef897ca3ad2377e34a6ea5800a54a28cbeb6e) introduced in erts-5.10 and do not effect erts versions after that.
2012-12-06Merge tag 'erl_1219' into maintOTP_R15B03-1Björn-Egil Dahlberg
erts: Patch 1219 OTP-10602 Create an erl_crash.dump if no heart exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour changed). Don't create an erl_crash.dump if heart do exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour not changed). This changes the behaviour back to the R15B02 default considering if a beam was running with no heart.
2012-12-06Merge tag 'erl_1218' into maintBjörn-Egil Dahlberg
ssl: Patch 1218 OTP-10600 ssl:ssl_accept/2 timeout is no longer ignored
2012-12-06Prepare releaseErlang/OTP
2012-12-06Merge branch 'egil/fix-crashdump-default/OTP-10602' into maint-r15Erlang/OTP
* egil/fix-crashdump-default/OTP-10602: erts: Change default of erl_crash.dump
2012-12-06Update release notesErlang/OTP
2012-12-06Merge branch 'egil/ia/ssl/accept-timeout/OTP-10600' into maint-r15Erlang/OTP
* egil/ia/ssl/accept-timeout/OTP-10600: ssl: Prepare for release ssl: Export sslsocket() dialyzer type ssl: Cancel non expired timers ssl: Fix recv after timeout expired ssl: Timeout handling changed so that the fsm-process will terminate if the ssl:ssl_accept/[2,3] or ssl:connect/[3,4] timeout expires.
2012-12-06ssl: Prepare for releaseIngela Anderton Andin
2012-12-06ssl: Export sslsocket() dialyzer typeIngela Anderton Andin
2012-12-06ssl: Cancel non expired timersIngela Anderton Andin
2012-12-06ssl: Fix recv after timeout expiredIngela Anderton Andin
Reset state so that "recv data" is not sent as "active data" after a recv timed out and no new recv has been called.
2012-12-06ssl: Timeout handling changed so that the fsm-process will terminate if the ↵Ingela Anderton Andin
ssl:ssl_accept/[2,3] or ssl:connect/[3,4] timeout expires. Add missing function clause to handle timeout during handshake. The missing clause had the effect that the timeout was wrongly discarded. Also add an extra test case for the recv timeout in addition to the one in ssl_packet_SUITE. The missing functions clause was introduced in 8a789189. This commit changed the timeout implementation, the previous implememtation could cause other type of problems as the timeout was client side.
2012-11-30erts: Change default of erl_crash.dumpBjörn-Egil Dahlberg
* Create an erl_crash.dump if no heart exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour changed) * Don't create an erl_crash.dump if heart do exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour not changed) This changes the behaviour back to the R15B02 default considering if a beam was running with no heart. The motivation is that we want a fast heart to fast restart erlang if it crashes but to be able to get non-truncated erl_crash.dumps via setting ERL_CRASH_DUMP_SECONDS if we so desire.
2012-11-28Merge branch 'pan/win2012_installer' into maintPatrik Nyblom
* pan/win2012_installer: Teach Win installer to handle redist on w2012/w8 OTP-10598
2012-11-27Teach Win installer to handle redist on w2012/w8Patrik Nyblom
Also made check for DLL version against redistributables instead of towards installed system, as some builds required redistributables everytime (installed dll on build machine had higher version than the redist)...
2012-11-26Prepare releaseOTP_R15B03Erlang/OTP
2012-11-26Merge branch 'egil/fix-heart-unregister' into maintBjörn-Egil Dahlberg
* egil/fix-heart-unregister: kernel: Heart port needs to be unregistered
2012-11-26Merge branch 'raimo/daily-build-fixes' into maintRaimo Niskanen
* raimo/daily-build-fixes: Fix erroneous skipping for jinterface, erl_interface and ic
2012-11-26Fix erroneous skipping for jinterface, erl_interface and icRaimo Niskanen
2012-11-23kernel: Heart port needs to be unregisteredBjörn-Egil Dahlberg
When heart cycles we need to unregister the old port before starting the new heart port program. OTP-10591
2012-11-23Update preloaded modulesBjörn-Egil Dahlberg
2012-11-23Update primary bootstrapBjörn-Egil Dahlberg
2012-11-23Merge branch 'pan/process_info_spec_doc/r15/OTP-10584' into maintPatrik Nyblom
* pan/process_info_spec_doc/r15/OTP-10584: Correct doc of process_info(Pid,links) OTP-10584
2012-11-23Merge branch 'pan/bs_append_crash' into maintPatrik Nyblom
* pan/bs_append_crash: Teach erts_bs_append not to dump core OTP-10590
2012-11-23Merge branch 'anders/diameter/doc/OTP-10568' into maintAnders Svensson
* anders/diameter/doc/OTP-10568: Update doc for RFC 6733 Add copies of RFC's 6733 and 6737
2012-11-23Merge branch 'anders/diameter/doc/OTP-10471' into maintAnders Svensson
* anders/diameter/doc/OTP-10471: Add missing diameter_codec(3) content Add content to diameter_codec(3) and diameter_make(3) Add reference pages diameter_codec(3) and diameter_make(3)
2012-11-23Update copyright yearsBjörn-Egil Dahlberg
2012-11-23Add missing diameter_codec(3) contentAnders Svensson
2012-11-23Merge branch 'peppe/common_test/group_search_r15b03.fix' into maintPeter Andersson
* peppe/common_test/group_search_r15b03.fix: Fix silly bug
2012-11-23Fix silly bugPeter Andersson
2012-11-23Merge branch 'egil/fix-crash_dump-lc-assert' into maintBjörn-Egil Dahlberg
* egil/fix-crash_dump-lc-assert: erts: Suppress lock assertion when dumping a crash
2012-11-22Update doc for RFC 6733Anders Svensson
2012-11-22Add copies of RFC's 6733 and 6737Anders Svensson
6733 deprecates 3588.
2012-11-22Add content to diameter_codec(3) and diameter_make(3)Anders Svensson
2012-11-22Add reference pages diameter_codec(3) and diameter_make(3)Anders Svensson
Not yet any content to speak of.
2012-11-22Correct doc of process_info(Pid,links)Patrik Nyblom
2012-11-22Merge remote branch 'origin/peppe/common_test/group_search_docs' into maintPeter Andersson
* origin/peppe/common_test/group_search_docs: Document the new group search feature OTP-10466
2012-11-22Teach erts_bs_append not to dump corePatrik Nyblom
When erts_bs_append() calls the garbage collector, it has set the PB_ACTIVE_WRITER flag in the ProcBin for the binary object is about to be appended to. Therefore, it is expected that the garbage collector should neither move nor shrink the binary object. But if the garbage collector does a minor collection (thereby clearing the PB_ACTIVE_WRITER flag in the ProcBin) and there is still not enough heap space, there will be a second major garbage collection. During the major collection (since the the PB_ACTIVE_WRITER flag was cleared), the binary object may be shrunk or moved (depending on sizes and how many other writable binaries there are in the process). Avoid the problem by clearing the PB_ACTIVE_WRITER flags in a separate pass after the garbage collection(s). Thanks to Denis Titoruk for helping us find this bug.
2012-11-22Merge branch 'fredrik/ssh/fix-dialyzer-warn-r15b03' into maintFredrik Gustafsson
* fredrik/ssh/fix-dialyzer-warn-r15b03: is_boolean/1 is called instead of checking Removed ip options to gen_tcp from ssh.erl
2012-11-21Document the new group search featurePeter Andersson
2012-11-21Merge branch 'ia/pan/fix-public-key-doc' into maintIngela Anderton Andin
* ia/pan/fix-public-key-doc: Make public_key doc compile again
2012-11-21Make public_key doc compile againPatrik Nyblom
2012-11-21Merge branch 'ph/erl_interface/check-thread-support/OTP-10581' into maintBjörn-Egil Dahlberg
* ph/erl_interface/check-thread-support/OTP-10581: Teach erl_interface configure more pthread support
2012-11-21is_boolean/1 is called instead of checkingFredrik Gustafsson
2012-11-20Removed ip options to gen_tcp from ssh.erlFredrik Gustafsson
2012-11-20Merge remote branch 'origin/peppe/common_test/group_search_r15b03' into maintPeter Andersson
* origin/peppe/common_test/group_search_r15b03: Fix problem with test case order in group specifications Finish the test suite and correct remaining bugs Implement new group search functionality OTP-10466
2012-11-20Merge remote branch 'origin/peppe/common_test/config_broken_r15b03' into maintPeter Andersson
* origin/peppe/common_test/config_broken_r15b03: Fix problem with config start option not accepting list of files OTP-10495
2012-11-19Fix problem with test case order in group specificationsPeter Andersson
2012-11-19Merge branch 'anders/diameter/R15B03_release/OTP-10582' into maintAnders Svensson
* anders/diameter/R15B03_release/OTP-10582: vsn -> 1.3 Update appup for R15B03 Dialyzer fix Insert missing 1.1 release notes Minor test suite tweaks vsn -> 1.2.1 Update appup for OTP-10461/10550
2012-11-19vsn -> 1.3Anders Svensson