<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git, branch maint-r14b03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Prepare release</title>
<updated>2011-07-11T13:40:44+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-07-11T13:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d328f453e7cd6e24856b0c80e0b8c4ed6def5461'/>
<id>d328f453e7cd6e24856b0c80e0b8c4ed6def5461</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 'rickard/sbmbc/OTP-9339' into maint-r14</title>
<updated>2011-07-11T13:40:42+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-07-11T13:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3b2f96b9a1f079c9e0502db7d11984597ea5c4f1'/>
<id>3b2f96b9a1f079c9e0502db7d11984597ea5c4f1</id>
<content type='text'>
* rickard/sbmbc/OTP-9339:
  Use separate memory carriers for small blocks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rickard/sbmbc/OTP-9339:
  Use separate memory carriers for small blocks
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/ets_delete-deadlock-race/OTP-9423' into maint-r14</title>
<updated>2011-07-11T13:40:41+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-07-11T13:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e0f60ce445b072b97353f3ab8f18c2f00b04cbe8'/>
<id>e0f60ce445b072b97353f3ab8f18c2f00b04cbe8</id>
<content type='text'>
* sverker/ets_delete-deadlock-race/OTP-9423:
  Fix bug in ets:delete for write_concurrency that could lead to deadlock
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sverker/ets_delete-deadlock-race/OTP-9423:
  Fix bug in ets:delete for write_concurrency that could lead to deadlock
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/trace-ms-invalid-op/OTP-9422' into maint-r14</title>
<updated>2011-07-11T13:40:41+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-07-11T13:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5c100a165f59a8a3b9dec3f0d53567f228cb8171'/>
<id>5c100a165f59a8a3b9dec3f0d53567f228cb8171</id>
<content type='text'>
* sverker/trace-ms-invalid-op/OTP-9422:
  Fix a match-spec trace bug that could cause emulator crash
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sverker/trace-ms-invalid-op/OTP-9422:
  Fix a match-spec trace bug that could cause emulator crash
</pre>
</div>
</content>
</entry>
<entry>
<title>Use separate memory carriers for small blocks</title>
<updated>2011-07-08T14:08:37+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2011-05-21T23:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1dfaae304dfcc4f249c62b5ab7ff3bd4acef0d50'/>
<id>1dfaae304dfcc4f249c62b5ab7ff3bd4acef0d50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a match-spec trace bug that could cause emulator crash</title>
<updated>2011-07-07T15:38:08+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2011-07-06T18:43:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c50b9bf4137333850e76393752495a09147e73a6'/>
<id>c50b9bf4137333850e76393752495a09147e73a6</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in ets:delete for write_concurrency that could lead to deadlock</title>
<updated>2011-07-07T15:33:05+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2011-07-06T18:39:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e683a28781caf0af79b8f076f92595927d4cd794'/>
<id>e683a28781caf0af79b8f076f92595927d4cd794</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ia/ssl/session-table-clean-up/OTP-9346' into maint-r14</title>
<updated>2011-07-06T10:17:35+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-07-06T10:17:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=32fc16e311bfbc5abd0ab8caf64d566e1e65196d'/>
<id>32fc16e311bfbc5abd0ab8caf64d566e1e65196d</id>
<content type='text'>
* ia/ssl/session-table-clean-up/OTP-9346:
  The clean up of the session table now works as intended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ia/ssl/session-table-clean-up/OTP-9346:
  The clean up of the session table now works as intended.
</pre>
</div>
</content>
</entry>
<entry>
<title>The clean up of the session table now works as intended.</title>
<updated>2011-07-06T10:13:29+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2011-05-31T09:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7c52434e6b207e1485ce1bd00018c3f6c05e53fa'/>
<id>7c52434e6b207e1485ce1bd00018c3f6c05e53fa</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bmk/inets/inets57_integration2' into maint-r14</title>
<updated>2011-06-22T12:16:22+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-06-22T12:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9cb4040e4aeed40a52f174a7c4d9106e38572605'/>
<id>9cb4040e4aeed40a52f174a7c4d9106e38572605</id>
<content type='text'>
* 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: &lt;credit&gt;attila rajmund nohl&lt;/credit&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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: &lt;credit&gt;attila rajmund nohl&lt;/credit&gt;
</pre>
</div>
</content>
</entry>
</feed>
