<div dir="auto">Hi Max</div><div dir="auto"><br></div><div dir="auto">Could you elaborate more on how do you use process_info/2 to protect against overload? An example would be great. </div><div dir="auto"><br></div><div dir="auto">/F.</div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>Thanks a lot for fixing this bug with process_info.<br>
<br>
It is a very important part of flussonic internals that protect from<br>
overload in runtime.<br>
<br>
<br>
On Fri, Sep 3, 2021 at 10:46 AM Erlang/OTP <<a href="mailto:otp@erlang.org" target="_blank">otp@erlang.org</a>> wrote:<br>
><br>
> Patch Package: OTP 24.0.6<br>
> Git Tag: OTP-24.0.6<br>
> Date: 2021-09-03<br>
> Trouble Report Id: OTP-17548, OTP-17560, OTP-17568, OTP-17585,<br>
> OTP-17594<br>
> Seq num: GH-5116, GH-5150<br>
> System: OTP<br>
> Release: 24<br>
> Application: erts-12.0.4<br>
> Predecessor: OTP 24.0.5<br>
><br>
> Check out the git tag OTP-24.0.6, and build a full OTP system<br>
> including documentation. Apply one or more applications from this<br>
> build as patches to your installation using the 'otp_patch_apply'<br>
> tool. For information on install requirements, see descriptions for<br>
> each application version below.<br>
><br>
> ---------------------------------------------------------------------<br>
> --- erts-12.0.4 -----------------------------------------------------<br>
> ---------------------------------------------------------------------<br>
><br>
> The erts-12.0.4 application can be applied independently of other<br>
> applications on a full OTP 24 installation.<br>
><br>
> --- Fixed Bugs and Malfunctions ---<br>
><br>
> OTP-17548 Application(s): erts<br>
> Related Id(s): OTP-10391, PR-5078<br>
><br>
> A call to the process_info() BIF could end up hanging<br>
> for ever due to a bug introduced when the new selective<br>
> receive optimization was introduced in OTP 24.0. Note<br>
> that this bug only effects process_info().<br>
><br>
><br>
> OTP-17560 Application(s): erts<br>
> Related Id(s): GH-5116<br>
><br>
> Fix buffer overrun problem in the tty driver. The<br>
> problem happens on some platforms when using the CTRL+R<br>
> functionality of newshell with very long strings in the<br>
> history.<br>
><br>
><br>
> OTP-17568 Application(s): erts<br>
> Related Id(s): PR-4940<br>
><br>
> Fix race-condition that could cause a crash when<br>
> tracing scheduling or garbage collections on a process<br>
> that was running on a dirty scheduler.<br>
><br>
><br>
> OTP-17585 Application(s): erts<br>
> Related Id(s): GH-5150<br>
><br>
> Fix rare bug where re:run would crash/return invalid<br>
> results when given a subbinary as subject.<br>
><br>
> This bug has existed since Erlang/OTP 20.0.<br>
><br>
><br>
> OTP-17594 Application(s): erts<br>
><br>
> binary_to_term/1,2 is now more resilient against<br>
> corrupted binaries containing maps in the external<br>
> format.<br>
><br>
><br>
> Full runtime dependencies of erts-12.0.4: kernel-8.0, sasl-3.3,<br>
> stdlib-3.13<br>
><br>
><br>
> ---------------------------------------------------------------------<br>
> ---------------------------------------------------------------------<br>
> ---------------------------------------------------------------------<br>
><br>
</blockquote></div></div>