xlive

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 :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!

Most Liked

garazdawi

garazdawi

Erlang Core Team

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

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

jaimeiniesta

I also got hit by this bus :drum:

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!

Where Next?

Popular in Questions Top

New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
JulienCorb
I am trying to implement my new.html.eex file to create new posts on my website. new.html.eex: <h1>Create Post</h1> <%= ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New

Other popular topics Top

axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48475 226
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29703 241
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31307 143
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New

We're in Beta

About us Mission Statement