we are currently trying to migrate to Elixir 1.11.
We had a few warnings that needed to be fixed in our otp app. But now the compile step won’t finish and I have know idea where to start debugging.
--verbose flag I can confirm that all modules finish compilitation ( same output with 1.10 ).
But what is missing is the
Generated hello app output and the compiler does not continue with the web app.
We are using the elixir-1.11.2-slim docker image, but trying to compile without the docker environment shows the same behaviour.
I aborted the compiler to produce a crash dump. As this I am not good in reading this logs some things I think are unusual but might be totally normal:
- All processes are in state waiting except for :erlang.apply/2
- :erlang.apply/2 has a huge amount of reductions ~500_000_000
- message queue is empty except for :erlang.apply/2 (one message)
I waited ~30m and nothing happens, but 1 cpu core is always at 100% usage.
Thanks for your help. A good start might be pointing me into a direction where to look for strange behaviours.