vrod

vrod

When I do :observer.start() from inside an iex session, erlang crashes with segmentation fault. I tried brew install wxmac to deal with the errors described here Elixir with ASDF: troubleshooting :observer.start - #2 by l00ker
But that’s when the crashes started. The log is very long has many lines:

./src/common/object.cpp(251): assert "classTable->Get(m_className) == NULL" failed in Register(): Class "wxXmlResourceHandler" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?

I have these versions:

asdf install erlang 23.1.2
asdf install elixir 1.11.2-otp-23

running on OS X 11.2.1 Big Sur.

Does anyone have ideas what I should try? Thank you!

Showing Posts 9 to 1

vrod

vrod OP

I followed this: segmentation fault when starting observer (macOS Big Sur) · Issue #183 · asdf-vm/asdf-erlang · GitHub

it worked for me running

asdf install erlang 23.1.2
asdf install elixir 1.11.2-otp-23

on BigSur

Thank you!

Nicd

Nicd

There is a similar thread here with a marked solution, maybe it can help: `:observer.start` crashes Erlang VM - #19

kokolegorille

kokolegorille

I would probably uninstall the oldest, it should be something like brew unistall, but I am not on Mac anymore.

vrod

vrod OP

yes, I did brew install wxmac before re-installing and re-compiling erlang.

It seems that most of the errors are about there being wxmac files in 2 locations. But maybe this is normal for how brew installs this?

iex(1)> :observer.start
objc[58568]: Class wxNSAppController is implemented in both /usr/local/Cellar/wxmac/3.0.5.1_1/lib/libwx_osx_cocoau_core-3.0.0.5.0.dylib (0x5d2e5c50) and /usr/local/Cellar/wxmac/3.0.5.1_1/lib/libwx_osx_cocoau_core-3.0.dylib (0x5b324c50). One of the two will be used. Which one is undefined.
kokolegorille

kokolegorille

As mentionned in the previous post, You need wxmac. Did You install it?

vrod

vrod OP

I have tried uninstalling Elixir, Erlang, and ASDF itself, but the observer doesn’t work yet. I don’t know which compile options to test

drl123

drl123

wxmac has to be installed when/before Erlang is compiled. Observer runs in Erlang, not Elixir, so reinstalling Elixir alone will not help you. Remove your Erlang installation and reinstall, now that you have wxmac installed and it should work for you.

(PS…check the ASDF Erlang plugin readme for any other dependencies you may need before compiling Erlang again. It’s pretty well detailed).

vrod

vrod OP

I tried uninstalling/installing erlang via asdf… I didn’t do that with Elixir or with asdf itself yet

WestKeys

WestKeys

had similar issue not too long ago

did u try just reinstalling elixir via asdf and if that doesnt work reinstalling asdf itself?

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
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
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apz
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
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
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
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
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews