vrod
:observer.start() crashes in ASDF Elixir
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!
Most Liked
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
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!







