-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when using elasticsearch within spring on MacOS 14.1.1 #2244
Comments
Thanks for reporting this @dvandersluis. |
I think this might actually be a different issue: curl/curl#11252 Are you using Typhoeus? You could disable that for now and use a different HTTP adapter. Full investigation in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/122412#note_1416939251. |
It's possible updating curl may be sufficient as discussed in tarantool/tarantool#8828. |
I should note that I had to insert a |
Describe the bug/error/problem
If an elasticsearch command is run within spring, the process segfaults with the following error:
To Reproduce
Steps to reproduce the behavior:
spring
andelasticsearch
in the Gemfilebundle install
rails console
Expected behavior
Using elasticsearch within the Rails console should not segfault.
Your Environment (please complete the following information):
Additional context
This is likely related to a lot of other issues such as:
An older article may be relevant too: https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/
Adding
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
in.bash_profile
is often given as a workaround but it's unclear that this is a safe workaround and not just a bandaid.The text was updated successfully, but these errors were encountered: