<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/src, branch maint-r15</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>kernel: Heart port needs to be unregistered</title>
<updated>2012-11-23T18:42:26+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-11-23T17:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e458e7b1d341c25b77bfccd833c3c53e10631b98'/>
<id>e458e7b1d341c25b77bfccd833c3c53e10631b98</id>
<content type='text'>
When heart cycles we need to unregister the old port before
starting the new heart port program.

OTP-10591
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When heart cycles we need to unregister the old port before
starting the new heart port program.

OTP-10591
</pre>
</div>
</content>
</entry>
<entry>
<title>erts, heart: Ensure erl_crash.dump is written</title>
<updated>2012-10-15T18:49:43+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-10-02T16:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6aa87d58b756ef65650ee793ad4ece8add7b70fb'/>
<id>6aa87d58b756ef65650ee793ad4ece8add7b70fb</id>
<content type='text'>
When a crash dump is about to be written and we have
heartbeat enabled on a system. We need time to write it
before heart explicitly kills the beam.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a crash dump is about to be written and we have
heartbeat enabled on a system. We need time to write it
before heart explicitly kills the beam.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2012-08-31T12:48:46+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-08-31T12:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630'/>
<id>2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'tab/fix-sctp-multihoming-IPv6/OTP-10217' into maint</title>
<updated>2012-08-27T08:20:36+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2012-08-27T08:20:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=618e0f37c9dda5bc26900692ed0cc41031be9e76'/>
<id>618e0f37c9dda5bc26900692ed0cc41031be9e76</id>
<content type='text'>
* tab/fix-sctp-multihoming-IPv6/OTP-10217:
  Allow mixed IPv4 and IPv6 addresses to sctp_bindx
  Add checks for in6addr_any and in6addr_loopback
  Fix SCTP multihoming
  inet_drv.c: Set sockaddr lengths in inet_set_[f]address
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tab/fix-sctp-multihoming-IPv6/OTP-10217:
  Allow mixed IPv4 and IPv6 addresses to sctp_bindx
  Add checks for in6addr_any and in6addr_loopback
  Fix SCTP multihoming
  inet_drv.c: Set sockaddr lengths in inet_set_[f]address
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix init:restart with hipelibs</title>
<updated>2012-08-21T17:24:46+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2012-08-16T13:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=439fe7b93743528782fbe1ff00dc65d08cb25a56'/>
<id>439fe7b93743528782fbe1ff00dc65d08cb25a56</id>
<content type='text'>
This is a workaround for init:restart.
The root problem is that delete/purge_module does not
clean up internal hipe bookkeeping (hipe_mfa_info's)
properly.
Symptom: Execution of deallocated beam code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a workaround for init:restart.
The root problem is that delete/purge_module does not
clean up internal hipe bookkeeping (hipe_mfa_info's)
properly.
Symptom: Execution of deallocated beam code.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Disable hipe compilation for hipe_unified_loader</title>
<updated>2012-08-21T17:21:27+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2012-05-11T14:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=77d6845c94e75b6da1f7f995e39a6ce455e86de6'/>
<id>77d6845c94e75b6da1f7f995e39a6ce455e86de6</id>
<content type='text'>
Workaround for crash in code_server.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Workaround for crash in code_server.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SCTP multihoming</title>
<updated>2012-08-15T23:40:57+00:00</updated>
<author>
<name>Tomas Abrahamsson</name>
<email>tomas.abrahamsson@gmail.com</email>
</author>
<published>2012-05-06T22:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9d3bb79a1bec07706de46a67a001269dbbada293'/>
<id>9d3bb79a1bec07706de46a67a001269dbbada293</id>
<content type='text'>
Setting several ip addresses for an SCTP socket worked only for IPv4
on Linux.  For IPv6 and for other for instance Solaris and FreeBSD, it
failed with badarg for both IPv4 and IPv6.

For the first address specified to gen_sctp:open, bind is now called,
while for any following addresses, sctp_bindx is called, repeatedly,
with one address at a time.  Previously, sctp_bindx was called for all
addresses in one go, with the addresses in reverse order, and bind was
not called at all if more than one address was specified.  Both
Solaris and FreeBSD requires bind to have been called before calling
sctp_bindx, and FreeBSD additionally allows at most one address at a
time in the call to sctp_bindx.

For some versions of Linux, for instance SuSE 10, the port can be 0
only for the call to bind but not for subsequent calls to sctp_bindx,
so replace with the port number assigned by the operating system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting several ip addresses for an SCTP socket worked only for IPv4
on Linux.  For IPv6 and for other for instance Solaris and FreeBSD, it
failed with badarg for both IPv4 and IPv6.

For the first address specified to gen_sctp:open, bind is now called,
while for any following addresses, sctp_bindx is called, repeatedly,
with one address at a time.  Previously, sctp_bindx was called for all
addresses in one go, with the addresses in reverse order, and bind was
not called at all if more than one address was specified.  Both
Solaris and FreeBSD requires bind to have been called before calling
sctp_bindx, and FreeBSD additionally allows at most one address at a
time in the call to sctp_bindx.

For some versions of Linux, for instance SuSE 10, the port can be 0
only for the call to bind but not for subsequent calls to sctp_bindx,
so replace with the port number assigned by the operating system.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ta/prim_archive-reloading' into maint</title>
<updated>2012-07-18T09:04:02+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2012-07-18T09:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=154c00482d134260190127040ac6b4efb9f85a8f'/>
<id>154c00482d134260190127040ac6b4efb9f85a8f</id>
<content type='text'>
* ta/prim_archive-reloading:
  escript_SUITE: remove gratuitous space
  [erts,kernel,stdlib] fix escript/primary archive reloading

Conflicts:
	erts/preloaded/src/erl_prim_loader.erl

OTP-10151
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ta/prim_archive-reloading:
  escript_SUITE: remove gratuitous space
  [erts,kernel,stdlib] fix escript/primary archive reloading

Conflicts:
	erts/preloaded/src/erl_prim_loader.erl

OTP-10151
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'tc/rpc-call-fix' into maint</title>
<updated>2012-07-18T09:01:07+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2012-07-18T09:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d946588dbf7c84b69f85947237ac6ca64c8560ad'/>
<id>d946588dbf7c84b69f85947237ac6ca64c8560ad</id>
<content type='text'>
* tc/rpc-call-fix:
  Fix rpc:call/5 for local calls with a finite Timeout

OTP-10149
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tc/rpc-call-fix:
  Fix rpc:call/5 for local calls with a finite Timeout

OTP-10149
</pre>
</div>
</content>
</entry>
<entry>
<title>[erts,kernel,stdlib] fix escript/primary archive reloading</title>
<updated>2012-07-06T15:01:02+00:00</updated>
<author>
<name>Tuncer Ayaz</name>
<email>tuncer.ayaz@gmail.com</email>
</author>
<published>2011-09-01T16:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=449a093a22af91403c36ca45c620d648d9110ab5'/>
<id>449a093a22af91403c36ca45c620d648d9110ab5</id>
<content type='text'>
If the mtime of an escript/primary archive file changes after being
added to the code path, correctly reload the archive and update the
cache.

The existing code didn't consider that it might be a zip archive and failed:

    =ERROR REPORT==== 3-Aug-2011::09:21:21 ===
    File operation error: bad_central_directory. Target:
    /escript_archive/module.beam. Function: get_file. Process: code_server.

Thanks David Reid and Hakan Mattson.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the mtime of an escript/primary archive file changes after being
added to the code path, correctly reload the archive and update the
cache.

The existing code didn't consider that it might be a zip archive and failed:

    =ERROR REPORT==== 3-Aug-2011::09:21:21 ===
    File operation error: bad_central_directory. Target:
    /escript_archive/module.beam. Function: get_file. Process: code_server.

Thanks David Reid and Hakan Mattson.
</pre>
</div>
</content>
</entry>
</feed>
