[erlang-bugs] erlang module not in sticky dir?

Siri Hansen erlangsiri@REDACTED
Thu May 8 10:58:34 CEST 2014


Thanks for reporting! I have written a ticket for this.
Regards
/siri


2014-04-26 21:00 GMT+02:00 Loïc Hoguin <essen@REDACTED>:

> A user got confused by pretty much this:
>
> % erl
> Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10]
> [hipe] [kernel-poll:false]
>
> Eshell V6.0  (abort with ^G)
> 1> l(erlang).
> {module,erlang}
> 2> l(gen_server).
> {error,sticky_directory}
> 3>
> =ERROR REPORT==== 26-Apr-2014::20:56:37 ===
> Can't load module that resides in sticky dir
>
> 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:
>
> apply(Mod, Name, Args) ->
>     erlang:apply(Mod, Name, Args).
>
> The file had been recompiled and reloaded automatically using the sync
> application: https://github.com/rustyio/sync
>
> Details are not important. I suggest however making the preloaded Erlang
> modules be sticky by default to prevent awkward behavior such as this.
>
> --
> Loïc Hoguin
> http://ninenines.eu
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140508/036cc08a/attachment.htm>


More information about the erlang-bugs mailing list