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!

chriseyre

chriseyre

Thanks.

This worked for me:

KERL_CONFIGURE_OPTIONS="--disable-jit" asdf install erlang 25.2.2

xlive

xlive

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:

Where Next?

Popular in Questions Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
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
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
mathew4509
I have a list say x = ["23gh", "56kh", "97mh"] I would like to pass each element to Val in each iteration. Say, in iteration 1 -------...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
hpopp
To simplify some tasks at work, I wrote and published this package yesterday. It’s a simple macro that enables Access behaviour on struct...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

Other popular topics Top

chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
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
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

We're in Beta

About us Mission Statement