<div dir="ltr">Somewhat related (posted earlier at <a href="http://erlang.org/pipermail/erlang-bugs/2014-April/004300.html" target="_blank">http://erlang.org/pipermail/erlang-bugs/2014-April/004300.html</a> )<div><br></div>
<div>$ erl</div>
<div><div>Erlang/OTP 17 [erts-6.0] [source-07b8f44] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]</div><div><br></div><div>Eshell V6.0 (abort with ^G)</div><div>1> erlang:is_builtin(erlang,apply,3).</div>
<div>false</div></div><div><br></div><div>Regards,</div><div><br></div><div>Stavros</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 10:58 AM, Siri Hansen <span dir="ltr"><<a href="mailto:erlangsiri@gmail.com" target="_blank">erlangsiri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for reporting! I have written a ticket for this.<div>Regards</div><div>/siri</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-04-26 21:00 GMT+02:00 Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A user got confused by pretty much this:<br>
<br>
% erl<br>
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]<br>
<br>
Eshell V6.0 (abort with ^G)<br>
1> l(erlang).<br>
{module,erlang}<br>
2> l(gen_server).<br>
{error,sticky_directory}<br>
3><br>
=ERROR REPORT==== 26-Apr-2014::20:56:37 ===<br>
Can't load module that resides in sticky dir<br>
<br>
For some reasons his erlang:apply/3 ended up not being a BIF anymore and instead called erlang:apply/3 in a loop because the file contains:<br>
<br>
apply(Mod, Name, Args) -><br>
erlang:apply(Mod, Name, Args).<br>
<br>
The file had been recompiled and reloaded automatically using the sync application: <a href="https://github.com/rustyio/sync" target="_blank">https://github.com/rustyio/<u></u>sync</a><br>
<br>
Details are not important. I suggest however making the preloaded Erlang modules be sticky by default to prevent awkward behavior such as this.<span><font color="#888888"><span><font color="#888888"><br>
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
______________________________<u></u>_________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-bugs</a><br>
</font></span></font></span></blockquote></div><br></div>
<br>_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br></blockquote></div><br></div></div>