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

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
Kurisu
For example for a current url like http://localhost:4000/cosmetic/products?_utf8=✓&query=perfume&page=2, I would like to get: ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
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
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Other popular topics Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
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
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
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 48342 226
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement