jos
Hmm, im not sure what’s going on here. I think it started when I updated to Elixir 1.6 && Erlang/OTP 20.
The list of errors is endless, it spits errors on controllers, views etc. Until a few weeks ago everything was fine.
Btw, the umbrella application is running ok, just many errors on application boot.
13:46:58.538 [error] beam/beam_load.c(1412): Error loading module 'Elixir.App.Web.SubscriptionController 5':
module name in object code is Elixir.App.Web.SubscriptionController
13:46:58.538 [error] Loading of /Users/jos/Documents/Projects/app_umbrella/_build/dev/lib/app_web/ebin/Elixir.App.Web.SubscriptionController 5.beam failed: :badfile
13:46:58.538 [error] beam/beam_load.c(1412): Error loading module 'Elixir.App.Web.SubscriptionController 6':
module name in object code is Elixir.App.Web.SubscriptionController
13:46:58.538 [error] Loading of /Users/jos/Documents/Projects/app_umbrella/_build/dev/lib/app_web/ebin/Elixir.App.Web.SubscriptionController 6.beam failed: :badfile
13:46:58.539 [error] beam/beam_load.c(1412): Error loading module 'Elixir.App.Web.SubscriptionController 7':
module name in object code is Elixir.App.Web.SubscriptionController
13:46:58.564 [warn] Logger has 500 messages in its queue, which is above :discard_threshold. Messages will be discarded until the message queue goes back to 75% of the threshold size
![]()
Trending in Questions
Hi all,
I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
I’m very new to Elixir, so sorry if this is a silly question:
I am wondering what happens to the mailbox of a process when the machine i...
New
How do I tell Hologram not to escape HTML when substituting into templates?
{Textile.render(@product.long_description)}
escapes the HTM...
New
Background
When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error:
* assembling mark...
New
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
I load tested a plain Phoenix chat app backed by Postgres with 100 million messages in it, everything on default settings, to see what br...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #elixirconf-eu
- #processes
- #security
- #api
- #forms
- #hex










Showing Posts 11 to 20- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
NobbZ
Also, please include in the asciinema an
find _build -name '*.beam'right after the problem occured.Also please check if the problem persists when you clone your problem completely from scratch in a different location of your FS. Ideally you do it once on the APFS formatted drive, and once on an external device formatted with a more legacy FS, efs4, NTFS, HFS+, or something else known to work, and report if the problem is reproducable on the corresponding location(s).
Also if you have the chance to give another APFS formatted Mac a try, please do it and include the result in your report.
gabrielpra
Have you figured out what was the problem? I’m facing the same issue
OvermindDL1
Hmm, the OP never followed up with answers to what was asked, if you could then we could try to help figure out what is up.
OvermindDL1
Hmm, a thought, how do you use it all? Like what specific command do you run from the commandline, what IDE are you using and what elixir-related plugins does it have, what filesystem, what OS, etc…?
jos
I’m sorry, I was testing and the thread got of my radar.
It is indeed a tricky one to reproduce, sometimes the error stays away for hours, sometimes it goes away for months. mix clean seems to help (for a while ..)
For me it started when I got a new laptop, this was also the time I upgraded to macOS Mojave and APFS.
I’m using Atom with the following packages, language-elixir, atom-elixir, atom-elixir-formatter.
The application is not dockerized of virtualized.
I havent seen this error for a while, and didn’t change much at application level.
Will keep an eye on it ..
OvermindDL1
I’m curious if it ever happens while the IDE is not running. Specifically I wonder if the IDE is recompiling it at the same time as you manually recompile it because the IDE notices build files changing. Be sure your IDE and your console are always run in different mix environments, like I have my IDE set to run in the test environment.
jos
I just use Atom as a texteditor, I’m not sure if there an Elixir process running. Maybe formatting and auto completion.
For me it happens when the compile triggers when a file is changed by Atom.
jchrist
Wow, I thought my Mac had a bug because it’s old or something, but I’ve been experiencing the same issue since upgrading to APFS (encrypted). Not able to reproduce it consistently, but it does not only seem to occur with .beam files - I also have around 100 copies of my KeePassXC database flying around here by now…
My only “fix” for this so far was always cleaning the build and recompiling as suggested above. The main issue I have with this is that I haven’t found anything related around the web :(.
jos
maybe APFS (encrypted) is the smoking gun, that’s the moment when it started for me.
on my old laptop, no problemo, when I transferred to my new laptop (with APSS enc. and Mojave) the firework started.
OvermindDL1
There is, it uses it for autocomplete and real-time error checking and so forth.
Interesting, does this hold true for everyone else? What’s unique about how APFS works in regards to program interaction compared to, say, EXT4 or so?