<div dir="ltr">On Wed, Apr 10, 2013 at 12:19 AM, Anthony Ramine <span dir="ltr"><<a href="mailto:n.oxyde@gmail.com" target="_blank">n.oxyde@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
This patch teaches beam_receive how to use a set of registers instead of a single one when tracking fresh references, thus avoiding the crash.<br>
<br>
git fetch <a href="https://github.com/nox/otp.git" target="_blank">https://github.com/nox/otp.git</a> fix-multiple-ref-regs<br>
<br>
<a href="https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs" target="_blank">https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs</a><br>
<a href="https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs.patch" target="_blank">https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs.patch</a><br>
<br></blockquote><div><br></div><div style>Could you write a test case?</div><div style><br></div><div style>A copy of the receive_SUITE will be compiled with the inline option.</div><div style>If the inlining is not aggressive enough to provoke the bug, you can</div>
<div style>add the test case to inline_SUITE.</div><div style><br></div></div>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB
</div></div>