|
31 | 31 | </header> |
32 | 32 | <p>This document describes the changes made to the ERTS application.</p> |
33 | 33 |
|
| 34 | +<section><title>Erts 13.1.3</title> |
| 35 | + |
| 36 | + <section><title>Fixed Bugs and Malfunctions</title> |
| 37 | + <list> |
| 38 | + <item> |
| 39 | + <p> |
| 40 | + Fix perf/gdb JIT symbols to not contain |
| 41 | + <c>CodeInfoPrologue</c> for the JIT internal module |
| 42 | + erts_beamasm.</p> |
| 43 | + <p> |
| 44 | + Own Id: OTP-18256 Aux Id: PR-6316 </p> |
| 45 | + </item> |
| 46 | + <item> |
| 47 | + <p> |
| 48 | + Fixed minor memory leaks.</p> |
| 49 | + <p> |
| 50 | + Own Id: OTP-18281 Aux Id: PR-4840 </p> |
| 51 | + </item> |
| 52 | + <item> |
| 53 | + <p>Fix bugs in <c>ets:insert</c> and |
| 54 | + <c>ets:insert_new</c> when called with a list of tuples |
| 55 | + to insert while a concurrent process either deletes or |
| 56 | + renames the table. The table deletion could be done with |
| 57 | + <c>ets:delete/1</c> or be caused by termination of the |
| 58 | + table owning process.</p> <p>Symptoms are either VM crash |
| 59 | + or strange incorrect behavior from the insert operation. |
| 60 | + The risk of triggering the bugs increases with the length |
| 61 | + of the list of tuple to insert. Bugs exist since OTP |
| 62 | + 23.0.</p> |
| 63 | + <p> |
| 64 | + Own Id: OTP-18284 Aux Id: PR-6305 </p> |
| 65 | + </item> |
| 66 | + <item> |
| 67 | + <p> |
| 68 | + Boost execution of scheduled thread progress jobs. This |
| 69 | + to prevent memory exhaustion in extremely rapid |
| 70 | + allocation/deallocation scenarios, such as repeated ETS |
| 71 | + table creations/deletions.</p> |
| 72 | + <p> |
| 73 | + Own Id: OTP-18294 Aux Id: PR-6390 </p> |
| 74 | + </item> |
| 75 | + <item> |
| 76 | + <p> |
| 77 | + Fix segv crash during crash dumping an ETS table doing |
| 78 | + <c>ets:delete_all_objects</c>.</p> |
| 79 | + <p> |
| 80 | + Own Id: OTP-18295</p> |
| 81 | + </item> |
| 82 | + <item> |
| 83 | + <p> |
| 84 | + Spec for function net:if_names/0 incorrect</p> |
| 85 | + <p> |
| 86 | + Own Id: OTP-18296 Aux Id: OTP-16464 </p> |
| 87 | + </item> |
| 88 | + <item> |
| 89 | + <p> |
| 90 | + Fix bug in <c>binary_to_term</c> decoding a binary term |
| 91 | + 2Gbyte or larger.</p> |
| 92 | + <p> |
| 93 | + Own Id: OTP-18306 Aux Id: GH-6393, PR-6401 </p> |
| 94 | + </item> |
| 95 | + <item> |
| 96 | + <p>Documentation of <seemfa |
| 97 | + marker="erts:erlang#module_loaded/1"><c>erlang:module_loaded/1</c></seemfa> |
| 98 | + has been adjusted:</p> <list><item> It did not previously |
| 99 | + say that the BIF only returns <c>true</c> for modules |
| 100 | + loaded as <i>current code</i>. </item><item> The warning |
| 101 | + claiming that the BIF should only be used by the code |
| 102 | + server has been removed. </item></list> |
| 103 | + <p> |
| 104 | + Own Id: OTP-18313 Aux Id: PR-6456 </p> |
| 105 | + </item> |
| 106 | + <item> |
| 107 | + <p> |
| 108 | + Fix <c>list_to_atom/1</c> for negative code points. Could |
| 109 | + either return with a positive code point or fail with an |
| 110 | + incorrect exception.</p> |
| 111 | + <p> |
| 112 | + Own Id: OTP-18321</p> |
| 113 | + </item> |
| 114 | + <item> |
| 115 | + <p>Fix rare bug causing VM crash when sending to a pid of |
| 116 | + a spawning process returned from |
| 117 | + <c>erlang:processes/0</c>.</p> <p>Only seen when provoked |
| 118 | + by system process literal_area_collector, triggered by a |
| 119 | + module purge operation, on a VM started with +Meamin (no |
| 120 | + customized allocators).</p> |
| 121 | + <p> |
| 122 | + Own Id: OTP-18322 Aux Id: PR-6479 </p> |
| 123 | + </item> |
| 124 | + <item> |
| 125 | + <p> |
| 126 | + gen_udp:open/2 with option(s) add_membership or |
| 127 | + drop_membership would drop earlier options.</p> |
| 128 | + <p> |
| 129 | + Own Id: OTP-18323 Aux Id: #6476 </p> |
| 130 | + </item> |
| 131 | + <item> |
| 132 | + <p> |
| 133 | + The <seemfa |
| 134 | + marker="kernel:inet#setopts/2"><c>inet:setopts/2</c></seemfa> |
| 135 | + <c>{reuseaddr, true}</c> option will now be ignored on |
| 136 | + Windows unless the socket is an UDP socket. For more |
| 137 | + information see the documentation of the <c>reuseaddr</c> |
| 138 | + option part of the documentation of |
| 139 | + <c>inet:setopts/2</c>.</p> |
| 140 | + <p> |
| 141 | + Prior to OTP 25 the <c>{reuseaddr, true}</c> option was |
| 142 | + ignored for all sockets on Windows, but as of OTP 25.0 |
| 143 | + this was changed so that it was not ignored for any |
| 144 | + sockets.</p> |
| 145 | + <p> |
| 146 | + *** POTENTIAL INCOMPATIBILITY ***</p> |
| 147 | + <p> |
| 148 | + Own Id: OTP-18324 Aux Id: GH-6461, PR-6481 </p> |
| 149 | + </item> |
| 150 | + <item> |
| 151 | + <p> |
| 152 | + Fix bug in <c>binary_to_term</c> decoding a list of |
| 153 | + length 1G or longer.</p> |
| 154 | + <p> |
| 155 | + Own Id: OTP-18328 Aux Id: GH-6439, PR-6440 </p> |
| 156 | + </item> |
| 157 | + <item> |
| 158 | + <p>Fix bug in <c>binary_to_term</c> (and distributed |
| 159 | + receive) when decoding a large map (>32 keys) with |
| 160 | + unsorted small maps (<= 32) as keys of the large |
| 161 | + map.</p> |
| 162 | + <p>This was only a problem if the term was encoded by |
| 163 | + <c>erl_interface</c>, <c>jinterface</c> or otherwise, as |
| 164 | + the VM itself always encodes small maps with sorted |
| 165 | + keys.</p> |
| 166 | + <p>The "binary_to_term" would appear as successful but |
| 167 | + the created large map was internally inconsistent. The |
| 168 | + smaller key-maps could not be found with maps:get and |
| 169 | + friends. Other operations such as map compare and merge |
| 170 | + could probably also give incorrect results.</p> |
| 171 | + <p> |
| 172 | + Own Id: OTP-18343 Aux Id: GH-6496 </p> |
| 173 | + </item> |
| 174 | + <item> |
| 175 | + <p> |
| 176 | + Fix Windows bug in <c>open_port({spawn, Command}, ..)</c> |
| 177 | + when <c>Command</c> is found via the OS search PATH and |
| 178 | + that directory path contains white spaces. The port |
| 179 | + program would start but the command line arguments to it |
| 180 | + could be incorrect.</p> |
| 181 | + <p> |
| 182 | + Own Id: OTP-18345 Aux Id: GH-6387, PR-6396 </p> |
| 183 | + </item> |
| 184 | + </list> |
| 185 | + </section> |
| 186 | + |
| 187 | +</section> |
| 188 | + |
34 | 189 | <section><title>Erts 13.1.2</title> |
35 | 190 |
|
36 | 191 | <section><title>Fixed Bugs and Malfunctions</title> |
|
0 commit comments