xlive
Bus error after upgrading to Sonoma beta
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 ![]()
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!
Most Liked
garazdawi
Erlang/OTP 25.3.2.7 has been released which disables the JIT automatically on MacOS. So if you update to that version there is no need to have --disable-jit in KERL_CONFIGURE_OPTIONS.
emiltin
Installing Erlang 25 with rtx also works if you disable JIT:
% cat .tool-versions
elixir 1.15.5-otp-25
erlang 25.3.2.6
% KERL_CONFIGURE_OPTIONS="--disable-jit" rtx install
jaimeiniesta
I also got hit by this bus ![]()
Thanks all for your tips, in my case, I fixed it with:
brew upgrade
export KERL_CONFIGURE_OPTIONS="--disable-jit"
asdf install erlang 25.3.2.6
As in OTP25 bus error on Mac OS Sonoma · Issue #7687 · erlang/otp · GitHub
Everything is running fine now!
chriseyre
Thanks.
This worked for me:
KERL_CONFIGURE_OPTIONS="--disable-jit" asdf install erlang 25.2.2
xlive
Hey @jhogberg ! Thanks for trying to help us ![]()
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 ![]()







