Erlang 26.2.3 crashes on apple M1
fbbergamo opened this issue · comments
Felipe Bergamo commented
After we merged this PR https://github.com/erlang/docker-erlang-otp/pull/464/files#diff-10ac1b77f722cf4dba43389a3a74c461ec92c2f5b3e4a72365324b0281d5152eL3
I noticed the build was breaking in the M1
4.611 eheap_alloc: Cannot allocate 976733209832459912 bytes of memory (of type "heap_frag").
4.614
4.614 Crash dump is being written to: erl_crash.dump...beam/erl_term.h:1492:tag_val_def() Assertion failed: tag_val_def error
4.743 Aborted
Looks like the issue is related with this:
Christian Lønaas commented
I'm seeing the same issue in the Elixir docker image, which I believe, is built with the erlang image as a base.
Works fine on x86-64, but in a build pipeline running on arm64 I have the same crash.
Christian Aparicio Baquen commented
With the release of OTP 26.2.4 now the image shouldn't have this issue