Segfault when using ActiveRecord
Whenever I do some of the MySQL migrations in my project I get a segfault. One example of a command that triggers this error is:
RAILS_ENV=test bundle exec rake db:migrate
I tried to get a smaller reproducable case, but running MySQL directly seems to work correctly. I'm not sure what is going on.
It does not seem like a fluke, becaue I get the segfault even after reinstalling MySQL using brew and reinstalling ruby and all gems.
Updated by jeremyevans0 (Jeremy Evans) 6 days ago
- Status changed from Open to Third Party's Issue
This appears to be an issue in the mysql2 gem. It is similar to https://github.com/brianmario/mysql2/issues/1036#issuecomment-487389420. If it is still happening to you, you may want to update that mysql2 issue with details.