Issue #15120 has been updated by jeremyevans0 (Jeremy Evans).

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.

----------------------------------------
Bug #15120: Segfault when using ActiveRecord
https://bugs.ruby-lang.org/issues/15120#change-78711

* Author: bobvanderlinden (Bob van der Linden)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin17]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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.

---Files--------------------------------
ruby_2018-09-14-143231_nvc3428.crash (49.5 KB)
stdout.txt (496 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>