Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erlang 26.2.3 crashes on apple M1 #465

Open
fbbergamo opened this issue Mar 20, 2024 · 2 comments
Open

Erlang 26.2.3 crashes on apple M1 #465

fbbergamo opened this issue Mar 20, 2024 · 2 comments

Comments

@fbbergamo
Copy link

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:

https://elixirforum.com/t/crash-dump-when-installing-phoenix-on-mac-m2-eheap-alloc-cannot-allocate-x-bytes-of-memory-of-type-heap-frag/62154

erlang/otp#8238

@sokkalf
Copy link

sokkalf commented Mar 20, 2024

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.

@chrisapa
Copy link

With the release of OTP 26.2.4 now the image shouldn't have this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants