xlive

xlive

Hey there!

I’m testing MacOS Sonoma 14.0 Beta (currently in a M1 MBPro) as I wanted to get hands on it for some future projects..
After the upgrade, I’ve discovered I cannot use iex, mix or any erlang related command anymore :scream:
I’ve tried with my current installation (asdf) and also installing elixir with brew. Any of them works unfortunately..

The error I get is the following:

mix compile
[1]    69035 bus error  mix compile

But I can still run python, ruby and the rest of my usual tools.

Has anyone run into the same problem?
Or do you know a way how could I debug better the error maybe?

Thanks a lot community!

Showing Posts 1 to 10

dimitarvp

dimitarvp

Shenanigans of ARM vs. Intel processor instructions, maybe? :thinking: You got Rosetta installed? If so, have you made sure you’re running the ARM version of Erlang/Elixir?

xlive

xlive OP

thanks for answering!!
I don’t have Rosetta nope :confused: (or at least I wasn’t aware of it)
I was lucky enough that when I got the laptop this was already solved :+1:

Edit: running pgrep oahd returns me an int, so looks like I have it.. the problem is that I haven’t changed anything about the versions installed (aside from MacOS) recently, so that’s why I was wondering if the update was the problem..

Raf1

Raf1

I am experiencing exactly the same problem…
Any updates on a potential fix?

Thanks!

xlive

xlive OP

Not yet.. Looks like not many people is upgrading so we don’t have much visibility..
I hope someone gives us some light on this soon :crossed_fingers:

jhogberg

jhogberg

Erlang Core Team

We don’t test under Rosetta (we only test native Intel JIT or native ARM JIT), so it’s possible that we missed something.

If someone could build from source and run bin/cerl -lldb and give us a view of the crash, that would be of great help.

xlive

xlive OP

Hey @jhogberg ! Thanks for trying to help us :+1:
I’ve just installed Erlang from source and it works correctly and without any errors (even in the smoke test).
Looks like this error could be coming then from ASDF and brew binaries maybe?
I will try now installing Elixir from source too!

Edit: Same for Elixir! Installing from source makes it work as expected.
@Raf1 you could do the same as a workaround for now :+1:

xlive

xlive OP

Let me know if I can do something to give you insights about non-source installations :pray:

Pasting here the smoke test results

Nicd

Nicd

asdf also builds Erlang from sources.

jhogberg

jhogberg

Erlang Core Team

If you could attach lldb to the binaries that crash that’d also be helpful.

Yes, so it’s rather strange that one works and the other does not. Perhaps asdf runs under Rosetta for some reason?

xlive

xlive OP

How could I do that?
When I run bin/cerl -lldb as you said before, I don’t get any error, just the following:

$ bin/cerl -lldb

(lldb) target create "beam.smp"
Current executable set to 'beam.smp' (arm64).
(lldb) settings set -- target.run-args  "--" "-root" "/Users/xavierrodriguez/Downloads/otp_src_26.0" "-bindir" "/Users/xavierrodriguez/Downloads/otp_src_26.0/bin/aarch64-apple-darwin23.0.0" "-progname" "/Users/xavierrodriguez/Downloads/otp_src_26.0/bin/cerl" "--" "-home" "/Users/xavierrodriguez" "--"
(lldb) command source -s 0 '/tmp/.cerllldb.44427'
Executing commands in '/tmp/.cerllldb.44427'.
(lldb) env TERM=dumb
(lldb) command script import /Users/xavierrodriguez/Downloads/otp_src_26.0/erts/etc/unix/etp.py

Where Next? Top

Trending in Questions Top

katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
achenet
Hello, I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind. However, when I launch mix phx.server, I get an error...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
Cxx-mlr
I’m working on a small exercise involving update_in/3, and I came up with this solution: data = %{ name: "Periodic Table", category:...
New
ChrisAmelia
I’ve got trouble wrapping my head around the order in which functions are called in this snippet (from Phoenix’s authentication): toke...
New
dillonoconnor
Is there any way to avoid the Hologram compiler running when using iex? It seems like the front-end code could potentially be disregarded...
New
thiagogsr
** (ArgumentError) expected :max_attempts to be a positive integer, got: {:@, [line: 10, column: 19], [{:max_attempts, [line: 10, column:...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews