Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

erl locks on startup if ferd/erlang-history is enabled with Erlang 19.2 #5

Open
erszcz opened this issue Apr 25, 2017 · 0 comments
Open
Labels

Comments

@erszcz
Copy link
Owner

erszcz commented Apr 25, 2017

The culprit is in ~/.erlang:

proplists:is_defined(noshell, init:get_arguments()) == false andalso begin
    DocshBase = "/home/erszcz/work/erszcz/docsh",
    code:add_path(DocshBase ++ "/_build/default/lib/docsh/ebin"),
    io:format("Enabled docsh from: ~s\n", [DocshBase])  %% <- this line
end.
code:load_abs(os:getenv("HOME") ++ "/.erlang.d/user_default").

Do Fred's changes in group.erl cause init to lock when accessing the IO server for printing?

@erszcz erszcz added the bug label Apr 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant