lars
Need help w/ a segmentation fault/bus error
Hi there, I’m new to this all, so please bear with me.
I rebuilt a part in our system using Flow with a couple .window_join, meaning 3 flows in total joined together. When I execute my test suite the functionality passes in about 2/3 of running mix test and in about 1/3 it crashes with segmentation fault (exit code 139). Very rarely I also get a crash w/ bus error (exit code 138) and it only once crashed writing an erl_crash.dump.
I tried to strip it down to some minimal code I could share indicating the crash, but since there are a bunch of moving parts involved, I wasn’t lucky so far.
It seems the erl_crash.dump does not contain sensitive data, please correct me, if I’m wrong here. So I could share the file, if this is helpful.
$ elixir -v
Erlang/OTP 22 [erts-10.4.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.9.1 (compiled with Erlang/OTP 22)
What should I do? Thanks!
Most Liked
rvirding
The question is of course what the “bad header tag” means as a reason for the erlang to crash? ![]()
I asked in the erlang slack and got the reply that it comes from a corrupted map. I am guessing, GUESSING mind you, that it may come from a NIF which constructs a badly formed map.
lars
lars
Very interesting! Thanks for looking into this @yurko!
Will likely continue the conversation here now: segmentation fault · Issue #89 · dashbitco/flow · GitHub
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









